Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEntropy.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.0007147/0.0007147, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.000793/0.000793, allocations: 177.9 kB / 23.21 MB, free: 1.348 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.8887/0.8887, allocations: 177.1 MB / 203.5 MB, free: 5.707 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.6995/0.6995, allocations: 154.6 MB / 414.5 MB, free: 0.7969 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: translateModel(IDEAS.Fluid.Sensors.Examples.SpecificEntropy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEntropy") translateModel(IDEAS.Fluid.Sensors.Examples.SpecificEntropy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEntropy") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.745e-06/2.745e-06, allocations: 0 / 0.6194 GB, free: 13.12 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.562e-05/3.836e-05, allocations: 2.281 kB / 0.6194 GB, free: 13.12 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.SpecificEntropy): time 0.4474/0.4474, allocations: 143.9 MB / 0.7599 GB, free: 10.77 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.003432/0.4508, allocations: 4.223 MB / 0.764 GB, free: 7.965 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001935/0.451, allocations: 14.59 kB / 0.764 GB, free: 7.957 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0003895/0.4514, allocations: 127.4 kB / 0.7641 GB, free: 7.875 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.00102/0.4524, allocations: 0.5735 MB / 0.7647 GB, free: 7.574 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.001302/0.4538, allocations: 0.8579 MB / 0.7655 GB, free: 7.156 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0005055/0.4543, allocations: 0.5785 MB / 0.7661 GB, free: 6.895 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002711/0.4545, allocations: 167.9 kB / 0.7662 GB, free: 6.82 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001141/0.4557, allocations: 0.747 MB / 0.767 GB, free: 6.488 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004433/0.4561, allocations: 282.9 kB / 0.7672 GB, free: 6.395 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 3.163e-05/0.4561, allocations: 21.78 kB / 0.7673 GB, free: 6.391 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009905/0.4571, allocations: 0.8647 MB / 0.7681 GB, free: 6.07 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 9.174e-05/0.4572, allocations: 96.88 kB / 0.7682 GB, free: 6.027 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 7.858e-05/0.4573, allocations: 84.83 kB / 0.7683 GB, free: 5.996 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0008225/0.4581, allocations: 0.7263 MB / 0.769 GB, free: 5.766 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.4581, allocations: 4.641 kB / 0.769 GB, free: 5.762 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.213e-06/0.4581, allocations: 0 / 0.769 GB, free: 5.762 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.642e-06/0.4581, allocations: 0 / 0.769 GB, free: 5.762 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0006783/0.4588, allocations: 0.5334 MB / 0.7695 GB, free: 5.336 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.745e-05/0.4589, allocations: 8.938 kB / 0.7695 GB, free: 5.336 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003908/0.4592, allocations: 80.89 kB / 0.7696 GB, free: 5.312 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003009/0.4595, allocations: 238.5 kB / 0.7698 GB, free: 5.129 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.838e-05/0.4596, allocations: 22.28 kB / 0.7698 GB, free: 5.117 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.611e-05/0.4596, allocations: 20 kB / 0.7699 GB, free: 5.109 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003365/0.4599, allocations: 280.6 kB / 0.7701 GB, free: 4.957 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.4599, allocations: 0 / 0.7701 GB, free: 4.957 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.786e-05/0.46, allocations: 15.19 kB / 0.7701 GB, free: 4.945 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.183e-06/0.46, allocations: 4.719 kB / 0.7702 GB, free: 4.945 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002838/0.4603, allocations: 205.8 kB / 0.7703 GB, free: 4.883 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008938/0.4611, allocations: 1.097 MB / 0.7714 GB, free: 3.996 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001896/0.4613, allocations: 174 kB / 0.7716 GB, free: 3.844 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001235/0.4615, allocations: 106.5 kB / 0.7717 GB, free: 3.785 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003314/0.4618, allocations: 104.8 kB / 0.7718 GB, free: 3.773 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.99e-05/0.4618, allocations: 39.78 kB / 0.7718 GB, free: 3.73 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=13): time 1.733e-06/0.4618, allocations: 0 / 0.7718 GB, free: 3.73 MB / 0.6355 GB Notification: Performance of matching and sorting (n=13): time 0.0004875/0.4623, allocations: 281.6 kB / 0.7721 GB, free: 3.621 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.181e-05/0.4623, allocations: 158.2 kB / 0.7722 GB, free: 3.434 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001365/0.4625, allocations: 208.9 kB / 0.7724 GB, free: 3.297 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.292e-05/0.4625, allocations: 26.77 kB / 0.7725 GB, free: 3.266 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.77e-05/0.4626, allocations: 160.1 kB / 0.7726 GB, free: 3.129 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.654e-05/0.4626, allocations: 48.8 kB / 0.7727 GB, free: 3.09 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.2e-05/0.4626, allocations: 42 kB / 0.7727 GB, free: 3.062 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.973e-05/0.4627, allocations: 328.6 kB / 0.773 GB, free: 2.742 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001029/0.4628, allocations: 77.2 kB / 0.7731 GB, free: 2.723 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001525/0.4629, allocations: 252.2 kB / 0.7733 GB, free: 2.492 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002341/0.4632, allocations: 208.1 kB / 0.7735 GB, free: 2.371 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.4632, allocations: 0 / 0.7735 GB, free: 2.371 MB / 0.6355 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003047/0.4635, allocations: 241.3 kB / 0.7738 GB, free: 2.27 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.32e-05/0.4635, allocations: 6.703 kB / 0.7738 GB, free: 2.27 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.4635, allocations: 1.312 kB / 0.7738 GB, free: 2.27 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.635e-05/0.4635, allocations: 8.219 kB / 0.7738 GB, free: 2.266 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001107/0.4636, allocations: 39.12 kB / 0.7738 GB, free: 2.262 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/0.4636, allocations: 7.156 kB / 0.7738 GB, free: 2.258 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.286e-05/0.4637, allocations: 16.66 kB / 0.7738 GB, free: 2.254 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.3e-05/0.4637, allocations: 13.66 kB / 0.7739 GB, free: 2.25 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (18): * Single equations (assignments): 18 * 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 7.791e-05/0.4638, allocations: 148.9 kB / 0.774 GB, free: 2.117 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.782e-05/0.4639, allocations: 25.59 kB / 0.774 GB, free: 2.102 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002781/0.4641, allocations: 184.8 kB / 0.7742 GB, free: 1.992 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.656e-06/0.4642, allocations: 2.312 kB / 0.7742 GB, free: 1.992 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.264e-06/0.4642, allocations: 9.25 kB / 0.7742 GB, free: 1.988 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.4642, allocations: 4.516 kB / 0.7742 GB, free: 1.984 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000529/0.4647, allocations: 0.773 MB / 0.775 GB, free: 1.332 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.4647, allocations: 2.156 kB / 0.775 GB, free: 1.332 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.131e-05/0.4648, allocations: 21.66 kB / 0.775 GB, free: 1.332 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.896e-06/0.4648, allocations: 2.531 kB / 0.775 GB, free: 1.332 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.125e-05/0.4648, allocations: 3.188 kB / 0.775 GB, free: 1.332 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.484e-06/0.4648, allocations: 6 kB / 0.775 GB, free: 1.328 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.4648, allocations: 2.672 kB / 0.775 GB, free: 1.328 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003131/0.4651, allocations: 339.3 kB / 0.7753 GB, free: 1.09 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.452e-05/0.4651, allocations: 29.92 kB / 0.7754 GB, free: 1.074 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.127e-05/0.4652, allocations: 10.64 kB / 0.7754 GB, free: 1.07 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.739e-05/0.4652, allocations: 7.109 kB / 0.7754 GB, free: 1.07 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.838e-05/0.4653, allocations: 12.34 kB / 0.7754 GB, free: 1.066 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.022e-06/0.4653, allocations: 11.94 kB / 0.7754 GB, free: 1.059 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001154/0.4654, allocations: 176 kB / 0.7756 GB, free: 0.9531 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6e-08/0.4654, allocations: 0 / 0.7756 GB, free: 0.9531 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.000301/0.4657, allocations: 99.84 kB / 0.7757 GB, free: 0.9336 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (senStr.s) * 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 (10): * Single equations (assignments): 10 * 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.0003282/0.466, allocations: 217.1 kB / 0.7759 GB, free: 0.8047 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002465/0.4663, allocations: 150.2 kB / 0.776 GB, free: 0.7617 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.4663, allocations: 1.469 kB / 0.776 GB, free: 0.7617 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 7.918e-05/0.4663, allocations: 52.3 kB / 0.7761 GB, free: 0.75 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003335/0.4667, allocations: 70.78 kB / 0.7761 GB, free: 0.7344 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005814/0.4673, allocations: 0.4951 MB / 0.7766 GB, free: 380 kB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001009/0.4674, allocations: 152.8 kB / 0.7768 GB, free: 292 kB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.83e-05/0.4674, allocations: 22.98 kB / 0.7768 GB, free: 284 kB / 0.6355 GB Notification: Performance of SimCode: time 4.41e-07/0.4674, allocations: 1.219 kB / 0.7768 GB, free: 284 kB / 0.6355 GB Notification: Performance of Templates: time 0.005123/0.4725, allocations: 4.626 MB / 0.7813 GB, free: 15.8 MB / 0.6511 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEntropy.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEntropy.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEntropy.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEntropy.pipe >> ../files/IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEntropy.sim & ./IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEntropy -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.596733105368912] Failed to read output from testmodel.py, exit status != 0: 0.47838395461440086 0.48558137 0.025850648 Calling exit ...