Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX.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.Utilities.Psychrometrics.Examples.Density_pTX,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_Density_pTX",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.009593/0.009593, allocations: 98.25 kB / 15.73 MB, free: 6.445 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.00214/0.00214, allocations: 196.8 kB / 16.68 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.516/1.516, allocations: 222.9 MB / 240.4 MB, free: 4.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002561/0.002562, allocations: 286.5 kB / 290.8 MB, free: 1.875 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.118/1.118, allocations: 178.6 MB / 0.5074 GB, free: 4.453 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002892/0.002892, allocations: 99.83 kB / 0.6943 GB, free: 3.586 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5326/0.5355, allocations: 89.13 MB / 0.7813 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX): time 0.00294/0.5385, allocations: 1.503 MB / 0.7828 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.1797/0.7183, allocations: 132.1 MB / 0.9118 GB, free: 9.188 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.579e-05/0.7184, allocations: 0 / 0.9118 GB, free: 9.188 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 4.638e-05/0.7185, allocations: 3.938 kB / 0.9118 GB, free: 9.184 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 8.07e-05/0.7186, allocations: 23.84 kB / 0.9118 GB, free: 9.16 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004402/0.7191, allocations: 71.23 kB / 0.9119 GB, free: 9.094 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.0001133/0.7192, allocations: 43.86 kB / 0.9119 GB, free: 9.051 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001027/0.7193, allocations: 15.98 kB / 0.9119 GB, free: 9.035 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 6.338e-05/0.7194, allocations: 23.92 kB / 0.9119 GB, free: 9.012 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 5.994e-05/0.7195, allocations: 27.84 kB / 0.912 GB, free: 8.984 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 1.767e-05/0.7195, allocations: 4 kB / 0.912 GB, free: 8.98 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001171/0.7196, allocations: 27.92 kB / 0.912 GB, free: 8.953 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 1.768e-05/0.7196, allocations: 4 kB / 0.912 GB, free: 8.949 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 4.28e-05/0.7197, allocations: 27.86 kB / 0.912 GB, free: 8.922 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.0001649/0.7199, allocations: 53.36 kB / 0.9121 GB, free: 8.871 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.7199, allocations: 0 / 0.9121 GB, free: 8.871 MB / 0.67 GB Notification: Performance of FrontEnd: time 3.907e-06/0.7199, allocations: 0 / 0.9121 GB, free: 8.871 MB / 0.67 GB Notification: Performance of Transformations before backend: time 5.69e-06/0.7199, allocations: 3.938 kB / 0.9121 GB, free: 8.867 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006249/0.7205, allocations: 375.2 kB / 0.9124 GB, free: 8.449 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.408e-05/0.7206, allocations: 16.03 kB / 0.9125 GB, free: 8.434 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.064e-05/0.7206, allocations: 30.75 kB / 0.9125 GB, free: 8.395 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.727e-05/0.7207, allocations: 12.88 kB / 0.9125 GB, free: 8.383 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000164/0.7208, allocations: 176.2 kB / 0.9127 GB, free: 8.172 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.806e-05/0.7208, allocations: 8.375 kB / 0.9127 GB, free: 8.164 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.359e-05/0.7209, allocations: 384 / 0.9127 GB, free: 8.164 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002837/0.7212, allocations: 74.2 kB / 0.9127 GB, free: 8.086 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.25e-05/0.7212, allocations: 3.938 kB / 0.9127 GB, free: 8.082 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.297e-06/0.7212, allocations: 4 kB / 0.9128 GB, free: 8.078 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.807e-06/0.7212, allocations: 4 kB / 0.9128 GB, free: 8.074 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000314/0.7215, allocations: 63.92 kB / 0.9128 GB, free: 8.012 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004514/0.722, allocations: 292.7 kB / 0.9131 GB, free: 7.676 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002238/0.7222, allocations: 54.55 kB / 0.9131 GB, free: 7.613 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001619/0.7224, allocations: 40.91 kB / 0.9132 GB, free: 7.57 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002025/0.7226, allocations: 93.03 kB / 0.9133 GB, free: 7.461 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.225e-05/0.7226, allocations: 30.56 kB / 0.9133 GB, free: 7.422 MB / 0.67 GB Notification: Performance of pre-optimization done (n=3): time 1.402e-06/0.7227, allocations: 4 kB / 0.9133 GB, free: 7.418 MB / 0.67 GB Notification: Performance of matching and sorting (n=3): time 0.0006222/0.7233, allocations: 129.5 kB / 0.9134 GB, free: 7.285 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.419e-05/0.7233, allocations: 55.39 kB / 0.9135 GB, free: 7.219 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001158/0.7235, allocations: 113.8 kB / 0.9136 GB, free: 7.098 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 2.874e-05/0.7235, allocations: 29.7 kB / 0.9136 GB, free: 7.062 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 5.817e-05/0.7236, allocations: 88.14 kB / 0.9137 GB, free: 6.973 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 2.737e-05/0.7236, allocations: 19.84 kB / 0.9137 GB, free: 6.953 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.021e-05/0.7236, allocations: 13.7 kB / 0.9137 GB, free: 6.934 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001625/0.7238, allocations: 322.8 kB / 0.914 GB, free: 6.609 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001647/0.724, allocations: 31.95 kB / 0.9141 GB, free: 6.578 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001398/0.7241, allocations: 31.97 kB / 0.9141 GB, free: 6.547 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002856/0.7244, allocations: 68.78 kB / 0.9142 GB, free: 6.477 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.7244, allocations: 0 / 0.9142 GB, free: 6.477 MB / 0.67 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003546/0.7248, allocations: 101.6 kB / 0.9143 GB, free: 6.371 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.128e-05/0.7248, allocations: 13.81 kB / 0.9143 GB, free: 6.359 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.7248, allocations: 0 / 0.9143 GB, free: 6.359 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/0.7249, allocations: 0 / 0.9143 GB, free: 6.359 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001287/0.725, allocations: 19.97 kB / 0.9143 GB, free: 6.34 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.622e-06/0.725, allocations: 0 / 0.9143 GB, free: 6.34 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.172e-05/0.7251, allocations: 11.94 kB / 0.9143 GB, free: 6.328 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.477e-06/0.7251, allocations: 4 kB / 0.9143 GB, free: 6.324 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (3): * Single equations (assignments): 3 * 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 9.718e-05/0.7252, allocations: 117.8 kB / 0.9144 GB, free: 6.199 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.863e-05/0.7252, allocations: 4 kB / 0.9144 GB, free: 6.195 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003928/0.7256, allocations: 109.8 kB / 0.9145 GB, free: 6.078 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.2e-06/0.7257, allocations: 4.031 kB / 0.9145 GB, free: 6.074 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.7257, allocations: 0 / 0.9145 GB, free: 6.074 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/0.7257, allocations: 0 / 0.9145 GB, free: 6.074 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002141/0.7259, allocations: 177.6 kB / 0.9147 GB, free: 5.852 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.7259, allocations: 8 kB / 0.9147 GB, free: 5.844 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.824e-05/0.726, allocations: 11.98 kB / 0.9147 GB, free: 5.832 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.976e-06/0.726, allocations: 0 / 0.9147 GB, free: 5.832 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.344e-05/0.726, allocations: 3.984 kB / 0.9147 GB, free: 5.828 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.726, allocations: 4 kB / 0.9147 GB, free: 5.824 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.7261, allocations: 0 / 0.9147 GB, free: 5.824 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004071/0.7265, allocations: 195.4 kB / 0.9149 GB, free: 5.617 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 5.689e-05/0.7265, allocations: 89.06 kB / 0.915 GB, free: 5.512 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.446e-05/0.7266, allocations: 0 / 0.915 GB, free: 5.512 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001113/0.7267, allocations: 11.97 kB / 0.915 GB, free: 5.5 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.96e-05/0.7267, allocations: 7.938 kB / 0.915 GB, free: 5.492 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.214e-06/0.7268, allocations: 4 kB / 0.915 GB, free: 5.488 MB / 0.67 GB Notification: Performance of sorting global known variables: time 8.218e-05/0.7268, allocations: 99.58 kB / 0.9151 GB, free: 5.391 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7269, allocations: 8 kB / 0.9151 GB, free: 5.383 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0002389/0.7271, allocations: 19.94 kB / 0.9152 GB, free: 5.363 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (3): * Single equations (assignments): 3 * 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.0008304/0.7279, allocations: 0.7358 MB / 0.9159 GB, free: 4.602 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0003794/0.7283, allocations: 71.86 kB / 0.9159 GB, free: 4.531 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 4.468e-06/0.7283, allocations: 0 / 0.9159 GB, free: 4.531 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0001609/0.7285, allocations: 35.91 kB / 0.916 GB, free: 4.496 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003305/0.7288, allocations: 15.98 kB / 0.916 GB, free: 4.48 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002192/0.731, allocations: 1.415 MB / 0.9174 GB, free: 2.984 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003825/0.7314, allocations: 0.6845 MB / 0.918 GB, free: 2.273 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 5.021e-05/0.7315, allocations: 11.97 kB / 0.9181 GB, free: 2.262 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.391e-05/0.7316, allocations: 15.44 kB / 0.9181 GB, free: 2.246 MB / 0.67 GB Notification: Performance of SimCode: time 6.31e-07/0.7316, allocations: 0 / 0.9181 GB, free: 2.246 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02678/0.7584, allocations: 2.094 MB / 0.9201 GB, free: 288 kB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.947/8.705, allocations: 0 / 0.9201 GB, free: 288 kB / 0.67 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_Density_pTX.fmu > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1)