Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate") translateModel(BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001405/0.001412, allocations: 102 kB / 16.35 MB, free: 5.828 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.001658/0.001658, allocations: 194.5 kB / 17.29 MB, free: 5.484 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.407/1.407, allocations: 222.9 MB / 241 MB, free: 4.164 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002139/0.002139, allocations: 279 kB / 291.4 MB, free: 1.77 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9455/0.9455, allocations: 169.3 MB / 0.4989 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001735/0.001735, allocations: 98.16 kB / 0.5967 GB, free: 27.55 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1448/0.1465, allocations: 86.97 MB / 0.6816 GB, free: 16 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate): time 0.4491/0.5956, allocations: 169.4 MB / 0.847 GB, free: 20 kB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.008022/0.6037, allocations: 7.146 MB / 0.854 GB, free: 10.91 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004635/0.6042, allocations: 12.12 kB / 0.854 GB, free: 10.91 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0005065/0.6047, allocations: 174.4 kB / 0.8542 GB, free: 10.75 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002838/0.6076, allocations: 1.262 MB / 0.8554 GB, free: 9.812 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001552/0.6092, allocations: 0.625 MB / 0.856 GB, free: 9.355 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0007119/0.6099, allocations: 0.7557 MB / 0.8568 GB, free: 8.926 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004176/0.6103, allocations: 297.6 kB / 0.8571 GB, free: 8.746 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009969/0.6113, allocations: 0.5743 MB / 0.8576 GB, free: 8.387 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006939/0.612, allocations: 420.3 kB / 0.858 GB, free: 8.148 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.001e-05/0.6121, allocations: 26.19 kB / 0.8581 GB, free: 8.148 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001811/0.6139, allocations: 1.239 MB / 0.8593 GB, free: 7.453 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001251/0.614, allocations: 125.7 kB / 0.8594 GB, free: 7.367 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001648/0.6142, allocations: 177.8 kB / 0.8596 GB, free: 7.254 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001067/0.6153, allocations: 0.9057 MB / 0.8604 GB, free: 6.707 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 2.495e-06/0.6153, allocations: 0 / 0.8604 GB, free: 6.707 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.082e-06/0.6153, allocations: 0 / 0.8604 GB, free: 6.707 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.392e-06/0.6153, allocations: 0 / 0.8604 GB, free: 6.707 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.0008634/0.6162, allocations: 0.6961 MB / 0.8611 GB, free: 6.098 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 2.966e-05/0.6162, allocations: 10.03 kB / 0.8611 GB, free: 6.098 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009418/0.6172, allocations: 125.1 kB / 0.8612 GB, free: 6.039 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004703/0.6176, allocations: 344.7 kB / 0.8616 GB, free: 5.719 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.376e-05/0.6177, allocations: 50.91 kB / 0.8616 GB, free: 5.676 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.941e-05/0.6178, allocations: 30.09 kB / 0.8617 GB, free: 5.664 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005827/0.6184, allocations: 371.4 kB / 0.862 GB, free: 5.426 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.6184, allocations: 0 / 0.862 GB, free: 5.426 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.21e-05/0.6184, allocations: 12.5 kB / 0.862 GB, free: 5.418 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.684e-06/0.6184, allocations: 9.312 kB / 0.862 GB, free: 5.414 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004712/0.6189, allocations: 274.6 kB / 0.8623 GB, free: 5.281 MB / 0.5762 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001773/0.6207, allocations: 1.483 MB / 0.8637 GB, free: 3.934 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003731/0.6211, allocations: 205.2 kB / 0.8639 GB, free: 3.816 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002012/0.6213, allocations: 118.8 kB / 0.864 GB, free: 3.758 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008845/0.6222, allocations: 0.5071 MB / 0.8645 GB, free: 3.234 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.848e-05/0.6222, allocations: 34.56 kB / 0.8646 GB, free: 3.191 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=15): time 1.302e-06/0.6222, allocations: 0 / 0.8646 GB, free: 3.191 MB / 0.5762 GB Notification: Performance of matching and sorting (n=15): time 0.0008684/0.6231, allocations: 352.3 kB / 0.8649 GB, free: 3.016 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.362e-05/0.6232, allocations: 62.11 kB / 0.865 GB, free: 2.945 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002866/0.6234, allocations: 312.2 kB / 0.8653 GB, free: 2.742 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.982e-05/0.6235, allocations: 33.64 kB / 0.8653 GB, free: 2.703 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001195/0.6236, allocations: 183.9 kB / 0.8655 GB, free: 2.539 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.283e-05/0.6237, allocations: 52.61 kB / 0.8655 GB, free: 2.492 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.7e-05/0.6237, allocations: 43.23 kB / 0.8656 GB, free: 2.461 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001163/0.6239, allocations: 338.5 kB / 0.8659 GB, free: 2.129 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001992/0.6241, allocations: 89.77 kB / 0.866 GB, free: 2.086 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002153/0.6243, allocations: 141 kB / 0.8661 GB, free: 1.984 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003976/0.6247, allocations: 239.8 kB / 0.8663 GB, free: 1.832 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.312e-06/0.6247, allocations: 3.938 kB / 0.8663 GB, free: 1.828 MB / 0.5762 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005895/0.6253, allocations: 291.5 kB / 0.8666 GB, free: 1.668 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.226e-05/0.6253, allocations: 7.75 kB / 0.8666 GB, free: 1.668 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.022e-06/0.6253, allocations: 0 / 0.8666 GB, free: 1.668 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-05/0.6254, allocations: 5.281 kB / 0.8666 GB, free: 1.668 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002192/0.6256, allocations: 45.91 kB / 0.8667 GB, free: 1.652 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.935e-06/0.6256, allocations: 2.125 kB / 0.8667 GB, free: 1.652 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001904/0.6258, allocations: 26.39 kB / 0.8667 GB, free: 1.637 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.435e-05/0.6258, allocations: 13.91 kB / 0.8667 GB, free: 1.633 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (20): * Single equations (assignments): 20 * 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.0001392/0.626, allocations: 153 kB / 0.8669 GB, free: 1.492 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001046/0.6261, allocations: 34.53 kB / 0.8669 GB, free: 1.473 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006322/0.6267, allocations: 309.8 kB / 0.8672 GB, free: 1.293 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.566e-06/0.6268, allocations: 2.281 kB / 0.8672 GB, free: 1.293 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.6268, allocations: 0 / 0.8672 GB, free: 1.293 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.592e-06/0.6268, allocations: 3.984 kB / 0.8672 GB, free: 1.289 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001218/0.628, allocations: 0.8185 MB / 0.868 GB, free: 0.6328 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.628, allocations: 0 / 0.868 GB, free: 0.6328 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001797/0.6282, allocations: 35.22 kB / 0.868 GB, free: 0.625 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.396e-06/0.6282, allocations: 2.5 kB / 0.868 GB, free: 0.625 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.395e-05/0.6283, allocations: 13.25 kB / 0.868 GB, free: 0.6172 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.155e-06/0.6283, allocations: 10.31 kB / 0.8681 GB, free: 0.6094 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/0.6283, allocations: 1.781 kB / 0.8681 GB, free: 0.6094 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005392/0.6288, allocations: 395.1 kB / 0.8684 GB, free: 316 kB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001494/0.629, allocations: 144.1 kB / 0.8686 GB, free: 172 kB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.836e-05/0.629, allocations: 13.28 kB / 0.8686 GB, free: 164 kB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002308/0.6293, allocations: 11.64 kB / 0.8686 GB, free: 160 kB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.393e-05/0.6293, allocations: 14.86 kB / 0.8686 GB, free: 152 kB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.497e-05/0.6294, allocations: 12.11 kB / 0.8686 GB, free: 148 kB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001917/0.6296, allocations: 226 kB / 0.8688 GB, free: 0 / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6296, allocations: 0 / 0.8688 GB, free: 0 / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004883/0.6301, allocations: 117 kB / 0.8689 GB, free: 15.97 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 simulation (16): * Single equations (assignments): 16 * 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.0005157/0.6306, allocations: 235.3 kB / 0.8692 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0004721/0.6311, allocations: 222.5 kB / 0.8694 GB, free: 15.72 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.6311, allocations: 4.062 kB / 0.8694 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002153/0.6313, allocations: 114.6 kB / 0.8695 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000781/0.6321, allocations: 169.1 kB / 0.8697 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000922/0.633, allocations: 0.5804 MB / 0.8702 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003001/0.6333, allocations: 0.7906 MB / 0.871 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002331/0.6336, allocations: 96.34 kB / 0.8711 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.551e-05/0.6337, allocations: 31.67 kB / 0.8711 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of SimCode: time 3.41e-07/0.6337, allocations: 0 / 0.8711 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of Templates: time 0.01123/0.6449, allocations: 7.281 MB / 0.8782 GB, free: 10.75 MB / 0.5919 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate.sim & ./BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1)