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.001046/0.001046, allocations: 99.16 kB / 15.05 MB, free: 1.105 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.001017/0.001018, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.277/1.277, allocations: 223.2 MB / 239.9 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001643/0.001643, allocations: 266.8 kB / 291.2 MB, free: 1.93 MB / 238.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:5:3-5:34:writable] Warning: Got element f_alp that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:6:3-6:35:writable] Warning: Elements in the package.mo-file need to be in the same relative order as the package.order file. Got element named f_lay but it was already added because it was not the next element in the list at that time. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:6:3-6:35:writable] Warning: Got element f_lay that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:7:3-7:37:writable] Warning: Elements in the package.mo-file need to be in the same relative order as the package.order file. Got element named f_loss but it was already added because it was not the next element in the list at that time. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:7:3-7:37:writable] Warning: Got element f_loss that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:8:3-8:33:writable] Warning: Elements in the package.mo-file need to be in the same relative order as the package.order file. Got element named f_pv but it was already added because it was not the next element in the list at that time. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:8:3-8:33:writable] Warning: Got element f_pv that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:2:1-34:14:writable] Warning: f_pv was referenced in the package.order file, but was not found in package.mo, f_pv/package.mo or f_pv.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8197/0.8197, allocations: 144.6 MB / 487 MB, free: 7.172 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003607/0.0003607, allocations: 16.66 kB / 0.5684 GB, free: 38.3 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1077/0.1081, allocations: 83.08 MB / 0.6495 GB, free: 3.492 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX): time 0.001286/0.1094, allocations: 1.191 MB / 0.6507 GB, free: 2.293 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1102/0.2196, allocations: 112 MB / 0.76 GB, free: 2.066 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.879e-05/0.2197, allocations: 0 / 0.76 GB, free: 2.066 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.649e-05/0.2197, allocations: 0 / 0.76 GB, free: 2.066 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 6.706e-05/0.2198, allocations: 23.89 kB / 0.7601 GB, free: 2.043 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002556/0.2201, allocations: 47.84 kB / 0.7601 GB, free: 1.996 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 6.483e-05/0.2201, allocations: 35.89 kB / 0.7602 GB, free: 1.961 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 8.165e-05/0.2202, allocations: 19.98 kB / 0.7602 GB, free: 1.941 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 4.154e-05/0.2203, allocations: 15.92 kB / 0.7602 GB, free: 1.926 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 4.901e-05/0.2203, allocations: 19.92 kB / 0.7602 GB, free: 1.906 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.3e-05/0.2204, allocations: 4 kB / 0.7602 GB, free: 1.902 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 6.699e-05/0.2204, allocations: 8 kB / 0.7602 GB, free: 1.895 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.107e-05/0.2204, allocations: 7.984 kB / 0.7602 GB, free: 1.887 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.628e-05/0.2205, allocations: 37.64 kB / 0.7603 GB, free: 1.844 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 9.214e-05/0.2206, allocations: 40.14 kB / 0.7603 GB, free: 1.805 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.2206, allocations: 4 kB / 0.7603 GB, free: 1.801 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.302e-06/0.2206, allocations: 0 / 0.7603 GB, free: 1.801 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.156e-06/0.2206, allocations: 0 / 0.7603 GB, free: 1.801 MB / 0.545 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.0004321/0.221, allocations: 371.2 kB / 0.7607 GB, free: 1.391 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.28e-05/0.2211, allocations: 8.031 kB / 0.7607 GB, free: 1.383 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.421e-05/0.2211, allocations: 38.55 kB / 0.7607 GB, free: 1.336 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.386e-05/0.2211, allocations: 7.906 kB / 0.7607 GB, free: 1.328 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.543e-05/0.2212, allocations: 167 kB / 0.7609 GB, free: 1.125 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.924e-06/0.2213, allocations: 4 kB / 0.7609 GB, free: 1.121 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.134e-05/0.2213, allocations: 7.938 kB / 0.7609 GB, free: 1.113 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002351/0.2215, allocations: 85.64 kB / 0.761 GB, free: 1.023 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.991e-06/0.2215, allocations: 0 / 0.761 GB, free: 1.023 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.905e-06/0.2216, allocations: 0 / 0.761 GB, free: 1.023 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.807e-06/0.2216, allocations: 4 kB / 0.761 GB, free: 1.02 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002918/0.2219, allocations: 87.92 kB / 0.761 GB, free: 0.9336 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003128/0.2222, allocations: 296.6 kB / 0.7613 GB, free: 0.5938 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001909/0.2224, allocations: 62.55 kB / 0.7614 GB, free: 0.5234 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001327/0.2225, allocations: 89.19 kB / 0.7615 GB, free: 428 kB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.871e-05/0.2225, allocations: 38.56 kB / 0.7615 GB, free: 380 kB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 2.003e-06/0.2226, allocations: 0 / 0.7615 GB, free: 380 kB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.0005171/0.2231, allocations: 173.4 kB / 0.7617 GB, free: 200 kB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.862e-05/0.2231, allocations: 51.41 kB / 0.7617 GB, free: 136 kB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.195e-05/0.2232, allocations: 125.7 kB / 0.7618 GB, free: 0 / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.422e-05/0.2232, allocations: 25.7 kB / 0.7619 GB, free: 15.97 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.681e-05/0.2233, allocations: 96.06 kB / 0.762 GB, free: 15.87 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.315e-05/0.2233, allocations: 3.906 kB / 0.762 GB, free: 15.87 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.667e-06/0.2233, allocations: 0 / 0.762 GB, free: 15.87 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 8.152e-05/0.2234, allocations: 318.8 kB / 0.7623 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001497/0.2236, allocations: 43.95 kB / 0.7623 GB, free: 15.5 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001387/0.2237, allocations: 43.97 kB / 0.7624 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001381/0.2238, allocations: 43.95 kB / 0.7624 GB, free: 15.42 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.2239, allocations: 0 / 0.7624 GB, free: 15.42 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003126/0.2242, allocations: 121.5 kB / 0.7625 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 9.939e-06/0.2242, allocations: 8 kB / 0.7625 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.2242, allocations: 4 kB / 0.7625 GB, free: 15.28 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.667e-06/0.2242, allocations: 0 / 0.7625 GB, free: 15.28 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001163/0.2243, allocations: 23.92 kB / 0.7625 GB, free: 15.26 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.998e-06/0.2243, allocations: 0 / 0.7625 GB, free: 15.26 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.284e-05/0.2244, allocations: 27.91 kB / 0.7626 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.749e-06/0.2245, allocations: 7.953 kB / 0.7626 GB, free: 15.22 MB / 0.5606 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.966e-05/0.2245, allocations: 109.8 kB / 0.7627 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.435e-05/0.2245, allocations: 8.234 kB / 0.7627 GB, free: 15.1 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003495/0.2249, allocations: 129.5 kB / 0.7628 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.2249, allocations: 4 kB / 0.7628 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.758e-06/0.2249, allocations: 0 / 0.7628 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.094e-06/0.2249, allocations: 0 / 0.7628 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001409/0.2251, allocations: 173.6 kB / 0.763 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.2251, allocations: 0 / 0.763 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.555e-05/0.2252, allocations: 27.92 kB / 0.763 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.2252, allocations: 0 / 0.763 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.392e-06/0.2252, allocations: 0 / 0.763 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.2252, allocations: 0 / 0.763 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/0.2252, allocations: 7.984 kB / 0.763 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003463/0.2256, allocations: 223.4 kB / 0.7632 GB, free: 14.47 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.047e-05/0.2256, allocations: 81.02 kB / 0.7633 GB, free: 14.37 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.259e-05/0.2256, allocations: 4 kB / 0.7633 GB, free: 14.37 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001089/0.2257, allocations: 15.98 kB / 0.7633 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.755e-05/0.2258, allocations: 7.984 kB / 0.7633 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.637e-06/0.2258, allocations: 0 / 0.7633 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.374e-05/0.2258, allocations: 91.27 kB / 0.7634 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.2258, allocations: 0 / 0.7634 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002193/0.2261, allocations: 20 kB / 0.7634 GB, free: 14.23 MB / 0.5606 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 (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.0006007/0.2267, allocations: 0.763 MB / 0.7642 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003361/0.227, allocations: 91.92 kB / 0.7643 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.227, allocations: 3.938 kB / 0.7643 GB, free: 13.35 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001538/0.2272, allocations: 55.89 kB / 0.7643 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001977/0.2274, allocations: 8 kB / 0.7643 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009947/0.2284, allocations: 0.5797 MB / 0.7649 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001836/0.2286, allocations: 0.6848 MB / 0.7656 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.241e-05/0.2286, allocations: 11.94 kB / 0.7656 GB, free: 11.94 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.19e-05/0.2287, allocations: 11.44 kB / 0.7656 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of SimCode: time 2.41e-07/0.2287, allocations: 0 / 0.7656 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3955/0.6242, allocations: 1.691 MB / 0.7672 GB, free: 10.39 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002133/0.6245, allocations: 202.3 kB / 0.7674 GB, free: 10.15 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.812/2.436, allocations: 3.938 kB / 0.7674 GB, free: 10.15 MB / 0.5606 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) Environment - environmentSimulation: