Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.SpecificEntropy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Annex60.Fluid.Sensors.Examples.SpecificEntropy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.SpecificEntropy") translateModel(Annex60.Fluid.Sensors.Examples.SpecificEntropy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.SpecificEntropy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001101/0.001101, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001241/0.001241, allocations: 192.1 kB / 16.13 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.54/1.54, allocations: 205.1 MB / 222 MB, free: 4.77 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4454/0.4454, allocations: 54.94 MB / 324.3 MB, free: 112 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001307/0.001307, allocations: 68.42 kB / 394.7 MB, free: 12.21 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1332/0.1345, allocations: 59.59 MB / 454.3 MB, free: 0.5625 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Sensors.Examples.SpecificEntropy): time 0.3847/0.5192, allocations: 161 MB / 0.6009 GB, free: 6.828 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.00594/0.5252, allocations: 4.59 MB / 0.6054 GB, free: 2.23 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004958/0.5258, allocations: 11.94 kB / 0.6054 GB, free: 2.219 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000812/0.5266, allocations: 175.1 kB / 0.6055 GB, free: 2.047 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001855/0.5285, allocations: 0.6692 MB / 0.6062 GB, free: 1.375 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002436/0.531, allocations: 0.7874 MB / 0.607 GB, free: 0.5898 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001592/0.5326, allocations: 1.299 MB / 0.6082 GB, free: 15.29 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003967/0.533, allocations: 233.4 kB / 0.6085 GB, free: 15.06 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001199/0.5342, allocations: 0.5447 MB / 0.609 GB, free: 14.52 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005803/0.5348, allocations: 374.7 kB / 0.6093 GB, free: 14.15 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 7.281e-05/0.5349, allocations: 20 kB / 0.6094 GB, free: 14.13 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002147/0.537, allocations: 1.181 MB / 0.6105 GB, free: 12.95 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000173/0.5372, allocations: 139.6 kB / 0.6107 GB, free: 12.81 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002468/0.5375, allocations: 211.1 kB / 0.6109 GB, free: 12.6 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001462/0.5389, allocations: 1.013 MB / 0.6118 GB, free: 11.59 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.572e-06/0.5389, allocations: 4 kB / 0.6118 GB, free: 11.58 MB / 494.1 MB Notification: Performance of FrontEnd: time 9.21e-07/0.539, allocations: 3.938 kB / 0.6119 GB, free: 11.58 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.913e-06/0.539, allocations: 4 kB / 0.6119 GB, free: 11.57 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001521/0.5405, allocations: 0.7221 MB / 0.6126 GB, free: 10.81 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.118e-05/0.5406, allocations: 8.031 kB / 0.6126 GB, free: 10.8 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008832/0.5414, allocations: 99.48 kB / 0.6127 GB, free: 10.7 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005602/0.542, allocations: 341.4 kB / 0.613 GB, free: 10.33 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.223e-05/0.5421, allocations: 20.66 kB / 0.613 GB, free: 10.31 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.637e-05/0.5421, allocations: 32 kB / 0.613 GB, free: 10.28 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008747/0.543, allocations: 433.8 kB / 0.6135 GB, free: 9.84 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.404e-05/0.543, allocations: 0 / 0.6135 GB, free: 9.84 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.884e-05/0.5431, allocations: 15.98 kB / 0.6135 GB, free: 9.824 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.614e-05/0.5431, allocations: 15.94 kB / 0.6135 GB, free: 9.809 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006952/0.5438, allocations: 338.9 kB / 0.6138 GB, free: 9.477 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002641/0.5465, allocations: 1.537 MB / 0.6153 GB, free: 7.832 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002484/0.5467, allocations: 98.45 kB / 0.6154 GB, free: 7.727 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002049/0.547, allocations: 68.81 kB / 0.6155 GB, free: 7.656 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008448/0.5478, allocations: 323.2 kB / 0.6158 GB, free: 7.285 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.66e-05/0.5479, allocations: 43.88 kB / 0.6158 GB, free: 7.234 MB / 494.1 MB Notification: Performance of pre-optimization done (n=10): time 2.504e-06/0.5479, allocations: 0 / 0.6158 GB, free: 7.234 MB / 494.1 MB Notification: Performance of matching and sorting (n=10): time 0.0007532/0.5486, allocations: 243 kB / 0.616 GB, free: 6.992 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.567e-05/0.5487, allocations: 51.41 kB / 0.6161 GB, free: 6.93 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004748/0.5492, allocations: 433.5 kB / 0.6165 GB, free: 6.5 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.077e-05/0.5492, allocations: 33.7 kB / 0.6165 GB, free: 6.461 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001729/0.5494, allocations: 219.6 kB / 0.6168 GB, free: 6.242 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.568e-05/0.5494, allocations: 43.39 kB / 0.6168 GB, free: 6.199 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001033/0.5496, allocations: 60.11 kB / 0.6169 GB, free: 6.137 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001301/0.5497, allocations: 342.8 kB / 0.6172 GB, free: 5.793 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002024/0.5499, allocations: 91.92 kB / 0.6173 GB, free: 5.703 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002592/0.5502, allocations: 193.6 kB / 0.6175 GB, free: 5.465 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004364/0.5506, allocations: 295.2 kB / 0.6177 GB, free: 5.129 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.5506, allocations: 0 / 0.6177 GB, free: 5.129 MB / 494.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007002/0.5513, allocations: 340.8 kB / 0.6181 GB, free: 4.789 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.934e-05/0.5514, allocations: 8 kB / 0.6181 GB, free: 4.781 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.5514, allocations: 7.938 kB / 0.6181 GB, free: 4.773 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.654e-05/0.5514, allocations: 4 kB / 0.6181 GB, free: 4.77 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002653/0.5517, allocations: 60.75 kB / 0.6181 GB, free: 4.711 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.289e-05/0.5517, allocations: 8.547 kB / 0.6181 GB, free: 4.703 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003445/0.552, allocations: 51.92 kB / 0.6182 GB, free: 4.652 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.624e-05/0.5521, allocations: 12.56 kB / 0.6182 GB, free: 4.641 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (29): * Single equations (assignments): 29 * 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.0001676/0.5523, allocations: 173.6 kB / 0.6184 GB, free: 4.461 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001146/0.5524, allocations: 39.62 kB / 0.6184 GB, free: 4.422 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004749/0.5529, allocations: 201.2 kB / 0.6186 GB, free: 4.215 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.5529, allocations: 0 / 0.6186 GB, free: 4.215 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.012e-06/0.5529, allocations: 0 / 0.6186 GB, free: 4.215 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.5529, allocations: 8 kB / 0.6186 GB, free: 4.207 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006936/0.5536, allocations: 0.535 MB / 0.6191 GB, free: 3.609 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.5536, allocations: 1.375 kB / 0.6191 GB, free: 3.609 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000103/0.5537, allocations: 23.92 kB / 0.6192 GB, free: 3.586 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.5537, allocations: 0 / 0.6192 GB, free: 3.586 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.418e-05/0.5538, allocations: 8 kB / 0.6192 GB, free: 3.578 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.933e-06/0.5538, allocations: 4.906 kB / 0.6192 GB, free: 3.574 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/0.5538, allocations: 3.938 kB / 0.6192 GB, free: 3.57 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005119/0.5543, allocations: 297.4 kB / 0.6195 GB, free: 3.258 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001509/0.5545, allocations: 136.8 kB / 0.6196 GB, free: 3.105 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.138e-05/0.5545, allocations: 8 kB / 0.6196 GB, free: 3.098 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000345/0.5549, allocations: 15.48 kB / 0.6196 GB, free: 3.086 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.124e-05/0.5549, allocations: 15.86 kB / 0.6196 GB, free: 3.07 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.077e-05/0.555, allocations: 15.98 kB / 0.6196 GB, free: 3.055 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0003891/0.5554, allocations: 331.1 kB / 0.62 GB, free: 2.734 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.5554, allocations: 1.125 kB / 0.62 GB, free: 2.734 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0005598/0.556, allocations: 135.9 kB / 0.6201 GB, free: 2.602 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (7): * Single equations (assignments): 7 * 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.0005137/0.5565, allocations: 216.3 kB / 0.6203 GB, free: 2.391 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0004162/0.5569, allocations: 180.9 kB / 0.6205 GB, free: 2.215 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.5569, allocations: 0 / 0.6205 GB, free: 2.215 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001198/0.557, allocations: 47.91 kB / 0.6205 GB, free: 2.168 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001009/0.5581, allocations: 179.3 kB / 0.6207 GB, free: 1.996 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001008/0.5591, allocations: 0.699 MB / 0.6214 GB, free: 1.27 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003621/0.5595, allocations: 0.7921 MB / 0.6221 GB, free: 464 kB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0003162/0.5598, allocations: 84.66 kB / 0.6222 GB, free: 380 kB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.708e-05/0.5599, allocations: 27.44 kB / 0.6222 GB, free: 352 kB / 494.1 MB Notification: Performance of SimCode: time 2.61e-07/0.5599, allocations: 0 / 0.6222 GB, free: 352 kB / 494.1 MB Notification: Performance of Templates: time 0.01317/0.573, allocations: 7.952 MB / 0.63 GB, free: 8.516 MB / 0.4981 GB make -j1 -f Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.SpecificEntropy.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.SpecificEntropy.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.SpecificEntropy.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.SpecificEntropy.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.SpecificEntropy.sim & ./Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.SpecificEntropy -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1)