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 2.609/2.609, allocations: 287.3 MB / 302.3 MB, free: 8.281 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.003009/0.003009, allocations: 182.9 kB / 370.8 MB, free: 10.85 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.25/2.25, allocations: 205.4 MB / 0.6295 GB, free: 10.57 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.001086/0.001086, allocations: 89.69 kB / 0.7428 GB, free: 6.602 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005146/0.0005147, allocations: 15.5 kB / 0.8657 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2514/0.252, allocations: 115.3 MB / 0.9783 GB, free: 28.31 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEntropy): time 0.904/1.156, allocations: 137 MB / 1.112 GB, free: 1.246 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.00745/1.164, allocations: 3.574 MB / 1.116 GB, free: 0.9883 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004037/1.164, allocations: 8.781 kB / 1.116 GB, free: 0.9844 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0008486/1.165, allocations: 154.5 kB / 1.116 GB, free: 0.957 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.001658/1.167, allocations: 362.8 kB / 1.116 GB, free: 0.9375 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.002893/1.17, allocations: 0.5698 MB / 1.117 GB, free: 0.9102 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.0009978/1.171, allocations: 341.9 kB / 1.117 GB, free: 0.8984 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004579/1.171, allocations: 169.8 kB / 1.117 GB, free: 0.8789 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001202/1.172, allocations: 333.6 kB / 1.117 GB, free: 0.8359 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007105/1.173, allocations: 216.5 kB / 1.118 GB, free: 0.8047 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 4.557e-05/1.173, allocations: 10.72 kB / 1.118 GB, free: 0.8047 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001799/1.175, allocations: 433.8 kB / 1.118 GB, free: 0.7891 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0001554/1.175, allocations: 74.95 kB / 1.118 GB, free: 0.7812 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0001112/1.175, allocations: 78.23 kB / 1.118 GB, free: 0.7344 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.000909/1.176, allocations: 353.7 kB / 1.119 GB, free: 0.707 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.339e-06/1.176, allocations: 3.625 kB / 1.119 GB, free: 0.707 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.216e-06/1.176, allocations: 0 / 1.119 GB, free: 0.707 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 6.593e-06/1.176, allocations: 3.328 kB / 1.119 GB, free: 0.707 MB / 0.6823 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.001141/1.177, allocations: 0.5314 MB / 1.119 GB, free: 16.26 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.782e-05/1.177, allocations: 12.02 kB / 1.119 GB, free: 16.26 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.107e-05/1.177, allocations: 52.89 kB / 1.119 GB, free: 16.22 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009718/1.178, allocations: 79.7 kB / 1.119 GB, free: 16.2 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005163/1.179, allocations: 266.6 kB / 1.119 GB, free: 15.99 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.6e-05/1.179, allocations: 16.5 kB / 1.119 GB, free: 15.99 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.264e-05/1.179, allocations: 23.16 kB / 1.119 GB, free: 15.98 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007566/1.18, allocations: 281.5 kB / 1.12 GB, free: 15.89 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.645e-05/1.18, allocations: 4.688 kB / 1.12 GB, free: 15.89 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.676e-05/1.18, allocations: 11.47 kB / 1.12 GB, free: 15.89 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.013e-05/1.18, allocations: 6.156 kB / 1.12 GB, free: 15.89 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000738/1.181, allocations: 214.9 kB / 1.12 GB, free: 15.88 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002263/1.183, allocations: 1.27 MB / 1.121 GB, free: 15.02 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000439/1.183, allocations: 197.3 kB / 1.121 GB, free: 14.88 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006416/1.184, allocations: 136.8 kB / 1.122 GB, free: 14.79 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.189e-05/1.184, allocations: 41.36 kB / 1.122 GB, free: 14.74 MB / 0.698 GB Notification: Performance of pre-optimization done (n=13): time 3.016e-06/1.184, allocations: 0 / 1.122 GB, free: 14.74 MB / 0.698 GB Notification: Performance of matching and sorting (n=13): time 0.001277/1.185, allocations: 323.4 kB / 1.122 GB, free: 14.69 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001077/1.186, allocations: 163.3 kB / 1.122 GB, free: 14.5 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004277/1.186, allocations: 281.8 kB / 1.122 GB, free: 14.39 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.486e-05/1.186, allocations: 29.92 kB / 1.122 GB, free: 14.36 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001377/1.186, allocations: 149.1 kB / 1.122 GB, free: 14.27 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 6.468e-05/1.186, allocations: 45.42 kB / 1.123 GB, free: 14.24 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.807e-05/1.186, allocations: 6.125 kB / 1.123 GB, free: 14.24 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001695/1.187, allocations: 331.9 kB / 1.123 GB, free: 13.93 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003039/1.187, allocations: 83.55 kB / 1.123 GB, free: 13.93 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000404/1.187, allocations: 165.6 kB / 1.123 GB, free: 13.84 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003426/1.188, allocations: 102.8 kB / 1.123 GB, free: 13.83 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/1.188, allocations: 0 / 1.123 GB, free: 13.83 MB / 0.698 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0009084/1.189, allocations: 282.9 kB / 1.123 GB, free: 13.77 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.153e-05/1.189, allocations: 9.562 kB / 1.123 GB, free: 13.77 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.136e-06/1.189, allocations: 0 / 1.123 GB, free: 13.77 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.999e-05/1.189, allocations: 5.406 kB / 1.123 GB, free: 13.77 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000362/1.189, allocations: 49 kB / 1.123 GB, free: 13.76 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.098e-05/1.189, allocations: 2.969 kB / 1.123 GB, free: 13.76 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003649/1.189, allocations: 35.47 kB / 1.124 GB, free: 13.74 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.907e-05/1.189, allocations: 10.91 kB / 1.124 GB, free: 13.74 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.0002299/1.19, allocations: 147.8 kB / 1.124 GB, free: 13.62 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001911/1.19, allocations: 31.48 kB / 1.124 GB, free: 13.61 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008364/1.191, allocations: 226.8 kB / 1.124 GB, free: 13.55 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.793e-06/1.191, allocations: 2.375 kB / 1.124 GB, free: 13.55 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.044e-05/1.191, allocations: 3.875 kB / 1.124 GB, free: 13.55 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/1.191, allocations: 4.016 kB / 1.124 GB, free: 13.55 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002542/1.193, allocations: 0.9253 MB / 1.125 GB, free: 12.9 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.154e-05/1.193, allocations: 2.844 kB / 1.125 GB, free: 12.9 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004447/1.194, allocations: 31.86 kB / 1.125 GB, free: 12.89 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.361e-05/1.194, allocations: 6.203 kB / 1.125 GB, free: 12.89 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.358e-05/1.194, allocations: 12.19 kB / 1.125 GB, free: 12.89 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.246e-06/1.194, allocations: 0 / 1.125 GB, free: 12.89 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.232e-06/1.194, allocations: 1.656 kB / 1.125 GB, free: 12.89 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002038/1.196, allocations: 495.6 kB / 1.125 GB, free: 12.61 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003431/1.196, allocations: 113 kB / 1.125 GB, free: 12.5 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000133/1.197, allocations: 4.734 kB / 1.125 GB, free: 12.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005337/1.197, allocations: 13.89 kB / 1.125 GB, free: 12.5 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001041/1.197, allocations: 17.48 kB / 1.126 GB, free: 12.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.355e-05/1.197, allocations: 5.312 kB / 1.126 GB, free: 12.5 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0005278/1.198, allocations: 223.8 kB / 1.126 GB, free: 12.41 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.282e-06/1.198, allocations: 0 / 1.126 GB, free: 12.41 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001512/1.199, allocations: 98.06 kB / 1.126 GB, free: 12.39 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 (12): * Single equations (assignments): 12 * 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.003539/1.203, allocations: 1.467 MB / 1.127 GB, free: 11.23 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.00116/1.204, allocations: 183.1 kB / 1.127 GB, free: 11.22 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.036e-05/1.204, allocations: 0.5 kB / 1.127 GB, free: 11.22 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005174/1.205, allocations: 96.12 kB / 1.128 GB, free: 11.21 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001859/1.207, allocations: 126.4 kB / 1.128 GB, free: 11.2 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007281/1.214, allocations: 2.839 MB / 1.13 GB, free: 9.301 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006442/1.215, allocations: 0.7674 MB / 1.131 GB, free: 8.602 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0006922/1.216, allocations: 68.23 kB / 1.131 GB, free: 8.586 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002631/1.216, allocations: 75.17 kB / 1.131 GB, free: 8.578 MB / 0.698 GB Notification: Performance of SimCode: time 1.463e-06/1.216, allocations: 4 kB / 1.131 GB, free: 8.574 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05108/1.267, allocations: 8.079 MB / 1.139 GB, free: 5.832 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003211/1.267, allocations: 217.7 kB / 1.139 GB, free: 5.594 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.903/4.171, allocations: 0 / 1.139 GB, free: 5.594 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)