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.001413/0.001413, allocations: 78.73 kB / 19.18 MB, free: 2.516 MB / 14.72 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.001894/0.001894, allocations: 161.8 kB / 22.46 MB, free: 5.375 MB / 14.72 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.496/1.496, allocations: 177.1 MB / 202.8 MB, free: 9.164 MB / 190.1 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-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 1.237/1.237, allocations: 154.6 MB / 413.7 MB, free: 5.316 MB / 382.1 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 2.154e-06/2.154e-06, allocations: 0 / 0.6185 GB, free: 4.609 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.03e-05/3.245e-05, allocations: 5.703 kB / 0.6185 GB, free: 4.605 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.SpecificEntropy): time 0.6255/0.6255, allocations: 143.9 MB / 0.759 GB, free: 1.844 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.006322/0.6318, allocations: 4.229 MB / 0.7632 GB, free: 15.03 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006201/0.6324, allocations: 13.16 kB / 0.7632 GB, free: 15.02 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0005826/0.633, allocations: 135.7 kB / 0.7633 GB, free: 14.93 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.001752/0.6348, allocations: 0.5739 MB / 0.7639 GB, free: 14.63 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002483/0.6372, allocations: 0.8457 MB / 0.7647 GB, free: 14.22 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.001026/0.6383, allocations: 0.5841 MB / 0.7653 GB, free: 13.95 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004056/0.6387, allocations: 167.9 kB / 0.7654 GB, free: 13.87 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002059/0.6407, allocations: 0.7511 MB / 0.7662 GB, free: 13.54 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006988/0.6414, allocations: 281.1 kB / 0.7664 GB, free: 13.44 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 4.721e-05/0.6415, allocations: 21.97 kB / 0.7664 GB, free: 13.44 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001668/0.6432, allocations: 0.8623 MB / 0.7673 GB, free: 13.12 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0001232/0.6433, allocations: 100 kB / 0.7674 GB, free: 13.07 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0001283/0.6434, allocations: 81.34 kB / 0.7675 GB, free: 13.05 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.001073/0.6445, allocations: 0.735 MB / 0.7682 GB, free: 12.81 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.6445, allocations: 0 / 0.7682 GB, free: 12.81 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.763e-06/0.6445, allocations: 0 / 0.7682 GB, free: 12.81 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 7.113e-06/0.6445, allocations: 0.5 kB / 0.7682 GB, free: 12.81 MB / 0.6231 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.001186/0.6457, allocations: 0.5318 MB / 0.7687 GB, free: 12.35 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.599e-05/0.6457, allocations: 16.5 kB / 0.7687 GB, free: 12.35 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007071/0.6464, allocations: 83.05 kB / 0.7688 GB, free: 12.3 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004646/0.6469, allocations: 243.9 kB / 0.769 GB, free: 12.09 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.91e-05/0.6469, allocations: 12.34 kB / 0.769 GB, free: 12.09 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.294e-05/0.647, allocations: 20.84 kB / 0.7691 GB, free: 12.08 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005146/0.6475, allocations: 286.8 kB / 0.7693 GB, free: 11.87 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/0.6475, allocations: 0 / 0.7693 GB, free: 11.87 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.549e-05/0.6475, allocations: 6.531 kB / 0.7693 GB, free: 11.87 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.626e-06/0.6475, allocations: 8.281 kB / 0.7693 GB, free: 11.87 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004528/0.648, allocations: 209 kB / 0.7695 GB, free: 11.77 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001835/0.6498, allocations: 1.102 MB / 0.7706 GB, free: 10.78 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00033/0.6501, allocations: 173.4 kB / 0.7708 GB, free: 10.61 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002322/0.6504, allocations: 104.3 kB / 0.7709 GB, free: 10.54 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006436/0.651, allocations: 105.2 kB / 0.771 GB, free: 10.5 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.409e-05/0.6511, allocations: 46.27 kB / 0.771 GB, free: 10.45 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=13): time 1.513e-06/0.6511, allocations: 0 / 0.771 GB, free: 10.45 MB / 0.6231 GB Notification: Performance of matching and sorting (n=13): time 0.0007868/0.6519, allocations: 270.4 kB / 0.7713 GB, free: 10.3 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001111/0.652, allocations: 165.6 kB / 0.7714 GB, free: 10.11 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002065/0.6522, allocations: 204.5 kB / 0.7716 GB, free: 9.953 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.134e-05/0.6522, allocations: 32.58 kB / 0.7717 GB, free: 9.918 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001372/0.6523, allocations: 151 kB / 0.7718 GB, free: 9.777 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 4.875e-05/0.6524, allocations: 51.38 kB / 0.7719 GB, free: 9.734 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.562e-05/0.6525, allocations: 41.86 kB / 0.7719 GB, free: 9.703 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001576/0.6526, allocations: 325.6 kB / 0.7722 GB, free: 9.379 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001609/0.6528, allocations: 69.48 kB / 0.7723 GB, free: 9.348 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003119/0.6531, allocations: 248.1 kB / 0.7725 GB, free: 9.102 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004086/0.6535, allocations: 218.7 kB / 0.7727 GB, free: 8.945 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.6535, allocations: 0 / 0.7727 GB, free: 8.945 MB / 0.6231 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005334/0.654, allocations: 238.6 kB / 0.7729 GB, free: 8.812 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.08e-05/0.6541, allocations: 13.2 kB / 0.773 GB, free: 8.809 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.194e-06/0.6541, allocations: 1.625 kB / 0.773 GB, free: 8.809 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.364e-05/0.6541, allocations: 8.125 kB / 0.773 GB, free: 8.805 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001962/0.6543, allocations: 36.8 kB / 0.773 GB, free: 8.797 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.846e-06/0.6543, allocations: 2.75 kB / 0.773 GB, free: 8.797 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001769/0.6545, allocations: 25.33 kB / 0.773 GB, free: 8.781 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.332e-05/0.6545, allocations: 10.42 kB / 0.773 GB, free: 8.781 MB / 0.6231 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.0001703/0.6547, allocations: 157.2 kB / 0.7732 GB, free: 8.637 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001516/0.6548, allocations: 23.58 kB / 0.7732 GB, free: 8.621 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004879/0.6553, allocations: 184.5 kB / 0.7734 GB, free: 8.488 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.854e-06/0.6553, allocations: 6.781 kB / 0.7734 GB, free: 8.484 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.6553, allocations: 0 / 0.7734 GB, free: 8.484 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.359e-06/0.6553, allocations: 10.16 kB / 0.7734 GB, free: 8.477 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001001/0.6563, allocations: 0.7692 MB / 0.7742 GB, free: 7.777 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.6563, allocations: 0 / 0.7742 GB, free: 7.777 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000126/0.6565, allocations: 34.31 kB / 0.7742 GB, free: 7.762 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.377e-06/0.6565, allocations: 2.969 kB / 0.7742 GB, free: 7.762 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.202e-05/0.6565, allocations: 2.938 kB / 0.7742 GB, free: 7.762 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.6565, allocations: 160 / 0.7742 GB, free: 7.762 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.063e-06/0.6565, allocations: 6.531 kB / 0.7742 GB, free: 7.758 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005708/0.6571, allocations: 334.1 kB / 0.7745 GB, free: 7.496 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 5.71e-05/0.6571, allocations: 27.8 kB / 0.7745 GB, free: 7.477 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.345e-05/0.6571, allocations: 2.25 kB / 0.7746 GB, free: 7.477 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001428/0.6573, allocations: 6 kB / 0.7746 GB, free: 7.477 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.901e-05/0.6573, allocations: 21.02 kB / 0.7746 GB, free: 7.461 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.304e-06/0.6573, allocations: 2.062 kB / 0.7746 GB, free: 7.461 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001731/0.6575, allocations: 184.6 kB / 0.7748 GB, free: 7.332 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6575, allocations: 3.938 kB / 0.7748 GB, free: 7.328 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0004765/0.658, allocations: 104.8 kB / 0.7749 GB, free: 7.301 MB / 0.6231 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.0004483/0.6584, allocations: 210.4 kB / 0.7751 GB, free: 7.156 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0003905/0.6588, allocations: 151.7 kB / 0.7752 GB, free: 7.086 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.6588, allocations: 0 / 0.7752 GB, free: 7.086 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001467/0.659, allocations: 55.25 kB / 0.7753 GB, free: 7.062 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005361/0.6595, allocations: 77.28 kB / 0.7753 GB, free: 7.027 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007879/0.6603, allocations: 466 kB / 0.7758 GB, free: 6.672 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001378/0.6604, allocations: 146.3 kB / 0.7759 GB, free: 6.559 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001453/0.6606, allocations: 56.94 kB / 0.776 GB, free: 6.527 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.235e-05/0.6606, allocations: 19.66 kB / 0.776 GB, free: 6.52 MB / 0.6231 GB Notification: Performance of SimCode: time 3.2e-07/0.6606, allocations: 0 / 0.776 GB, free: 6.52 MB / 0.6231 GB Notification: Performance of Templates: time 0.008843/0.6695, allocations: 4.371 MB / 0.7803 GB, free: 4.32 MB / 0.6231 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.647226482629776] Failed to read output from testmodel.py, exit status != 0: 0.6786652058362961 0.690972517 0.043532221 Calling exit ...