Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Examples.RegNonZeroPower.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009369/0.0009369, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008578/0.0008578, allocations: 165.9 kB / 22.45 MB, free: 2.113 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9415/0.9415, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7301/0.7301, allocations: 154.5 MB / 413.7 MB, free: 0.8398 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.RegNonZeroPower,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.RegNonZeroPower,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.954e-06/1.954e-06, allocations: 0 / 0.618 GB, free: 13.77 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.368e-05/2.564e-05, allocations: 9.672 kB / 0.6181 GB, free: 13.76 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.RegNonZeroPower): time 0.002175/0.0022, allocations: 1.465 MB / 0.6195 GB, free: 12.28 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0006409/0.002841, allocations: 358.8 kB / 0.6198 GB, free: 11.93 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.731e-05/0.002889, allocations: 0 / 0.6198 GB, free: 11.93 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 3.148e-05/0.00292, allocations: 0 / 0.6198 GB, free: 11.93 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 6.314e-05/0.002983, allocations: 11.88 kB / 0.6198 GB, free: 11.92 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.000519/0.003502, allocations: 107.6 kB / 0.6199 GB, free: 11.81 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 6.637e-05/0.003569, allocations: 23.92 kB / 0.62 GB, free: 11.79 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 8.581e-05/0.003654, allocations: 8 kB / 0.62 GB, free: 11.78 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 4.987e-05/0.003704, allocations: 19.91 kB / 0.62 GB, free: 11.76 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 3.064e-05/0.003735, allocations: 4 kB / 0.62 GB, free: 11.76 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.522e-05/0.00375, allocations: 4 kB / 0.62 GB, free: 11.75 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002607/0.004011, allocations: 263.6 kB / 0.6203 GB, free: 11.5 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.408e-05/0.004025, allocations: 4 kB / 0.6203 GB, free: 11.49 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.803e-05/0.004043, allocations: 8 kB / 0.6203 GB, free: 11.48 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001886/0.004231, allocations: 135.6 kB / 0.6204 GB, free: 11.35 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.355e-06/0.004234, allocations: 0 / 0.6204 GB, free: 11.35 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.142e-06/0.004235, allocations: 0 / 0.6204 GB, free: 11.35 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.428e-06/0.004239, allocations: 0 / 0.6204 GB, free: 11.35 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003587/0.004598, allocations: 290 kB / 0.6207 GB, free: 11.04 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.004638, allocations: 9.469 kB / 0.6207 GB, free: 11.03 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.956e-05/0.004668, allocations: 38.75 kB / 0.6207 GB, free: 10.98 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.239e-05/0.00471, allocations: 0.9375 kB / 0.6207 GB, free: 10.98 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.042e-05/0.00479, allocations: 117.7 kB / 0.6208 GB, free: 10.84 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.737e-06/0.004799, allocations: 384 / 0.6208 GB, free: 10.84 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.943e-06/0.004806, allocations: 384 / 0.6208 GB, free: 10.84 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001303/0.004936, allocations: 50.23 kB / 0.6209 GB, free: 10.79 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.374e-06/0.004944, allocations: 192 / 0.6209 GB, free: 10.79 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.724e-06/0.004952, allocations: 384 / 0.6209 GB, free: 10.79 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.613e-06/0.004958, allocations: 8.125 kB / 0.6209 GB, free: 10.78 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.658e-05/0.005045, allocations: 31.95 kB / 0.6209 GB, free: 10.75 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002769/0.005322, allocations: 224.1 kB / 0.6211 GB, free: 10.48 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 7.459e-05/0.005396, allocations: 34.5 kB / 0.6212 GB, free: 10.44 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.6e-05/0.005442, allocations: 24.91 kB / 0.6212 GB, free: 10.41 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003104/0.005753, allocations: 87.84 kB / 0.6213 GB, free: 10.33 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.104e-05/0.005774, allocations: 34.5 kB / 0.6213 GB, free: 10.29 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=2): time 7.72e-07/0.005774, allocations: 4 kB / 0.6213 GB, free: 10.28 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2): time 0.0002399/0.006014, allocations: 85.58 kB / 0.6214 GB, free: 10.19 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.563e-05/0.00604, allocations: 55.34 kB / 0.6214 GB, free: 10.12 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.574e-05/0.006096, allocations: 105.8 kB / 0.6215 GB, free: 10.01 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 9.217e-06/0.006105, allocations: 29.83 kB / 0.6216 GB, free: 9.977 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.702e-05/0.006142, allocations: 88.08 kB / 0.6217 GB, free: 9.887 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.65e-05/0.006158, allocations: 11.94 kB / 0.6217 GB, free: 9.875 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.277e-05/0.006181, allocations: 9.719 kB / 0.6217 GB, free: 9.859 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.534e-05/0.006267, allocations: 318.8 kB / 0.622 GB, free: 9.539 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.016e-05/0.006307, allocations: 15.97 kB / 0.622 GB, free: 9.523 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.506e-05/0.006342, allocations: 15.98 kB / 0.622 GB, free: 9.508 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.534e-05/0.006417, allocations: 40.89 kB / 0.622 GB, free: 9.465 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.006419, allocations: 0 / 0.622 GB, free: 9.465 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001123/0.006532, allocations: 77.48 kB / 0.6221 GB, free: 9.383 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.308e-05/0.006545, allocations: 8 kB / 0.6221 GB, free: 9.375 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.00655, allocations: 0 / 0.6221 GB, free: 9.375 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.148e-05/0.006561, allocations: 0 / 0.6221 GB, free: 9.375 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.975e-05/0.006611, allocations: 7.984 kB / 0.6221 GB, free: 9.367 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.006616, allocations: 4.031 kB / 0.6221 GB, free: 9.363 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.923e-05/0.006635, allocations: 4 kB / 0.6221 GB, free: 9.359 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.692e-06/0.006642, allocations: 8.234 kB / 0.6222 GB, free: 9.352 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.192e-05/0.006694, allocations: 110.8 kB / 0.6223 GB, free: 9.234 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.875e-05/0.006712, allocations: 7.938 kB / 0.6223 GB, free: 9.227 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001354/0.006848, allocations: 73.28 kB / 0.6223 GB, free: 9.145 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.00685, allocations: 4 kB / 0.6223 GB, free: 9.141 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.006855, allocations: 0 / 0.6223 GB, free: 9.141 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.006858, allocations: 4.031 kB / 0.6223 GB, free: 9.137 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001048/0.006963, allocations: 124.8 kB / 0.6225 GB, free: 8.973 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.006965, allocations: 3.984 kB / 0.6225 GB, free: 8.969 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.491e-05/0.00699, allocations: 15.92 kB / 0.6225 GB, free: 8.953 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.006992, allocations: 3.938 kB / 0.6225 GB, free: 8.949 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.402e-06/0.006998, allocations: 0 / 0.6225 GB, free: 8.949 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-06/0.007, allocations: 3.938 kB / 0.6225 GB, free: 8.945 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.007001, allocations: 0 / 0.6225 GB, free: 8.945 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001341/0.007135, allocations: 167.5 kB / 0.6226 GB, free: 8.766 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 7.193e-06/0.007142, allocations: 7.938 kB / 0.6227 GB, free: 8.758 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.398e-06/0.007151, allocations: 0 / 0.6227 GB, free: 8.758 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.407e-05/0.007185, allocations: 7.984 kB / 0.6227 GB, free: 8.75 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.616e-05/0.007222, allocations: 4 kB / 0.6227 GB, free: 8.746 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.414e-06/0.007224, allocations: 0 / 0.6227 GB, free: 8.746 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.32e-05/0.007257, allocations: 87.27 kB / 0.6228 GB, free: 8.66 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.007257, allocations: 0 / 0.6228 GB, free: 8.66 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001622/0.007419, allocations: 15.94 kB / 0.6228 GB, free: 8.645 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000386/0.007805, allocations: 0.7123 MB / 0.6235 GB, free: 7.902 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001174/0.007923, allocations: 35.95 kB / 0.6235 GB, free: 7.867 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.007924, allocations: 0 / 0.6235 GB, free: 7.867 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 4.159e-05/0.007966, allocations: 23.92 kB / 0.6235 GB, free: 7.844 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001987/0.008165, allocations: 4 kB / 0.6235 GB, free: 7.84 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003078/0.008472, allocations: 146.7 kB / 0.6237 GB, free: 7.656 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.132e-05/0.008514, allocations: 63.34 kB / 0.6237 GB, free: 7.574 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 1.582e-05/0.008529, allocations: 0 / 0.6237 GB, free: 7.574 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.785e-05/0.008557, allocations: 12.5 kB / 0.6237 GB, free: 7.562 MB / 0.5886 GB Notification: Performance of SimCode: time 7.22e-07/0.008558, allocations: 0 / 0.6237 GB, free: 7.562 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01494/0.0235, allocations: 2.277 MB / 0.626 GB, free: 5.43 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.846/6.87, allocations: 10.14 kB / 0.626 GB, free: 5.43 MB / 0.5886 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.RegNonZeroPower.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.RegNonZeroPower.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.RegNonZeroPower.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.RegNonZeroPower.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Utilities.Math.Examples.RegNonZeroPower_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_dev_IDEAS_Utilities_Math_Examples_RegNonZeroPower.fmu > IDEAS_dev_IDEAS.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.810579403303564] Failed to read output from testmodel.py, exit status != 0: 6.950490861199796 6.958945 6.952551 Calling exit ...