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.001424/0.001424, allocations: 84.73 kB / 19.44 MB, free: 356 kB / 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.001598/0.001598, allocations: 157.7 kB / 22.75 MB, free: 1.684 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 1.54/1.54, allocations: 177.1 MB / 203.1 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] 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-545:108: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-545:116: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 1.22/1.22, allocations: 154.6 MB / 414.2 MB, free: 0.6406 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 178] 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.204e-06/2.204e-06, allocations: 0 / 0.5196 GB, free: 2.543 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.637e-05/3.857e-05, allocations: 3.297 kB / 0.5196 GB, free: 2.539 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.SpecificEntropy): time 0.2175/0.2175, allocations: 143.9 MB / 0.6601 GB, free: 2.336 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.007283/0.2248, allocations: 4.226 MB / 0.6643 GB, free: 14.1 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003483/0.2252, allocations: 19.88 kB / 0.6643 GB, free: 14.08 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0004902/0.2257, allocations: 131 kB / 0.6644 GB, free: 13.95 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.001519/0.2272, allocations: 0.5752 MB / 0.665 GB, free: 13.37 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.002187/0.2294, allocations: 0.8406 MB / 0.6658 GB, free: 12.53 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0008229/0.2302, allocations: 0.5806 MB / 0.6664 GB, free: 11.94 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003537/0.2305, allocations: 181.4 kB / 0.6665 GB, free: 11.77 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001693/0.2322, allocations: 0.7394 MB / 0.6672 GB, free: 11.02 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001085/0.2333, allocations: 291.1 kB / 0.6675 GB, free: 10.74 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 4.406e-05/0.2334, allocations: 20 kB / 0.6675 GB, free: 10.72 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001577/0.2349, allocations: 0.8644 MB / 0.6684 GB, free: 9.852 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0001397/0.2351, allocations: 99.7 kB / 0.6685 GB, free: 9.754 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0001349/0.2352, allocations: 79.84 kB / 0.6686 GB, free: 9.676 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.001155/0.2364, allocations: 0.7322 MB / 0.6693 GB, free: 8.941 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.2364, allocations: 0 / 0.6693 GB, free: 8.941 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.253e-06/0.2364, allocations: 0 / 0.6693 GB, free: 8.941 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.392e-06/0.2364, allocations: 4 kB / 0.6693 GB, free: 8.938 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.001074/0.2375, allocations: 0.5236 MB / 0.6698 GB, free: 8.383 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.766e-05/0.2375, allocations: 8.031 kB / 0.6698 GB, free: 8.375 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007385/0.2382, allocations: 123.4 kB / 0.6699 GB, free: 8.254 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004584/0.2387, allocations: 253.6 kB / 0.6702 GB, free: 7.98 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.186e-05/0.2387, allocations: 12 kB / 0.6702 GB, free: 7.969 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.204e-05/0.2388, allocations: 20 kB / 0.6702 GB, free: 7.949 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005872/0.2393, allocations: 283.2 kB / 0.6705 GB, free: 7.645 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.2394, allocations: 0 / 0.6705 GB, free: 7.645 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.732e-05/0.2394, allocations: 8 kB / 0.6705 GB, free: 7.637 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.644e-06/0.2394, allocations: 4 kB / 0.6705 GB, free: 7.633 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004674/0.2399, allocations: 211.7 kB / 0.6707 GB, free: 7.426 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001736/0.2416, allocations: 1.105 MB / 0.6718 GB, free: 6.262 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003294/0.2419, allocations: 169 kB / 0.6719 GB, free: 6.051 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002397/0.2422, allocations: 112.4 kB / 0.672 GB, free: 5.926 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006529/0.2428, allocations: 103.9 kB / 0.6721 GB, free: 5.824 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.271e-05/0.2429, allocations: 38.56 kB / 0.6722 GB, free: 5.777 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=13): time 1.213e-06/0.2429, allocations: 4 kB / 0.6722 GB, free: 5.773 MB / 0.6355 GB Notification: Performance of matching and sorting (n=13): time 0.0008304/0.2437, allocations: 281.4 kB / 0.6724 GB, free: 5.492 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001218/0.2438, allocations: 158.2 kB / 0.6726 GB, free: 5.301 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002579/0.2441, allocations: 216.5 kB / 0.6728 GB, free: 5.082 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.518e-05/0.2441, allocations: 29.7 kB / 0.6728 GB, free: 5.047 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001415/0.2442, allocations: 160.9 kB / 0.673 GB, free: 4.887 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.76e-05/0.2443, allocations: 43.61 kB / 0.673 GB, free: 4.844 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.733e-05/0.2444, allocations: 45.7 kB / 0.6731 GB, free: 4.793 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.000199/0.2446, allocations: 330.8 kB / 0.6734 GB, free: 4.461 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001772/0.2448, allocations: 67.94 kB / 0.6734 GB, free: 4.395 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00035/0.2451, allocations: 243.3 kB / 0.6737 GB, free: 4.102 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004274/0.2455, allocations: 215.5 kB / 0.6739 GB, free: 3.863 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/0.2455, allocations: 3.938 kB / 0.6739 GB, free: 3.859 MB / 0.6355 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005785/0.2461, allocations: 253.3 kB / 0.6741 GB, free: 3.605 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.019e-05/0.2461, allocations: 8 kB / 0.6741 GB, free: 3.598 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/0.2461, allocations: 4 kB / 0.6741 GB, free: 3.594 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.145e-05/0.2462, allocations: 4 kB / 0.6741 GB, free: 3.59 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001982/0.2464, allocations: 35.92 kB / 0.6742 GB, free: 3.555 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.748e-06/0.2464, allocations: 4 kB / 0.6742 GB, free: 3.551 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000173/0.2465, allocations: 23.88 kB / 0.6742 GB, free: 3.527 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.348e-05/0.2466, allocations: 12 kB / 0.6742 GB, free: 3.516 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 0.000344/0.2469, allocations: 157.8 kB / 0.6744 GB, free: 3.352 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001533/0.2471, allocations: 31.8 kB / 0.6744 GB, free: 3.32 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004857/0.2476, allocations: 181.5 kB / 0.6746 GB, free: 3.125 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.916e-06/0.2476, allocations: 0 / 0.6746 GB, free: 3.125 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.217e-06/0.2476, allocations: 4 kB / 0.6746 GB, free: 3.121 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.2476, allocations: 3.984 kB / 0.6746 GB, free: 3.117 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001086/0.2487, allocations: 0.7765 MB / 0.6753 GB, free: 2.285 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.438e-06/0.2487, allocations: 4 kB / 0.6753 GB, free: 2.281 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001371/0.2488, allocations: 28.12 kB / 0.6754 GB, free: 2.254 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.514e-06/0.2488, allocations: 0 / 0.6754 GB, free: 2.254 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.481e-05/0.2488, allocations: 4 kB / 0.6754 GB, free: 2.25 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.988e-06/0.2488, allocations: 4 kB / 0.6754 GB, free: 2.246 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.2488, allocations: 0 / 0.6754 GB, free: 2.246 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006149/0.2494, allocations: 343.4 kB / 0.6757 GB, free: 1.879 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.533e-05/0.2495, allocations: 23.92 kB / 0.6757 GB, free: 1.855 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.504e-05/0.2495, allocations: 12.12 kB / 0.6757 GB, free: 1.844 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001446/0.2497, allocations: 8 kB / 0.6757 GB, free: 1.836 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.961e-05/0.2497, allocations: 15.92 kB / 0.6757 GB, free: 1.82 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.131e-05/0.2498, allocations: 7.984 kB / 0.6758 GB, free: 1.812 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001991/0.25, allocations: 177.2 kB / 0.6759 GB, free: 1.641 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6e-08/0.25, allocations: 0 / 0.6759 GB, free: 1.641 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004889/0.2504, allocations: 103.8 kB / 0.676 GB, free: 1.539 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.0004987/0.2509, allocations: 217.5 kB / 0.6762 GB, free: 1.32 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0004084/0.2514, allocations: 147.7 kB / 0.6764 GB, free: 1.176 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.2514, allocations: 0 / 0.6764 GB, free: 1.176 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001517/0.2515, allocations: 56.59 kB / 0.6764 GB, free: 1.121 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005751/0.2521, allocations: 79.88 kB / 0.6765 GB, free: 1.047 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000873/0.253, allocations: 473.1 kB / 0.677 GB, free: 0.5391 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000165/0.2531, allocations: 150.2 kB / 0.6771 GB, free: 388 kB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.000166/0.2533, allocations: 62.19 kB / 0.6772 GB, free: 324 kB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.648e-05/0.2533, allocations: 24.44 kB / 0.6772 GB, free: 300 kB / 0.6355 GB Notification: Performance of SimCode: time 3.71e-07/0.2533, allocations: 0 / 0.6772 GB, free: 300 kB / 0.6355 GB Notification: Performance of Templates: time 0.2188/0.4721, allocations: 4.471 MB / 0.6815 GB, free: 202.7 MB / 0.6355 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.416865293052979]