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-master/package.mo", uses=false) Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-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(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.008179/0.00818, allocations: 97.3 kB / 15.73 MB, free: 6.039 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.001924/0.001924, allocations: 201.9 kB / 16.68 MB, free: 5.961 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.423/1.423, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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-master/package.mo): time 1.042/1.042, allocations: 143.3 MB / 433.8 MB, free: 11.6 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001857/0.001857, allocations: 63.91 kB / 0.5953 GB, free: 8.645 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3914/0.3933, allocations: 82.03 MB / 0.6754 GB, free: 0.9492 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Sensors.Examples.SpecificEntropy): time 0.1966/0.5899, allocations: 163.3 MB / 0.8349 GB, free: 2.309 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.005908/0.5958, allocations: 4.581 MB / 0.8393 GB, free: 13.72 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002873/0.5961, allocations: 11.94 kB / 0.8394 GB, free: 13.71 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0004477/0.5966, allocations: 115.1 kB / 0.8395 GB, free: 13.59 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.001332/0.598, allocations: 0.5445 MB / 0.84 GB, free: 13.05 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.001742/0.5997, allocations: 0.766 MB / 0.8407 GB, free: 12.28 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.0007399/0.6005, allocations: 0.5807 MB / 0.8413 GB, free: 11.7 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003545/0.6008, allocations: 213.1 kB / 0.8415 GB, free: 11.49 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009938/0.6018, allocations: 470.2 kB / 0.842 GB, free: 11.03 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005476/0.6024, allocations: 286.9 kB / 0.8422 GB, free: 10.75 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 4.077e-05/0.6025, allocations: 16 kB / 0.8423 GB, free: 10.73 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001614/0.6041, allocations: 1.005 MB / 0.8432 GB, free: 9.723 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0001113/0.6042, allocations: 91.77 kB / 0.8433 GB, free: 9.633 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0001332/0.6043, allocations: 123.4 kB / 0.8434 GB, free: 9.512 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.001075/0.6054, allocations: 0.733 MB / 0.8442 GB, free: 8.781 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/0.6054, allocations: 4 kB / 0.8442 GB, free: 8.777 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.583e-06/0.6055, allocations: 0 / 0.8442 GB, free: 8.777 MB / 0.67 GB Notification: Performance of Transformations before backend: time 8.186e-06/0.6055, allocations: 7.984 kB / 0.8442 GB, free: 8.77 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.001016/0.6065, allocations: 0.5989 MB / 0.8448 GB, free: 8.121 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.68e-05/0.6065, allocations: 11.97 kB / 0.8448 GB, free: 8.109 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.825e-05/0.6066, allocations: 58.55 kB / 0.8448 GB, free: 8.043 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000632/0.6073, allocations: 83.67 kB / 0.8449 GB, free: 7.961 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004061/0.6077, allocations: 291.6 kB / 0.8452 GB, free: 7.637 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.415e-05/0.6077, allocations: 15.98 kB / 0.8452 GB, free: 7.621 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.39e-05/0.6078, allocations: 23.94 kB / 0.8452 GB, free: 7.598 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004989/0.6083, allocations: 279.5 kB / 0.8455 GB, free: 7.297 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.598e-05/0.6083, allocations: 7.938 kB / 0.8455 GB, free: 7.289 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.262e-05/0.6083, allocations: 7.938 kB / 0.8455 GB, free: 7.281 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.564e-06/0.6083, allocations: 4 kB / 0.8455 GB, free: 7.277 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000447/0.6088, allocations: 211.5 kB / 0.8457 GB, free: 7.07 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001631/0.6104, allocations: 1.242 MB / 0.8469 GB, free: 5.75 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003146/0.6108, allocations: 177 kB / 0.8471 GB, free: 5.531 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002177/0.611, allocations: 112.2 kB / 0.8472 GB, free: 5.406 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007719/0.6118, allocations: 331.3 kB / 0.8475 GB, free: 5.027 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.702e-05/0.6118, allocations: 42.56 kB / 0.8475 GB, free: 4.977 MB / 0.67 GB Notification: Performance of pre-optimization done (n=13): time 1.433e-06/0.6118, allocations: 0 / 0.8475 GB, free: 4.977 MB / 0.67 GB Notification: Performance of matching and sorting (n=13): time 0.000797/0.6126, allocations: 277.2 kB / 0.8478 GB, free: 4.699 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.737e-05/0.6127, allocations: 158.7 kB / 0.848 GB, free: 4.508 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003/0.613, allocations: 287 kB / 0.8482 GB, free: 4.227 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 2.642e-05/0.6131, allocations: 29.7 kB / 0.8483 GB, free: 4.191 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001237/0.6132, allocations: 147.9 kB / 0.8484 GB, free: 4.043 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 4.96e-05/0.6133, allocations: 55.58 kB / 0.8485 GB, free: 3.988 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.847e-05/0.6133, allocations: 41.7 kB / 0.8485 GB, free: 3.941 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001628/0.6135, allocations: 334.8 kB / 0.8488 GB, free: 3.605 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001755/0.6137, allocations: 67.94 kB / 0.8489 GB, free: 3.539 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002512/0.614, allocations: 156.4 kB / 0.849 GB, free: 3.355 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004173/0.6144, allocations: 207.5 kB / 0.8492 GB, free: 3.125 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.6144, allocations: 3.938 kB / 0.8492 GB, free: 3.121 MB / 0.67 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005292/0.6149, allocations: 245.2 kB / 0.8495 GB, free: 2.875 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/0.615, allocations: 4.375 kB / 0.8495 GB, free: 2.871 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.508e-06/0.615, allocations: 4 kB / 0.8495 GB, free: 2.867 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.4e-05/0.615, allocations: 0 / 0.8495 GB, free: 2.867 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001855/0.6152, allocations: 43.92 kB / 0.8495 GB, free: 2.824 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.6152, allocations: 4.188 kB / 0.8495 GB, free: 2.82 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001802/0.6154, allocations: 43.7 kB / 0.8496 GB, free: 2.777 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.21e-05/0.6154, allocations: 11.98 kB / 0.8496 GB, free: 2.766 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.0001463/0.6156, allocations: 150.4 kB / 0.8497 GB, free: 2.609 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001431/0.6157, allocations: 23.86 kB / 0.8497 GB, free: 2.586 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000475/0.6162, allocations: 189.8 kB / 0.8499 GB, free: 2.383 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.6162, allocations: 4 kB / 0.8499 GB, free: 2.379 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.907e-06/0.6162, allocations: 4.062 kB / 0.8499 GB, free: 2.375 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.231e-06/0.6163, allocations: 3.938 kB / 0.8499 GB, free: 2.371 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001044/0.6173, allocations: 0.8511 MB / 0.8508 GB, free: 1.445 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.6173, allocations: 0 / 0.8508 GB, free: 1.445 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001241/0.6174, allocations: 32.08 kB / 0.8508 GB, free: 1.414 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.6175, allocations: 4 kB / 0.8508 GB, free: 1.41 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.585e-05/0.6175, allocations: 4 kB / 0.8508 GB, free: 1.406 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.338e-06/0.6175, allocations: 3.938 kB / 0.8508 GB, free: 1.402 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.869e-06/0.6175, allocations: 4 kB / 0.8508 GB, free: 1.398 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005947/0.6181, allocations: 339.5 kB / 0.8511 GB, free: 1.035 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001003/0.6182, allocations: 112.9 kB / 0.8512 GB, free: 0.9062 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.018e-05/0.6183, allocations: 7.984 kB / 0.8513 GB, free: 0.8984 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001479/0.6184, allocations: 4 kB / 0.8513 GB, free: 0.8945 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.444e-05/0.6185, allocations: 16.05 kB / 0.8513 GB, free: 0.8789 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.887e-06/0.6185, allocations: 4 kB / 0.8513 GB, free: 0.875 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0002501/0.6187, allocations: 233.9 kB / 0.8515 GB, free: 0.6445 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6187, allocations: 0 / 0.8515 GB, free: 0.6445 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0004332/0.6192, allocations: 99.8 kB / 0.8516 GB, free: 0.5469 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.001296/0.6205, allocations: 1.009 MB / 0.8526 GB, free: 15.5 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0004061/0.6209, allocations: 152.1 kB / 0.8527 GB, free: 15.36 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.6209, allocations: 4.188 kB / 0.8527 GB, free: 15.35 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0001505/0.6211, allocations: 59.84 kB / 0.8528 GB, free: 15.29 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007683/0.6218, allocations: 136.1 kB / 0.8529 GB, free: 15.16 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003484/0.6253, allocations: 2.758 MB / 0.8556 GB, free: 12.25 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003919/0.6257, allocations: 0.7597 MB / 0.8563 GB, free: 11.46 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.000192/0.6259, allocations: 63.08 kB / 0.8564 GB, free: 11.4 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001159/0.6261, allocations: 75.42 kB / 0.8565 GB, free: 11.33 MB / 0.6856 GB Notification: Performance of SimCode: time 4.01e-07/0.6261, allocations: 0 / 0.8565 GB, free: 11.33 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03221/0.6583, allocations: 8.679 MB / 0.865 GB, free: 2.832 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.975/8.634, allocations: 11.28 kB / 0.865 GB, free: 2.824 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)