Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.001398/0.001398, allocations: 88.72 kB / 19.44 MB, free: 352 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.001569/0.001569, allocations: 157.7 kB / 22.75 MB, free: 1.68 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.616/1.616, allocations: 177.1 MB / 203.1 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] 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-535:34: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-535:42: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 1.236/1.236, allocations: 154.8 MB / 414.4 MB, free: 468 kB / 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 178] 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: translateModel(IDEAS.Fluid.Sensors.Examples.SpecificEntropy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEntropy") translateModel(IDEAS.Fluid.Sensors.Examples.SpecificEntropy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEntropy") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.934e-06/1.934e-06, allocations: 0 / 0.5199 GB, free: 2.27 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.357e-05/3.551e-05, allocations: 5.141 kB / 0.5199 GB, free: 2.266 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.SpecificEntropy): time 0.2278/0.2278, allocations: 143.9 MB / 0.6604 GB, free: 2.062 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.006657/0.2345, allocations: 4.223 MB / 0.6645 GB, free: 13.83 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003172/0.2348, allocations: 11.88 kB / 0.6645 GB, free: 13.82 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0004452/0.2352, allocations: 131 kB / 0.6646 GB, free: 13.69 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.001527/0.2368, allocations: 0.583 MB / 0.6652 GB, free: 13.1 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.002241/0.239, allocations: 0.8483 MB / 0.666 GB, free: 12.25 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0009029/0.2399, allocations: 0.5806 MB / 0.6666 GB, free: 11.67 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003886/0.2403, allocations: 169.6 kB / 0.6668 GB, free: 11.5 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001807/0.2421, allocations: 0.7511 MB / 0.6675 GB, free: 10.75 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006379/0.2427, allocations: 291 kB / 0.6678 GB, free: 10.46 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 4.117e-05/0.2428, allocations: 16 kB / 0.6678 GB, free: 10.45 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001704/0.2445, allocations: 0.8606 MB / 0.6686 GB, free: 9.586 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0001282/0.2446, allocations: 95.7 kB / 0.6687 GB, free: 9.492 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0001384/0.2447, allocations: 87.77 kB / 0.6688 GB, free: 9.406 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.001196/0.2459, allocations: 0.7361 MB / 0.6695 GB, free: 8.668 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 2.805e-06/0.2459, allocations: 0 / 0.6695 GB, free: 8.668 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.202e-06/0.2459, allocations: 0 / 0.6695 GB, free: 8.668 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.39e-06/0.2459, allocations: 0 / 0.6695 GB, free: 8.668 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.001043/0.247, allocations: 0.5275 MB / 0.67 GB, free: 8.109 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.713e-05/0.247, allocations: 12.03 kB / 0.67 GB, free: 8.098 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008123/0.2478, allocations: 115.4 kB / 0.6702 GB, free: 7.984 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004813/0.2483, allocations: 241.7 kB / 0.6704 GB, free: 7.723 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.623e-05/0.2483, allocations: 20 kB / 0.6704 GB, free: 7.703 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.443e-05/0.2484, allocations: 19.98 kB / 0.6704 GB, free: 7.684 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005755/0.249, allocations: 289.7 kB / 0.6707 GB, free: 7.375 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.174e-05/0.249, allocations: 0 / 0.6707 GB, free: 7.375 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.787e-05/0.249, allocations: 4 kB / 0.6707 GB, free: 7.371 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.23e-05/0.249, allocations: 8 kB / 0.6707 GB, free: 7.363 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004994/0.2495, allocations: 205.3 kB / 0.6709 GB, free: 7.164 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002057/0.2516, allocations: 1.109 MB / 0.672 GB, free: 5.996 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003503/0.2519, allocations: 176.9 kB / 0.6722 GB, free: 5.777 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002359/0.2522, allocations: 104.2 kB / 0.6723 GB, free: 5.66 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006845/0.2529, allocations: 103.9 kB / 0.6724 GB, free: 5.559 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.009e-05/0.2529, allocations: 46.67 kB / 0.6724 GB, free: 5.504 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=13): time 1.262e-06/0.2529, allocations: 0 / 0.6724 GB, free: 5.504 MB / 0.6355 GB Notification: Performance of matching and sorting (n=13): time 0.0009448/0.2539, allocations: 281.3 kB / 0.6727 GB, free: 5.223 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001124/0.254, allocations: 158.2 kB / 0.6728 GB, free: 5.031 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000258/0.2542, allocations: 212.2 kB / 0.673 GB, free: 4.812 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.467e-05/0.2543, allocations: 25.7 kB / 0.673 GB, free: 4.781 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001434/0.2544, allocations: 156.4 kB / 0.6732 GB, free: 4.625 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 6.177e-05/0.2545, allocations: 55.52 kB / 0.6732 GB, free: 4.57 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.057e-05/0.2546, allocations: 46.05 kB / 0.6733 GB, free: 4.52 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0002002/0.2548, allocations: 334.8 kB / 0.6736 GB, free: 4.184 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001876/0.2549, allocations: 63.95 kB / 0.6737 GB, free: 4.121 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003625/0.2553, allocations: 249.6 kB / 0.6739 GB, free: 3.824 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004383/0.2557, allocations: 215.5 kB / 0.6741 GB, free: 3.586 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/0.2557, allocations: 3.938 kB / 0.6741 GB, free: 3.582 MB / 0.6355 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005846/0.2563, allocations: 241.3 kB / 0.6743 GB, free: 3.34 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.122e-05/0.2564, allocations: 8.234 kB / 0.6744 GB, free: 3.332 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.907e-06/0.2564, allocations: 8 kB / 0.6744 GB, free: 3.324 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.445e-05/0.2564, allocations: 8 kB / 0.6744 GB, free: 3.316 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002148/0.2566, allocations: 35.92 kB / 0.6744 GB, free: 3.281 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.022e-05/0.2566, allocations: 4 kB / 0.6744 GB, free: 3.277 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001804/0.2568, allocations: 23.88 kB / 0.6744 GB, free: 3.254 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.459e-05/0.2568, allocations: 8 kB / 0.6744 GB, free: 3.246 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.0002008/0.257, allocations: 157.7 kB / 0.6746 GB, free: 3.082 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001568/0.2572, allocations: 27.8 kB / 0.6746 GB, free: 3.055 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005062/0.2577, allocations: 181.5 kB / 0.6748 GB, free: 2.863 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.883e-06/0.2577, allocations: 4 kB / 0.6748 GB, free: 2.859 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.2577, allocations: 4 kB / 0.6748 GB, free: 2.855 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.2577, allocations: 0 / 0.6748 GB, free: 2.855 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001149/0.2589, allocations: 0.7766 MB / 0.6756 GB, free: 2.023 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.2589, allocations: 0 / 0.6756 GB, free: 2.023 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001311/0.259, allocations: 23.97 kB / 0.6756 GB, free: 2 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/0.259, allocations: 4 kB / 0.6756 GB, free: 1.996 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.443e-05/0.259, allocations: 8.156 kB / 0.6756 GB, free: 1.988 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.328e-06/0.259, allocations: 4.016 kB / 0.6756 GB, free: 1.984 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.662e-06/0.259, allocations: 7.984 kB / 0.6756 GB, free: 1.977 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006351/0.2597, allocations: 331.5 kB / 0.6759 GB, free: 1.621 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.617e-05/0.2597, allocations: 35.84 kB / 0.676 GB, free: 1.586 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.482e-05/0.2598, allocations: 8.125 kB / 0.676 GB, free: 1.578 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001636/0.2599, allocations: 8 kB / 0.676 GB, free: 1.57 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.131e-05/0.26, allocations: 15.98 kB / 0.676 GB, free: 1.555 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.176e-05/0.26, allocations: 8 kB / 0.676 GB, free: 1.547 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0002126/0.2602, allocations: 177.2 kB / 0.6762 GB, free: 1.375 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1e-07/0.2602, allocations: 3.938 kB / 0.6762 GB, free: 1.371 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0005482/0.2607, allocations: 103.7 kB / 0.6763 GB, free: 1.27 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.0005387/0.2613, allocations: 207.5 kB / 0.6765 GB, free: 1.059 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0004337/0.2617, allocations: 151.8 kB / 0.6766 GB, free: 0.9102 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 7.164e-06/0.2617, allocations: 4 kB / 0.6766 GB, free: 0.9062 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001653/0.2619, allocations: 51.91 kB / 0.6767 GB, free: 0.8555 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006005/0.2625, allocations: 86.94 kB / 0.6767 GB, free: 0.7812 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001013/0.2635, allocations: 473.1 kB / 0.6772 GB, free: 280 kB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002078/0.2637, allocations: 158.2 kB / 0.6773 GB, free: 104 kB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001763/0.2639, allocations: 53.98 kB / 0.6774 GB, free: 48 kB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.152e-05/0.264, allocations: 20.5 kB / 0.6774 GB, free: 28 kB / 0.6355 GB Notification: Performance of SimCode: time 7.52e-07/0.264, allocations: 0 / 0.6774 GB, free: 28 kB / 0.6355 GB Notification: Performance of Templates: time 0.2757/0.5396, allocations: 4.468 MB / 0.6818 GB, free: 54.32 MB / 0.6355 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEntropy.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEntropy.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEntropy.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEntropy.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEntropy.sim & ./IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEntropy -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.629332717973739]