Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.001141/0.001141, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0009184/0.0009184, allocations: 165.9 kB / 22.46 MB, free: 2.105 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.8832/0.8832, 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 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7151/0.7151, allocations: 154.6 MB / 413.8 MB, free: 0.8086 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/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_IDEAS_Utilities_Math_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.PowerLinearized,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.624e-06/1.624e-06, allocations: 0 / 0.6181 GB, free: 13.67 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.048e-05/2.21e-05, allocations: 6.469 kB / 0.6181 GB, free: 13.66 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.PowerLinearized): time 0.002012/0.002035, allocations: 1.472 MB / 0.6195 GB, free: 12.18 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0002279/0.002263, allocations: 91.73 kB / 0.6196 GB, free: 12.09 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.151e-05/0.002294, allocations: 0 / 0.6196 GB, free: 12.09 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.77e-05/0.002322, allocations: 0 / 0.6196 GB, free: 12.09 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 4.244e-05/0.002364, allocations: 11.88 kB / 0.6196 GB, free: 12.08 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001995/0.002564, allocations: 11.98 kB / 0.6197 GB, free: 12.07 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 6.578e-05/0.002629, allocations: 23.92 kB / 0.6197 GB, free: 12.04 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 9.341e-05/0.002723, allocations: 4 kB / 0.6197 GB, free: 12.04 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 5.738e-05/0.00278, allocations: 15.97 kB / 0.6197 GB, free: 12.02 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 3.635e-05/0.002817, allocations: 15.92 kB / 0.6197 GB, free: 12.01 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.668e-05/0.002833, allocations: 8 kB / 0.6197 GB, free: 12 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 5.417e-05/0.002887, allocations: 11.98 kB / 0.6197 GB, free: 11.99 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.363e-05/0.002901, allocations: 4 kB / 0.6197 GB, free: 11.98 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.787e-05/0.002919, allocations: 8 kB / 0.6197 GB, free: 11.98 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001127/0.003032, allocations: 39.81 kB / 0.6198 GB, free: 11.94 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.474e-06/0.003034, allocations: 0 / 0.6198 GB, free: 11.94 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.152e-06/0.003035, allocations: 0 / 0.6198 GB, free: 11.94 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.378e-06/0.00304, allocations: 0 / 0.6198 GB, free: 11.94 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.0003557/0.003395, allocations: 266.3 kB / 0.62 GB, free: 11.64 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.003435, allocations: 8.031 kB / 0.62 GB, free: 11.64 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.085e-05/0.003466, allocations: 38.75 kB / 0.6201 GB, free: 11.59 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001101/0.003576, allocations: 20.84 kB / 0.6201 GB, free: 11.57 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.29e-05/0.003659, allocations: 109.8 kB / 0.6202 GB, free: 11.44 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.99e-05/0.003679, allocations: 384 / 0.6202 GB, free: 11.44 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.125e-05/0.00369, allocations: 4.375 kB / 0.6202 GB, free: 11.43 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001367/0.003827, allocations: 54.23 kB / 0.6203 GB, free: 11.38 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.612e-06/0.003833, allocations: 192 / 0.6203 GB, free: 11.38 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.967e-06/0.003842, allocations: 384 / 0.6203 GB, free: 11.38 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.003849, allocations: 8.109 kB / 0.6203 GB, free: 11.37 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001106/0.003959, allocations: 51.95 kB / 0.6203 GB, free: 11.32 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003071/0.004266, allocations: 224 kB / 0.6205 GB, free: 11.05 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001004/0.004367, allocations: 46.55 kB / 0.6206 GB, free: 11 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.674e-05/0.004423, allocations: 36.83 kB / 0.6206 GB, free: 10.96 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.437e-05/0.004438, allocations: 4 kB / 0.6206 GB, free: 10.96 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.916e-05/0.004457, allocations: 38.5 kB / 0.6206 GB, free: 10.91 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=2): time 1.403e-06/0.004458, allocations: 0 / 0.6206 GB, free: 10.91 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2): time 0.0002525/0.004711, allocations: 101.6 kB / 0.6207 GB, free: 10.8 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.625e-05/0.004747, allocations: 55.41 kB / 0.6208 GB, free: 10.74 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.455e-05/0.004812, allocations: 105.8 kB / 0.6209 GB, free: 10.62 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.215e-05/0.004824, allocations: 25.7 kB / 0.6209 GB, free: 10.59 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.889e-05/0.004863, allocations: 96.2 kB / 0.621 GB, free: 10.5 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.662e-05/0.004879, allocations: 3.953 kB / 0.621 GB, free: 10.49 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.955e-05/0.004909, allocations: 21.64 kB / 0.621 GB, free: 10.46 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.02e-05/0.004989, allocations: 314.8 kB / 0.6213 GB, free: 10.15 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.122e-05/0.00505, allocations: 23.97 kB / 0.6214 GB, free: 10.12 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.705e-05/0.005097, allocations: 19.98 kB / 0.6214 GB, free: 10.11 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001008/0.005198, allocations: 52.88 kB / 0.6214 GB, free: 10.05 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.0052, allocations: 0 / 0.6214 GB, free: 10.05 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001437/0.005344, allocations: 93.47 kB / 0.6215 GB, free: 9.953 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.301e-05/0.005357, allocations: 4 kB / 0.6215 GB, free: 9.949 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.005362, allocations: 0 / 0.6215 GB, free: 9.949 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.115e-05/0.005373, allocations: 0 / 0.6215 GB, free: 9.949 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.305e-05/0.005446, allocations: 16.02 kB / 0.6215 GB, free: 9.934 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.139e-06/0.005451, allocations: 0 / 0.6215 GB, free: 9.934 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.018e-05/0.005482, allocations: 12.23 kB / 0.6216 GB, free: 9.922 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.031e-06/0.005488, allocations: 4 kB / 0.6216 GB, free: 9.918 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.875e-05/0.005546, allocations: 106.8 kB / 0.6217 GB, free: 9.805 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.372e-05/0.00556, allocations: 7.938 kB / 0.6217 GB, free: 9.797 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.53e-05/0.005595, allocations: 11.58 kB / 0.6217 GB, free: 9.785 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.285e-06/0.005598, allocations: 0 / 0.6217 GB, free: 9.785 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.005604, allocations: 0 / 0.6217 GB, free: 9.785 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.005609, allocations: 7.969 kB / 0.6217 GB, free: 9.777 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001148/0.005724, allocations: 136.8 kB / 0.6218 GB, free: 9.602 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.005725, allocations: 0 / 0.6218 GB, free: 9.602 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.87e-05/0.005764, allocations: 11.98 kB / 0.6218 GB, free: 9.59 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.005766, allocations: 3.938 kB / 0.6218 GB, free: 9.586 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.121e-06/0.005772, allocations: 0 / 0.6218 GB, free: 9.586 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.005773, allocations: 0 / 0.6218 GB, free: 9.586 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.123e-06/0.005774, allocations: 0 / 0.6218 GB, free: 9.586 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001614/0.005935, allocations: 179.4 kB / 0.622 GB, free: 9.395 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 8.446e-06/0.005944, allocations: 11.92 kB / 0.622 GB, free: 9.383 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.889e-06/0.005954, allocations: 0 / 0.622 GB, free: 9.383 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.064e-05/0.005994, allocations: 4 kB / 0.622 GB, free: 9.379 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.511e-05/0.00603, allocations: 7.984 kB / 0.622 GB, free: 9.371 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.625e-06/0.006032, allocations: 3.938 kB / 0.622 GB, free: 9.367 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.912e-05/0.006061, allocations: 83.28 kB / 0.6221 GB, free: 9.285 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.006061, allocations: 0 / 0.6221 GB, free: 9.285 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001447/0.006206, allocations: 4 kB / 0.6221 GB, free: 9.281 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.0003538/0.00656, allocations: 0.7162 MB / 0.6228 GB, free: 8.535 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001563/0.006716, allocations: 51.94 kB / 0.6229 GB, free: 8.484 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.322e-06/0.006717, allocations: 0 / 0.6229 GB, free: 8.484 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 5.098e-05/0.006768, allocations: 20.08 kB / 0.6229 GB, free: 8.465 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002449/0.007013, allocations: 12.05 kB / 0.6229 GB, free: 8.453 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000366/0.007379, allocations: 142.6 kB / 0.623 GB, free: 8.273 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.142e-05/0.007421, allocations: 63.28 kB / 0.6231 GB, free: 8.191 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 2.631e-05/0.007447, allocations: 4 kB / 0.6231 GB, free: 8.188 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.457e-05/0.007492, allocations: 12.5 kB / 0.6231 GB, free: 8.176 MB / 0.5886 GB Notification: Performance of SimCode: time 7.01e-07/0.007492, allocations: 4 kB / 0.6231 GB, free: 8.172 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01887/0.02636, allocations: 2.183 MB / 0.6252 GB, free: 6.133 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.781/6.807, allocations: 6.125 kB / 0.6252 GB, free: 6.129 MB / 0.5886 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Utilities.Math.Examples.PowerLinearized.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.PowerLinearized.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.PowerLinearized.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.PowerLinearized.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Examples_PowerLinearized_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Examples_PowerLinearized.fmu > IDEAS_IDEAS.Utilities.Math.Examples.PowerLinearized.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.451900256797671] Failed to read output from testmodel.py, exit status != 0: 6.886585068888962 6.899172419 6.893952396 Calling exit ...