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.001036/0.001036, allocations: 108 kB / 15.6 MB, free: 132 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.001006/0.001007, allocations: 194.8 kB / 16.53 MB, free: 6.391 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.249/1.249, allocations: 222.9 MB / 240.2 MB, free: 4.379 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.8579/0.8579, allocations: 143 MB / 433.4 MB, free: 11.39 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001443/0.001444, allocations: 67.89 kB / 0.5143 GB, free: 11.54 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.129/0.1305, allocations: 82.04 MB / 0.5944 GB, free: 9.465 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Sensors.Examples.SpecificEntropy): time 0.3407/0.4712, allocations: 163.3 MB / 0.7538 GB, free: 9.773 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.004672/0.4759, allocations: 4.589 MB / 0.7583 GB, free: 5.336 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000261/0.4762, allocations: 7.938 kB / 0.7583 GB, free: 5.328 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0003401/0.4766, allocations: 127 kB / 0.7584 GB, free: 5.203 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001081/0.4777, allocations: 0.5328 MB / 0.7589 GB, free: 4.668 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001448/0.4791, allocations: 0.7721 MB / 0.7597 GB, free: 3.895 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0005526/0.4797, allocations: 0.573 MB / 0.7603 GB, free: 3.32 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003038/0.48, allocations: 213.6 kB / 0.7605 GB, free: 3.113 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007362/0.4807, allocations: 466.2 kB / 0.7609 GB, free: 2.656 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004657/0.4812, allocations: 286.8 kB / 0.7612 GB, free: 2.375 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.353e-05/0.4813, allocations: 20 kB / 0.7612 GB, free: 2.355 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00136/0.4826, allocations: 0.9977 MB / 0.7622 GB, free: 1.355 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 8.466e-05/0.4827, allocations: 91.77 kB / 0.7623 GB, free: 1.266 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001133/0.4829, allocations: 119.4 kB / 0.7624 GB, free: 1.148 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.000898/0.4838, allocations: 0.7247 MB / 0.7631 GB, free: 432 kB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.4838, allocations: 0 / 0.7631 GB, free: 432 kB / 0.5762 GB Notification: Performance of FrontEnd: time 1.112e-06/0.4838, allocations: 2.062 kB / 0.7631 GB, free: 432 kB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.911e-06/0.4838, allocations: 0 / 0.7631 GB, free: 432 kB / 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.0007825/0.4846, allocations: 0.5957 MB / 0.7637 GB, free: 15.78 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.762e-05/0.4846, allocations: 8.031 kB / 0.7637 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.538e-05/0.4847, allocations: 54.55 kB / 0.7637 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005806/0.4853, allocations: 83.48 kB / 0.7638 GB, free: 15.63 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003182/0.4856, allocations: 287.3 kB / 0.7641 GB, free: 15.31 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.468e-05/0.4856, allocations: 12 kB / 0.7641 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.909e-05/0.4857, allocations: 20 kB / 0.7641 GB, free: 15.28 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004258/0.4861, allocations: 280.5 kB / 0.7644 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.447e-06/0.4861, allocations: 3.984 kB / 0.7644 GB, free: 14.97 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.114e-05/0.4861, allocations: 8 kB / 0.7644 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.832e-06/0.4861, allocations: 11.88 kB / 0.7644 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003785/0.4865, allocations: 202.3 kB / 0.7646 GB, free: 14.76 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001322/0.4879, allocations: 1.253 MB / 0.7658 GB, free: 13.42 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002446/0.4881, allocations: 173 kB / 0.766 GB, free: 13.21 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001695/0.4883, allocations: 108.4 kB / 0.7661 GB, free: 13.09 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006583/0.489, allocations: 339.1 kB / 0.7664 GB, free: 12.7 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.171e-05/0.489, allocations: 34.55 kB / 0.7664 GB, free: 12.66 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=13): time 1.262e-06/0.489, allocations: 0 / 0.7664 GB, free: 12.66 MB / 0.5919 GB Notification: Performance of matching and sorting (n=13): time 0.0006572/0.4897, allocations: 281.5 kB / 0.7667 GB, free: 12.38 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.46e-05/0.4897, allocations: 162.2 kB / 0.7669 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002301/0.49, allocations: 287 kB / 0.7671 GB, free: 11.9 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.039e-05/0.49, allocations: 29.7 kB / 0.7672 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 9.173e-05/0.4901, allocations: 151.8 kB / 0.7673 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.207e-05/0.4901, allocations: 43.34 kB / 0.7674 GB, free: 11.67 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.228e-05/0.4902, allocations: 41.7 kB / 0.7674 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001064/0.4903, allocations: 346.8 kB / 0.7677 GB, free: 11.27 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001451/0.4905, allocations: 67.89 kB / 0.7678 GB, free: 11.21 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000196/0.4907, allocations: 137.1 kB / 0.7679 GB, free: 11.04 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003297/0.491, allocations: 215.5 kB / 0.7681 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.491, allocations: 0.625 kB / 0.7681 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004444/0.4915, allocations: 241.8 kB / 0.7684 GB, free: 10.56 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.133e-05/0.4915, allocations: 4 kB / 0.7684 GB, free: 10.56 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.4915, allocations: 4.25 kB / 0.7684 GB, free: 10.55 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.141e-05/0.4915, allocations: 8 kB / 0.7684 GB, free: 10.55 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000167/0.4917, allocations: 39.91 kB / 0.7684 GB, free: 10.51 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.4917, allocations: 4 kB / 0.7684 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001616/0.4919, allocations: 33.67 kB / 0.7685 GB, free: 10.47 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.524e-05/0.4919, allocations: 15.94 kB / 0.7685 GB, free: 10.46 MB / 0.5919 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.0001164/0.492, allocations: 146.4 kB / 0.7686 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001346/0.4922, allocations: 27.7 kB / 0.7686 GB, free: 10.28 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004186/0.4926, allocations: 188.6 kB / 0.7688 GB, free: 10.07 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.987e-06/0.4926, allocations: 4 kB / 0.7688 GB, free: 10.07 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.4926, allocations: 0 / 0.7688 GB, free: 10.07 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.4926, allocations: 7.938 kB / 0.7688 GB, free: 10.06 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008235/0.4934, allocations: 0.8554 MB / 0.7697 GB, free: 9.133 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.4935, allocations: 0 / 0.7697 GB, free: 9.133 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001044/0.4936, allocations: 28.48 kB / 0.7697 GB, free: 9.105 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.408e-06/0.4936, allocations: 7.922 kB / 0.7697 GB, free: 9.098 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.088e-05/0.4936, allocations: 4 kB / 0.7697 GB, free: 9.094 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.897e-06/0.4936, allocations: 4.688 kB / 0.7697 GB, free: 9.09 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.4936, allocations: 384 / 0.7697 GB, free: 9.09 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000488/0.4941, allocations: 343.5 kB / 0.77 GB, free: 8.723 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 7.463e-05/0.4942, allocations: 116.7 kB / 0.7701 GB, free: 8.59 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.81e-05/0.4942, allocations: 12.06 kB / 0.7702 GB, free: 8.578 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001413/0.4944, allocations: 11.55 kB / 0.7702 GB, free: 8.57 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.008e-05/0.4944, allocations: 7.938 kB / 0.7702 GB, free: 8.562 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.207e-06/0.4944, allocations: 11.98 kB / 0.7702 GB, free: 8.551 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001969/0.4946, allocations: 233.9 kB / 0.7704 GB, free: 8.324 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1e-07/0.4946, allocations: 0 / 0.7704 GB, free: 8.324 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003724/0.495, allocations: 88 kB / 0.7705 GB, free: 8.238 MB / 0.5919 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.001021/0.496, allocations: 0.99 MB / 0.7715 GB, free: 7.219 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0003444/0.4964, allocations: 156.4 kB / 0.7716 GB, free: 7.066 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.4964, allocations: 0 / 0.7716 GB, free: 7.066 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001277/0.4965, allocations: 63.89 kB / 0.7717 GB, free: 7.004 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006754/0.4972, allocations: 133.7 kB / 0.7718 GB, free: 6.887 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002845/0.5001, allocations: 2.786 MB / 0.7745 GB, free: 3.953 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000265/0.5004, allocations: 0.7597 MB / 0.7753 GB, free: 3.168 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001725/0.5005, allocations: 58.34 kB / 0.7753 GB, free: 3.117 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.338e-05/0.5006, allocations: 79.41 kB / 0.7754 GB, free: 3.039 MB / 0.5919 GB Notification: Performance of SimCode: time 2.6e-07/0.5006, allocations: 4 kB / 0.7754 GB, free: 3.035 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09018/0.5908, allocations: 8.615 MB / 0.7838 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.44/11.03, allocations: 3.297 kB / 0.7838 GB, free: 10.6 MB / 0.6075 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_SpecificEntropy_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_SpecificEntropy.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1)