Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.SpecificEntropy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.SpecificEntropy,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Sensors_Examples_SpecificEntropy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.SpecificEntropy,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Sensors_Examples_SpecificEntropy",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 3.068/3.068, allocations: 287.5 MB / 302.4 MB, free: 8.328 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0016/0.0016, allocations: 182 kB / 371 MB, free: 10.87 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.256/2.256, allocations: 205.4 MB / 0.6297 GB, free: 10.58 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009933/0.0009928, allocations: 88.42 kB / 0.743 GB, free: 6.586 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0008481/0.0008487, allocations: 12.34 kB / 0.8659 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2806/0.2815, allocations: 115.3 MB / 0.9785 GB, free: 28.28 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEntropy): time 0.948/1.23, allocations: 148.2 MB / 1.123 GB, free: 1.109 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.008533/1.238, allocations: 4.258 MB / 1.127 GB, free: 0.793 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006285/1.239, allocations: 6.844 kB / 1.127 GB, free: 0.7891 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0006539/1.24, allocations: 89.98 kB / 1.127 GB, free: 0.7539 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.002077/1.242, allocations: 381 kB / 1.128 GB, free: 0.6602 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.002804/1.245, allocations: 0.5281 MB / 1.128 GB, free: 0.5781 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.001346/1.246, allocations: 0.6885 MB / 1.129 GB, free: 496 kB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005966/1.247, allocations: 156.6 kB / 1.129 GB, free: 476 kB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001531/1.248, allocations: 368.4 kB / 1.13 GB, free: 400 kB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001017/1.249, allocations: 274.7 kB / 1.13 GB, free: 348 kB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001026/1.249, allocations: 14.88 kB / 1.13 GB, free: 344 kB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002292/1.252, allocations: 0.5126 MB / 1.13 GB, free: 292 kB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0002298/1.252, allocations: 83.91 kB / 1.13 GB, free: 284 kB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0001965/1.252, allocations: 70.17 kB / 1.13 GB, free: 16.24 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001348/1.254, allocations: 407.5 kB / 1.131 GB, free: 16.21 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 9.768e-06/1.254, allocations: 0 / 1.131 GB, free: 16.21 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.066e-06/1.254, allocations: 6.625 kB / 1.131 GB, free: 16.2 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.265e-06/1.254, allocations: 3.938 kB / 1.131 GB, free: 16.2 MB / 0.698 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.001462/1.255, allocations: 0.5556 MB / 1.131 GB, free: 15.74 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.722e-05/1.255, allocations: 9.312 kB / 1.131 GB, free: 15.74 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001223/1.255, allocations: 53.14 kB / 1.131 GB, free: 15.7 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001058/1.256, allocations: 81.47 kB / 1.132 GB, free: 15.68 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006881/1.257, allocations: 270.2 kB / 1.132 GB, free: 15.47 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.112e-05/1.257, allocations: 14.78 kB / 1.132 GB, free: 15.47 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.346e-05/1.257, allocations: 18.81 kB / 1.132 GB, free: 15.47 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007872/1.258, allocations: 290.2 kB / 1.132 GB, free: 15.37 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.666e-05/1.258, allocations: 0 / 1.132 GB, free: 15.37 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.522e-05/1.258, allocations: 7.531 kB / 1.132 GB, free: 15.37 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.365e-05/1.258, allocations: 9.031 kB / 1.132 GB, free: 15.37 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007766/1.259, allocations: 214.8 kB / 1.132 GB, free: 15.36 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00443/1.264, allocations: 1.256 MB / 1.134 GB, free: 14.5 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005211/1.264, allocations: 187.5 kB / 1.134 GB, free: 14.36 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003526/1.264, allocations: 116.5 kB / 1.134 GB, free: 14.32 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001313/1.266, allocations: 346.9 kB / 1.134 GB, free: 14.04 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.964e-05/1.266, allocations: 34.69 kB / 1.134 GB, free: 13.99 MB / 0.698 GB Notification: Performance of pre-optimization done (n=13): time 6.473e-06/1.266, allocations: 4 kB / 1.134 GB, free: 13.99 MB / 0.698 GB Notification: Performance of matching and sorting (n=13): time 0.001341/1.267, allocations: 293.4 kB / 1.134 GB, free: 13.93 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001211/1.267, allocations: 161.6 kB / 1.135 GB, free: 13.74 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004582/1.268, allocations: 282 kB / 1.135 GB, free: 13.64 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.014e-05/1.268, allocations: 31.17 kB / 1.135 GB, free: 13.61 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001508/1.268, allocations: 145.3 kB / 1.135 GB, free: 13.52 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 6.862e-05/1.268, allocations: 44.16 kB / 1.135 GB, free: 13.49 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.708e-05/1.268, allocations: 3.312 kB / 1.135 GB, free: 13.49 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001735/1.268, allocations: 337.5 kB / 1.135 GB, free: 13.18 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003094/1.269, allocations: 76.41 kB / 1.135 GB, free: 13.17 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003704/1.269, allocations: 152.4 kB / 1.136 GB, free: 13.09 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003091/1.269, allocations: 86.08 kB / 1.136 GB, free: 13.08 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.899e-06/1.27, allocations: 384 / 1.136 GB, free: 13.08 MB / 0.698 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0009292/1.27, allocations: 257.2 kB / 1.136 GB, free: 13.02 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.04e-05/1.271, allocations: 10.25 kB / 1.136 GB, free: 13.02 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.208e-05/1.271, allocations: 3.281 kB / 1.136 GB, free: 13.02 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.251e-05/1.271, allocations: 6.906 kB / 1.136 GB, free: 13.02 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003522/1.271, allocations: 43.28 kB / 1.136 GB, free: 13.01 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.413e-05/1.271, allocations: 6.469 kB / 1.136 GB, free: 13.01 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004036/1.271, allocations: 35.39 kB / 1.136 GB, free: 13 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.643e-05/1.271, allocations: 11.58 kB / 1.136 GB, free: 13 MB / 0.698 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002568/1.272, allocations: 151.1 kB / 1.136 GB, free: 12.88 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002454/1.272, allocations: 30.2 kB / 1.136 GB, free: 12.86 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008123/1.273, allocations: 196.7 kB / 1.136 GB, free: 12.79 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.753e-06/1.273, allocations: 1.75 kB / 1.136 GB, free: 12.79 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.787e-06/1.273, allocations: 1.688 kB / 1.136 GB, free: 12.79 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.003e-05/1.273, allocations: 5.062 kB / 1.136 GB, free: 12.79 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001657/1.275, allocations: 0.8666 MB / 1.137 GB, free: 12.13 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.244e-06/1.275, allocations: 2.469 kB / 1.137 GB, free: 12.13 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00023/1.275, allocations: 28.64 kB / 1.137 GB, free: 12.13 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.031e-05/1.275, allocations: 3.562 kB / 1.137 GB, free: 12.13 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.982e-05/1.275, allocations: 3.938 kB / 1.137 GB, free: 12.13 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.244e-06/1.275, allocations: 4.781 kB / 1.137 GB, free: 12.13 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/1.275, allocations: 0 / 1.137 GB, free: 12.13 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009833/1.276, allocations: 358 kB / 1.138 GB, free: 11.93 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002232/1.276, allocations: 122.7 kB / 1.138 GB, free: 11.82 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.383e-05/1.276, allocations: 2.531 kB / 1.138 GB, free: 11.82 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002786/1.277, allocations: 11.75 kB / 1.138 GB, free: 11.82 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.551e-05/1.277, allocations: 21.56 kB / 1.138 GB, free: 11.82 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.471e-05/1.277, allocations: 3.688 kB / 1.138 GB, free: 11.82 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0003867/1.277, allocations: 232.2 kB / 1.138 GB, free: 11.73 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.7e-07/1.277, allocations: 96 / 1.138 GB, free: 11.73 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0007338/1.278, allocations: 104.1 kB / 1.138 GB, free: 11.71 MB / 0.698 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002083/1.28, allocations: 0.9803 MB / 1.139 GB, free: 10.97 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0007187/1.281, allocations: 167.2 kB / 1.139 GB, free: 10.95 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.518e-06/1.281, allocations: 0 / 1.139 GB, free: 10.95 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002531/1.281, allocations: 61.86 kB / 1.139 GB, free: 10.95 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001389/1.282, allocations: 128 kB / 1.139 GB, free: 10.94 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004288/1.287, allocations: 1.594 MB / 1.141 GB, free: 10.23 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004607/1.287, allocations: 0.7551 MB / 1.142 GB, free: 9.535 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0004815/1.288, allocations: 72.66 kB / 1.142 GB, free: 9.512 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001868/1.288, allocations: 75.61 kB / 1.142 GB, free: 9.5 MB / 0.698 GB Notification: Performance of SimCode: time 1.453e-06/1.288, allocations: 3.938 kB / 1.142 GB, free: 9.496 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04423/1.332, allocations: 7.919 MB / 1.15 GB, free: 6.359 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003568/1.333, allocations: 224.6 kB / 1.15 GB, free: 6.121 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.952/4.285, allocations: 0 / 1.15 GB, free: 6.121 MB / 0.698 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.SpecificEntropy.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Sensors_Examples_SpecificEntropy_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Sensors_Examples_SpecificEntropy.fmu > Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1)