Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 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: "" <> buildModelFMU(BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_SpecificEntropy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_SpecificEntropy",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001125/0.001125, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001207/0.001207, allocations: 197 kB / 16.53 MB, free: 6.664 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.286/1.286, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002074/0.002074, allocations: 294.9 kB / 290.7 MB, free: 1.98 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8866/0.8866, allocations: 169.3 MB / 0.4982 GB, free: 13.95 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001644/0.001644, allocations: 103.2 kB / 0.5954 GB, free: 27.96 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.132/0.1337, allocations: 86.97 MB / 0.6803 GB, free: 0.5977 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy): time 0.4408/0.5745, allocations: 163.2 MB / 0.8397 GB, free: 60 kB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.004506/0.579, allocations: 4.581 MB / 0.8442 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004467/0.5795, allocations: 13.38 kB / 0.8442 GB, free: 15.63 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0004394/0.58, allocations: 121.4 kB / 0.8443 GB, free: 15.58 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001255/0.5813, allocations: 0.5377 MB / 0.8448 GB, free: 15.45 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001705/0.583, allocations: 0.7641 MB / 0.8456 GB, free: 15.24 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0006033/0.5836, allocations: 0.5756 MB / 0.8461 GB, free: 14.99 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003112/0.5839, allocations: 215.7 kB / 0.8463 GB, free: 14.87 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009259/0.5849, allocations: 463.4 kB / 0.8468 GB, free: 14.63 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005325/0.5854, allocations: 290.8 kB / 0.847 GB, free: 14.49 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.644e-05/0.5855, allocations: 18.41 kB / 0.8471 GB, free: 14.49 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001608/0.5871, allocations: 0.9995 MB / 0.848 GB, free: 14.05 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001044/0.5872, allocations: 87.95 kB / 0.8481 GB, free: 14 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001291/0.5873, allocations: 126 kB / 0.8482 GB, free: 13.92 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0009753/0.5883, allocations: 0.7108 MB / 0.8489 GB, free: 13.55 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.636e-06/0.5883, allocations: 0 / 0.8489 GB, free: 13.55 MB / 0.5762 GB Notification: Performance of FrontEnd: time 3.186e-06/0.5883, allocations: 2.344 kB / 0.8489 GB, free: 13.55 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.196e-06/0.5884, allocations: 3.938 kB / 0.8489 GB, free: 13.54 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: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0008737/0.5892, allocations: 0.5934 MB / 0.8495 GB, free: 13 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.315e-05/0.5893, allocations: 10.06 kB / 0.8495 GB, free: 13 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.999e-05/0.5893, allocations: 53.58 kB / 0.8496 GB, free: 12.95 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006318/0.59, allocations: 78.09 kB / 0.8497 GB, free: 12.91 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003388/0.5903, allocations: 290.3 kB / 0.8499 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.455e-05/0.5903, allocations: 12.06 kB / 0.8499 GB, free: 12.63 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.127e-05/0.5904, allocations: 24.72 kB / 0.85 GB, free: 12.62 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004282/0.5908, allocations: 283.5 kB / 0.8502 GB, free: 12.41 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/0.5908, allocations: 0 / 0.8502 GB, free: 12.41 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.125e-05/0.5909, allocations: 6.344 kB / 0.8502 GB, free: 12.41 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.717e-06/0.5909, allocations: 8.906 kB / 0.8502 GB, free: 12.41 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003885/0.5913, allocations: 216.4 kB / 0.8505 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001373/0.5927, allocations: 1.245 MB / 0.8517 GB, free: 11.18 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002483/0.5929, allocations: 174.4 kB / 0.8518 GB, free: 11.01 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001776/0.5931, allocations: 112.5 kB / 0.8519 GB, free: 10.93 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006996/0.5938, allocations: 329.1 kB / 0.8523 GB, free: 10.61 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.526e-05/0.5938, allocations: 40.88 kB / 0.8523 GB, free: 10.56 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=13): time 1.343e-06/0.5939, allocations: 0 / 0.8523 GB, free: 10.56 MB / 0.5762 GB Notification: Performance of matching and sorting (n=13): time 0.0007399/0.5946, allocations: 288.4 kB / 0.8526 GB, free: 10.4 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.841e-05/0.5947, allocations: 161 kB / 0.8527 GB, free: 10.21 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002355/0.5949, allocations: 281.3 kB / 0.853 GB, free: 10.04 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.752e-05/0.595, allocations: 29.7 kB / 0.853 GB, free: 10 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 9.042e-05/0.5951, allocations: 144.7 kB / 0.8532 GB, free: 9.867 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.928e-05/0.5951, allocations: 51.16 kB / 0.8532 GB, free: 9.824 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.495e-05/0.5952, allocations: 46.02 kB / 0.8533 GB, free: 9.789 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001056/0.5953, allocations: 338.1 kB / 0.8536 GB, free: 9.457 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000151/0.5954, allocations: 66.16 kB / 0.8536 GB, free: 9.426 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002143/0.5957, allocations: 156.9 kB / 0.8538 GB, free: 9.293 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003462/0.596, allocations: 205.4 kB / 0.854 GB, free: 9.145 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.169e-06/0.596, allocations: 4.766 kB / 0.854 GB, free: 9.141 MB / 0.5762 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004857/0.5965, allocations: 243.4 kB / 0.8542 GB, free: 9.012 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/0.5966, allocations: 6.969 kB / 0.8542 GB, free: 9.012 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.5966, allocations: 2.5 kB / 0.8542 GB, free: 9.012 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.813e-05/0.5966, allocations: 2.875 kB / 0.8542 GB, free: 9.012 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001833/0.5968, allocations: 41.22 kB / 0.8543 GB, free: 9 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.796e-06/0.5968, allocations: 6.906 kB / 0.8543 GB, free: 8.996 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001781/0.597, allocations: 26.8 kB / 0.8543 GB, free: 8.98 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.978e-05/0.597, allocations: 14.91 kB / 0.8543 GB, free: 8.977 MB / 0.5762 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.000143/0.5972, allocations: 145.9 kB / 0.8545 GB, free: 8.84 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001428/0.5973, allocations: 32.56 kB / 0.8545 GB, free: 8.82 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004572/0.5978, allocations: 192.1 kB / 0.8547 GB, free: 8.676 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.441e-06/0.5978, allocations: 2.688 kB / 0.8547 GB, free: 8.676 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.5978, allocations: 2.25 kB / 0.8547 GB, free: 8.676 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.5978, allocations: 0 / 0.8547 GB, free: 8.676 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009128/0.5987, allocations: 0.8507 MB / 0.8555 GB, free: 7.875 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.5987, allocations: 5.156 kB / 0.8555 GB, free: 7.875 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001115/0.5989, allocations: 25.45 kB / 0.8555 GB, free: 7.867 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.34e-06/0.5989, allocations: 6.594 kB / 0.8555 GB, free: 7.863 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.24e-05/0.5989, allocations: 2.219 kB / 0.8555 GB, free: 7.863 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/0.5989, allocations: 2.094 kB / 0.8555 GB, free: 7.863 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.5989, allocations: 7.125 kB / 0.8556 GB, free: 7.859 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005127/0.5994, allocations: 339 kB / 0.8559 GB, free: 7.59 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 8.738e-05/0.5995, allocations: 125.3 kB / 0.856 GB, free: 7.461 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.894e-05/0.5996, allocations: 2.625 kB / 0.856 GB, free: 7.461 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000146/0.5997, allocations: 4.406 kB / 0.856 GB, free: 7.461 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.915e-05/0.5998, allocations: 17.61 kB / 0.856 GB, free: 7.449 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.394e-06/0.5998, allocations: 2.094 kB / 0.856 GB, free: 7.449 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002044/0.6, allocations: 232.5 kB / 0.8562 GB, free: 7.297 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6, allocations: 2.094 kB / 0.8562 GB, free: 7.297 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004372/0.6004, allocations: 99.05 kB / 0.8563 GB, free: 7.273 MB / 0.5762 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.001205/0.6016, allocations: 0.9873 MB / 0.8573 GB, free: 6.43 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0004025/0.6021, allocations: 155.1 kB / 0.8575 GB, free: 6.359 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.776e-06/0.6021, allocations: 3.938 kB / 0.8575 GB, free: 6.355 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001362/0.6022, allocations: 57 kB / 0.8575 GB, free: 6.332 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007459/0.603, allocations: 146.8 kB / 0.8577 GB, free: 6.262 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003068/0.606, allocations: 2.762 MB / 0.8603 GB, free: 4.125 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003472/0.6064, allocations: 0.762 MB / 0.8611 GB, free: 3.387 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002037/0.6066, allocations: 69.92 kB / 0.8612 GB, free: 3.352 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001038/0.6067, allocations: 74.84 kB / 0.8612 GB, free: 3.293 MB / 0.5762 GB Notification: Performance of SimCode: time 2.81e-07/0.6067, allocations: 0 / 0.8612 GB, free: 3.293 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02679/0.6335, allocations: 8.56 MB / 0.8696 GB, free: 15.03 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.146/7.78, allocations: 9.062 kB / 0.8696 GB, free: 15.03 MB / 0.5919 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_SpecificEntropy_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_SpecificEntropy.fmu > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1)