Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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(BuildSysPro.IBPSA.Fluid.Sensors.Examples.SpecificEntropy,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_SpecificEntropy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Sensors.Examples.SpecificEntropy,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_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.00495/0.00495, allocations: 99.75 kB / 15.73 MB, free: 6.441 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.001169/0.001169, allocations: 199.7 kB / 16.67 MB, free: 6.352 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.335/1.335, allocations: 222.9 MB / 240.4 MB, free: 4.285 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.9613/0.9613, allocations: 143 MB / 433.6 MB, free: 11.44 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001326/0.001326, allocations: 63.91 kB / 0.5951 GB, free: 8.844 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3963/0.3976, allocations: 82.04 MB / 0.6752 GB, free: 1.172 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Sensors.Examples.SpecificEntropy): time 0.1649/0.5626, allocations: 163.3 MB / 0.8346 GB, free: 2.508 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.00586/0.5685, allocations: 4.589 MB / 0.8391 GB, free: 13.91 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004676/0.569, allocations: 11.94 kB / 0.8391 GB, free: 13.9 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0004679/0.5695, allocations: 119.1 kB / 0.8392 GB, free: 13.78 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.001271/0.5708, allocations: 0.5639 MB / 0.8398 GB, free: 13.21 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.001716/0.5725, allocations: 0.7787 MB / 0.8405 GB, free: 12.44 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.0005882/0.5731, allocations: 0.5768 MB / 0.8411 GB, free: 11.86 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003328/0.5735, allocations: 217.1 kB / 0.8413 GB, free: 11.65 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008886/0.5744, allocations: 486.2 kB / 0.8418 GB, free: 11.17 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004999/0.5749, allocations: 285.2 kB / 0.8421 GB, free: 10.89 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 3.698e-05/0.5749, allocations: 20 kB / 0.8421 GB, free: 10.88 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001373/0.5763, allocations: 1.009 MB / 0.8431 GB, free: 9.863 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 9.384e-05/0.5764, allocations: 91.78 kB / 0.8431 GB, free: 9.773 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0001236/0.5766, allocations: 123.4 kB / 0.8433 GB, free: 9.652 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.0009256/0.5775, allocations: 0.7355 MB / 0.844 GB, free: 8.918 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.5775, allocations: 0 / 0.844 GB, free: 8.918 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.363e-06/0.5775, allocations: 0 / 0.844 GB, free: 8.918 MB / 0.67 GB Notification: Performance of Transformations before backend: time 6.693e-06/0.5775, allocations: 4 kB / 0.844 GB, free: 8.914 MB / 0.67 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.0008998/0.5784, allocations: 0.6068 MB / 0.8446 GB, free: 8.258 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.86e-05/0.5785, allocations: 11.97 kB / 0.8446 GB, free: 8.246 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.441e-05/0.5785, allocations: 50.55 kB / 0.8446 GB, free: 8.188 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006558/0.5792, allocations: 75.69 kB / 0.8447 GB, free: 8.113 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004415/0.5797, allocations: 303.5 kB / 0.845 GB, free: 7.777 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.119e-05/0.5797, allocations: 16 kB / 0.845 GB, free: 7.762 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.827e-05/0.5797, allocations: 16 kB / 0.845 GB, free: 7.746 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004896/0.5802, allocations: 279.5 kB / 0.8453 GB, free: 7.445 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.481e-05/0.5803, allocations: 7.938 kB / 0.8453 GB, free: 7.438 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.592e-05/0.5803, allocations: 11.94 kB / 0.8453 GB, free: 7.426 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.215e-06/0.5803, allocations: 4 kB / 0.8453 GB, free: 7.422 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004278/0.5807, allocations: 211.5 kB / 0.8455 GB, free: 7.215 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001709/0.5825, allocations: 1.246 MB / 0.8467 GB, free: 5.891 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002928/0.5828, allocations: 165 kB / 0.8469 GB, free: 5.684 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002042/0.583, allocations: 116.2 kB / 0.847 GB, free: 5.555 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007472/0.5837, allocations: 331.3 kB / 0.8473 GB, free: 5.176 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.385e-05/0.5838, allocations: 42.55 kB / 0.8474 GB, free: 5.125 MB / 0.67 GB Notification: Performance of pre-optimization done (n=13): time 1.593e-06/0.5838, allocations: 0 / 0.8474 GB, free: 5.125 MB / 0.67 GB Notification: Performance of matching and sorting (n=13): time 0.0007671/0.5846, allocations: 281.9 kB / 0.8476 GB, free: 4.844 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.011e-05/0.5846, allocations: 158.2 kB / 0.8478 GB, free: 4.652 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000272/0.5849, allocations: 283.1 kB / 0.848 GB, free: 4.375 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 2.515e-05/0.585, allocations: 33.64 kB / 0.8481 GB, free: 4.336 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001042/0.5851, allocations: 147.9 kB / 0.8482 GB, free: 4.188 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 4.705e-05/0.5851, allocations: 51.59 kB / 0.8483 GB, free: 4.137 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.415e-05/0.5852, allocations: 41.83 kB / 0.8483 GB, free: 4.09 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001266/0.5853, allocations: 334.8 kB / 0.8486 GB, free: 3.754 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001737/0.5855, allocations: 67.94 kB / 0.8487 GB, free: 3.688 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002167/0.5857, allocations: 156.4 kB / 0.8488 GB, free: 3.504 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003622/0.5861, allocations: 211.5 kB / 0.849 GB, free: 3.27 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.5861, allocations: 0 / 0.849 GB, free: 3.27 MB / 0.67 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004907/0.5866, allocations: 241.5 kB / 0.8493 GB, free: 3.027 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.102e-05/0.5867, allocations: 8.031 kB / 0.8493 GB, free: 3.02 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.498e-06/0.5867, allocations: 7.938 kB / 0.8493 GB, free: 3.012 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/0.5867, allocations: 0 / 0.8493 GB, free: 3.012 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001987/0.5869, allocations: 47.91 kB / 0.8493 GB, free: 2.965 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.937e-06/0.5869, allocations: 0 / 0.8493 GB, free: 2.965 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000193/0.5871, allocations: 39.7 kB / 0.8494 GB, free: 2.926 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.455e-05/0.5872, allocations: 12 kB / 0.8494 GB, free: 2.914 MB / 0.67 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.0001658/0.5873, allocations: 150.4 kB / 0.8495 GB, free: 2.758 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001485/0.5875, allocations: 31.84 kB / 0.8496 GB, free: 2.727 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004735/0.588, allocations: 181.8 kB / 0.8497 GB, free: 2.531 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.853e-06/0.588, allocations: 4 kB / 0.8497 GB, free: 2.527 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.588, allocations: 0 / 0.8497 GB, free: 2.527 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.182e-06/0.588, allocations: 3.938 kB / 0.8497 GB, free: 2.523 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009575/0.589, allocations: 0.855 MB / 0.8506 GB, free: 1.594 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.589, allocations: 0 / 0.8506 GB, free: 1.594 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001218/0.5891, allocations: 27.92 kB / 0.8506 GB, free: 1.566 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.769e-06/0.5891, allocations: 0 / 0.8506 GB, free: 1.566 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.706e-05/0.5891, allocations: 15.92 kB / 0.8506 GB, free: 1.551 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.5892, allocations: 0 / 0.8506 GB, free: 1.551 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.5892, allocations: 4 kB / 0.8506 GB, free: 1.547 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000551/0.5897, allocations: 335.6 kB / 0.8509 GB, free: 1.188 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001032/0.5898, allocations: 117 kB / 0.8511 GB, free: 1.055 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.162e-05/0.5899, allocations: 8 kB / 0.8511 GB, free: 1.047 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000154/0.59, allocations: 7.984 kB / 0.8511 GB, free: 1.039 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.579e-05/0.5901, allocations: 8 kB / 0.8511 GB, free: 1.031 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.937e-06/0.5901, allocations: 8.219 kB / 0.8511 GB, free: 1.023 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0002363/0.5904, allocations: 241.8 kB / 0.8513 GB, free: 0.7852 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5904, allocations: 0 / 0.8513 GB, free: 0.7852 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0004887/0.5909, allocations: 99.8 kB / 0.8514 GB, free: 0.6875 MB / 0.67 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.001314/0.5922, allocations: 0.9893 MB / 0.8524 GB, free: 15.66 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0004143/0.5926, allocations: 151.8 kB / 0.8525 GB, free: 15.52 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.5926, allocations: 0 / 0.8525 GB, free: 15.52 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0001406/0.5928, allocations: 63.83 kB / 0.8526 GB, free: 15.45 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007942/0.5936, allocations: 147.7 kB / 0.8527 GB, free: 15.31 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003286/0.5969, allocations: 2.764 MB / 0.8554 GB, free: 12.39 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002992/0.5972, allocations: 0.7558 MB / 0.8562 GB, free: 11.61 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.000178/0.5974, allocations: 58.89 kB / 0.8562 GB, free: 11.55 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001305/0.5975, allocations: 79.41 kB / 0.8563 GB, free: 11.47 MB / 0.6856 GB Notification: Performance of SimCode: time 6.31e-07/0.5975, allocations: 0 / 0.8563 GB, free: 11.47 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02751/0.625, allocations: 8.676 MB / 0.8648 GB, free: 2.965 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.722/8.347, allocations: 8.688 kB / 0.8648 GB, free: 2.957 MB / 0.6856 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.SpecificEntropy.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.SpecificEntropy.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.SpecificEntropy.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.SpecificEntropy.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.SpecificEntropy_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_SpecificEntropy.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1)