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/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/package.mo): time 0.7802/0.7802, allocations: 141.7 MB / 154.3 MB, free: 15.48 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001225/0.001226, allocations: 178.9 kB / 187.2 MB, free: 11.89 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.519/1.519, allocations: 221.3 MB / 441.4 MB, free: 4.574 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001008/0.001008, allocations: 98.64 kB / 0.5124 GB, free: 24.18 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001882/0.001883, allocations: 272.5 kB / 0.5939 GB, free: 7.938 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.774e-05/3.777e-05, allocations: 4 kB / 0.6835 GB, free: 12.13 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.562/0.5621, allocations: 82.77 MB / 0.7644 GB, free: 108.6 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1795/0.7417, allocations: 135.8 MB / 0.8969 GB, free: 4.707 MB / 0.5573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002855/0.7421, allocations: 75.89 kB / 0.897 GB, free: 4.633 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 0.006044/0.7481, allocations: 2.211 MB / 0.8992 GB, free: 2.438 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.324e-06/0.7482, allocations: 192 / 0.8992 GB, free: 2.438 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 1.087e-05/0.7482, allocations: 0 / 0.8992 GB, free: 2.438 MB / 0.5573 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.0005205/0.7487, allocations: 375.5 kB / 0.8995 GB, free: 2.027 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 5.738e-05/0.7488, allocations: 12.03 kB / 0.8995 GB, free: 2.016 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.212e-05/0.7488, allocations: 34.55 kB / 0.8996 GB, free: 1.973 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.425e-05/0.7489, allocations: 11.91 kB / 0.8996 GB, free: 1.961 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001431/0.749, allocations: 171 kB / 0.8997 GB, free: 1.754 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.436e-05/0.749, allocations: 0 / 0.8997 GB, free: 1.754 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.674e-05/0.7491, allocations: 4 kB / 0.8997 GB, free: 1.75 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001524/0.7492, allocations: 49.67 kB / 0.8998 GB, free: 1.695 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.897e-06/0.7492, allocations: 4 kB / 0.8998 GB, free: 1.691 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.072e-05/0.7493, allocations: 0 / 0.8998 GB, free: 1.691 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.129e-06/0.7493, allocations: 4 kB / 0.8998 GB, free: 1.688 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.054e-05/0.7494, allocations: 27.92 kB / 0.8998 GB, free: 1.66 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004565/0.7498, allocations: 284.8 kB / 0.9001 GB, free: 1.332 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 9.228e-05/0.7499, allocations: 30.58 kB / 0.9001 GB, free: 1.293 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.004e-05/0.75, allocations: 16.8 kB / 0.9001 GB, free: 1.273 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001874/0.7502, allocations: 97.19 kB / 0.9002 GB, free: 1.16 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.796e-05/0.7502, allocations: 34.56 kB / 0.9003 GB, free: 1.117 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=3): time 1.172e-06/0.7502, allocations: 0 / 0.9003 GB, free: 1.117 MB / 0.5573 GB Notification: Performance of matching and sorting (n=3): time 0.0001911/0.7504, allocations: 53.55 kB / 0.9003 GB, free: 1.059 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.704e-05/0.7505, allocations: 55.41 kB / 0.9004 GB, free: 0.9922 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001037/0.7506, allocations: 109 kB / 0.9005 GB, free: 0.8789 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 1.911e-05/0.7506, allocations: 25.7 kB / 0.9005 GB, free: 0.8477 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 6.879e-05/0.7507, allocations: 96.08 kB / 0.9006 GB, free: 0.75 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 1.884e-05/0.7507, allocations: 7.906 kB / 0.9006 GB, free: 0.7422 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.841e-06/0.7507, allocations: 0 / 0.9006 GB, free: 0.7422 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001434/0.7509, allocations: 318.8 kB / 0.9009 GB, free: 432 kB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.831e-05/0.7509, allocations: 12 kB / 0.9009 GB, free: 420 kB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.294e-05/0.7509, allocations: 11.94 kB / 0.9009 GB, free: 408 kB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.773e-05/0.751, allocations: 8 kB / 0.9009 GB, free: 400 kB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.751, allocations: 0 / 0.9009 GB, free: 400 kB / 0.5573 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.348e-05/0.7511, allocations: 53.59 kB / 0.901 GB, free: 340 kB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.92e-05/0.7511, allocations: 12 kB / 0.901 GB, free: 328 kB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.792e-06/0.7511, allocations: 0 / 0.901 GB, free: 328 kB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.544e-05/0.7511, allocations: 0 / 0.901 GB, free: 328 kB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001536/0.7513, allocations: 19.98 kB / 0.901 GB, free: 308 kB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.086e-05/0.7513, allocations: 3.953 kB / 0.901 GB, free: 304 kB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.417e-05/0.7514, allocations: 23.97 kB / 0.901 GB, free: 280 kB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.889e-06/0.7514, allocations: 4 kB / 0.901 GB, free: 276 kB / 0.5573 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.404e-05/0.7515, allocations: 101 kB / 0.9011 GB, free: 168 kB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.643e-05/0.7515, allocations: 7.906 kB / 0.9012 GB, free: 160 kB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001533/0.7517, allocations: 61.66 kB / 0.9012 GB, free: 92 kB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.7517, allocations: 0 / 0.9012 GB, free: 92 kB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.7517, allocations: 3.938 kB / 0.9012 GB, free: 88 kB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.203e-06/0.7517, allocations: 7.938 kB / 0.9012 GB, free: 80 kB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002054/0.7519, allocations: 165.7 kB / 0.9014 GB, free: 15.87 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.7519, allocations: 0 / 0.9014 GB, free: 15.87 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001117/0.7521, allocations: 31.97 kB / 0.9014 GB, free: 15.84 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.7521, allocations: 0 / 0.9014 GB, free: 15.84 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.16e-05/0.7521, allocations: 4 kB / 0.9014 GB, free: 15.83 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.7521, allocations: 0 / 0.9014 GB, free: 15.83 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.7521, allocations: 4 kB / 0.9014 GB, free: 15.83 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001546/0.7523, allocations: 151.7 kB / 0.9016 GB, free: 15.66 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 4.446e-05/0.7523, allocations: 85.02 kB / 0.9016 GB, free: 15.56 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.793e-05/0.7524, allocations: 4.047 kB / 0.9016 GB, free: 15.56 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001162/0.7525, allocations: 15.97 kB / 0.9017 GB, free: 15.54 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.065e-05/0.7525, allocations: 11.98 kB / 0.9017 GB, free: 15.53 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.028e-06/0.7526, allocations: 0 / 0.9017 GB, free: 15.53 MB / 0.573 GB Notification: Performance of sorting global known variables: time 5.992e-05/0.7526, allocations: 91.28 kB / 0.9018 GB, free: 15.44 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7526, allocations: 3.938 kB / 0.9018 GB, free: 15.44 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0002158/0.7528, allocations: 19.94 kB / 0.9018 GB, free: 15.42 MB / 0.573 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005996/0.7535, allocations: 0.7241 MB / 0.9025 GB, free: 14.66 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0001284/0.7536, allocations: 27.98 kB / 0.9025 GB, free: 14.64 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.7536, allocations: 0 / 0.9025 GB, free: 14.64 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 3.707e-05/0.7536, allocations: 12 kB / 0.9025 GB, free: 14.62 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002099/0.7539, allocations: 8 kB / 0.9025 GB, free: 14.62 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004138/0.7543, allocations: 120.7 kB / 0.9027 GB, free: 14.46 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000278/0.7546, allocations: 0.6848 MB / 0.9033 GB, free: 13.75 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 3.997e-05/0.7546, allocations: 4 kB / 0.9033 GB, free: 13.75 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.947e-05/0.7547, allocations: 19.42 kB / 0.9033 GB, free: 13.73 MB / 0.573 GB Notification: Performance of SimCode: time 2.41e-07/0.7547, allocations: 3.938 kB / 0.9033 GB, free: 13.73 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01792/0.7726, allocations: 2.369 MB / 0.9057 GB, free: 11.52 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000249/0.7729, allocations: 166.9 kB / 0.9058 GB, free: 11.3 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.752/2.525, allocations: 4.062 kB / 0.9058 GB, free: 11.3 MB / 0.573 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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_Density_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_Density_pTX.fmu > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1)