Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Examples.PowerLinearized.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.001328/0.001328, allocations: 109.9 kB / 18.93 MB, free: 1.27 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.0009931/0.0009931, allocations: 217.7 kB / 22.25 MB, free: 3.699 MB / 13.93 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.9661/0.9661, allocations: 230.6 MB / 256 MB, free: 9.785 MB / 202.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.774/0.774, allocations: 203.8 MB / 0.5042 GB, free: 10.73 MB / 410.7 MB " [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.PowerLinearized,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.PowerLinearized,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0008848/0.0008848, allocations: 65.06 kB / 0.7182 GB, free: 4.332 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4498/0.4507, allocations: 102 MB / 0.8179 GB, free: 1.246 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.PowerLinearized): time 0.001973/0.4527, allocations: 1.471 MB / 0.8193 GB, free: 228 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.000259/0.453, allocations: 104.4 kB / 0.8194 GB, free: 156 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.092e-05/0.453, allocations: 0 / 0.8194 GB, free: 156 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.731e-05/0.453, allocations: 4.516 kB / 0.8194 GB, free: 152 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.184e-05/0.4531, allocations: 6.156 kB / 0.8194 GB, free: 148 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001975/0.4533, allocations: 19.34 kB / 0.8194 GB, free: 140 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.625e-05/0.4533, allocations: 22.41 kB / 0.8194 GB, free: 128 kB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 8.172e-05/0.4534, allocations: 11.16 kB / 0.8195 GB, free: 124 kB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.19e-05/0.4535, allocations: 5.891 kB / 0.8195 GB, free: 124 kB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.58e-05/0.4535, allocations: 24.45 kB / 0.8195 GB, free: 108 kB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.19e-05/0.4535, allocations: 0 / 0.8195 GB, free: 108 kB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 5.173e-05/0.4536, allocations: 15.88 kB / 0.8195 GB, free: 104 kB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.305e-05/0.4536, allocations: 6.031 kB / 0.8195 GB, free: 100 kB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.211e-05/0.4536, allocations: 16.61 kB / 0.8195 GB, free: 88 kB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 9.913e-05/0.4537, allocations: 32.83 kB / 0.8196 GB, free: 76 kB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.4537, allocations: 0 / 0.8196 GB, free: 76 kB / 0.6042 GB Notification: Performance of FrontEnd: time 1.683e-06/0.4537, allocations: 0 / 0.8196 GB, free: 76 kB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.041e-06/0.4537, allocations: 3.938 kB / 0.8196 GB, free: 72 kB / 0.6042 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.0003322/0.454, allocations: 270.6 kB / 0.8198 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.573e-05/0.4541, allocations: 9.719 kB / 0.8198 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.34e-05/0.4541, allocations: 31.59 kB / 0.8199 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001101/0.4542, allocations: 17.05 kB / 0.8199 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.91e-05/0.4543, allocations: 106.5 kB / 0.82 GB, free: 15.63 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.055e-05/0.4543, allocations: 3.406 kB / 0.82 GB, free: 15.63 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.778e-06/0.4543, allocations: 4.312 kB / 0.82 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001269/0.4544, allocations: 58.83 kB / 0.82 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.826e-06/0.4545, allocations: 11.47 kB / 0.82 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.406e-06/0.4545, allocations: 0 / 0.82 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.4545, allocations: 0 / 0.82 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001156/0.4546, allocations: 45.77 kB / 0.8201 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003118/0.4549, allocations: 240.4 kB / 0.8203 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001043/0.455, allocations: 51.95 kB / 0.8204 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.614e-05/0.4551, allocations: 32.17 kB / 0.8204 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.39e-05/0.4551, allocations: 1.688 kB / 0.8204 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.92e-05/0.4551, allocations: 35.11 kB / 0.8204 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 6.92e-07/0.4551, allocations: 0 / 0.8204 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0002528/0.4554, allocations: 101.8 kB / 0.8205 GB, free: 15.19 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.815e-05/0.4554, allocations: 55.41 kB / 0.8206 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.66e-05/0.4554, allocations: 106 kB / 0.8207 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001764/0.4556, allocations: 25.7 kB / 0.8207 GB, free: 14.99 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.798e-05/0.4557, allocations: 84.7 kB / 0.8208 GB, free: 14.9 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.985e-05/0.4557, allocations: 7.188 kB / 0.8208 GB, free: 14.9 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.529e-05/0.4557, allocations: 16.88 kB / 0.8208 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.604e-05/0.4558, allocations: 312.2 kB / 0.8211 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.901e-05/0.4558, allocations: 29.53 kB / 0.8211 GB, free: 14.56 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.174e-05/0.4559, allocations: 29.55 kB / 0.8212 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001022/0.456, allocations: 46.05 kB / 0.8212 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.456, allocations: 3.938 kB / 0.8212 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001432/0.4561, allocations: 83.84 kB / 0.8213 GB, free: 14.49 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.438e-05/0.4562, allocations: 6.75 kB / 0.8213 GB, free: 14.49 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.4562, allocations: 0 / 0.8213 GB, free: 14.49 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.654e-05/0.4562, allocations: 6.172 kB / 0.8213 GB, free: 14.49 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.23e-05/0.4563, allocations: 11.75 kB / 0.8213 GB, free: 14.49 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.4563, allocations: 0.6094 kB / 0.8213 GB, free: 14.49 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.904e-05/0.4563, allocations: 10.06 kB / 0.8213 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.278e-06/0.4563, allocations: 5.781 kB / 0.8213 GB, free: 14.48 MB / 0.6198 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.245e-05/0.4563, allocations: 116.6 kB / 0.8214 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.244e-05/0.4564, allocations: 4.938 kB / 0.8214 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.679e-05/0.4564, allocations: 13.39 kB / 0.8215 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.4564, allocations: 5.844 kB / 0.8215 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.4564, allocations: 4.641 kB / 0.8215 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.4564, allocations: 0 / 0.8215 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001095/0.4565, allocations: 141.3 kB / 0.8216 GB, free: 14.17 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.4565, allocations: 0.5156 kB / 0.8216 GB, free: 14.17 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.136e-05/0.4565, allocations: 13.7 kB / 0.8216 GB, free: 14.17 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.242e-06/0.4565, allocations: 0.5156 kB / 0.8216 GB, free: 14.17 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.662e-06/0.4565, allocations: 1.562 kB / 0.8216 GB, free: 14.17 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.81e-07/0.4565, allocations: 0.6562 kB / 0.8216 GB, free: 14.17 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-07/0.4565, allocations: 0 / 0.8216 GB, free: 14.17 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001537/0.4567, allocations: 179.1 kB / 0.8218 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 8.476e-06/0.4567, allocations: 11.89 kB / 0.8218 GB, free: 14.01 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.267e-06/0.4567, allocations: 1.359 kB / 0.8218 GB, free: 14.01 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.326e-05/0.4568, allocations: 8.766 kB / 0.8218 GB, free: 14.01 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.471e-05/0.4568, allocations: 5.203 kB / 0.8218 GB, free: 14.01 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.385e-06/0.4568, allocations: 0 / 0.8218 GB, free: 14.01 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.665e-05/0.4568, allocations: 88.91 kB / 0.8219 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.4568, allocations: 0 / 0.8219 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001544/0.457, allocations: 5.188 kB / 0.8219 GB, free: 13.93 MB / 0.6198 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.0003221/0.4573, allocations: 0.7007 MB / 0.8226 GB, free: 13.26 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001481/0.4574, allocations: 54.34 kB / 0.8226 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.282e-06/0.4574, allocations: 0 / 0.8226 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 5.485e-05/0.4575, allocations: 30.33 kB / 0.8227 GB, free: 13.24 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001912/0.4577, allocations: 3.922 kB / 0.8227 GB, free: 13.24 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003457/0.458, allocations: 159.5 kB / 0.8228 GB, free: 13.08 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001593/0.4582, allocations: 0.6777 MB / 0.8235 GB, free: 12.39 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.382e-05/0.4582, allocations: 1.375 kB / 0.8235 GB, free: 12.39 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.71e-05/0.4583, allocations: 14.34 kB / 0.8235 GB, free: 12.38 MB / 0.6198 GB Notification: Performance of SimCode: time 5.71e-07/0.4583, allocations: 0 / 0.8235 GB, free: 12.38 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01397/0.4722, allocations: 1.568 MB / 0.825 GB, free: 11.95 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.796/7.268, allocations: 11.33 kB / 0.825 GB, free: 11.95 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.PowerLinearized.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.PowerLinearized.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.PowerLinearized.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.PowerLinearized.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Utilities.Math.Examples.PowerLinearized_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_PowerLinearized.fmu > IDEAS_dev_IDEAS.Utilities.Math.Examples.PowerLinearized.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.20931460801512] Failed to read output from testmodel.py, exit status != 0: 7.342495946912095 7.35461026 6.898528358 Calling exit ...