Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.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(IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Functions_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Functions_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.001013/0.001013, allocations: 98.81 kB / 16.02 MB, free: 80 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.001414/0.001414, allocations: 183.2 kB / 16.92 MB, free: 6.691 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.433/1.433, allocations: 223.3 MB / 241 MB, free: 5.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8741/0.8741, allocations: 115.5 MB / 407.6 MB, free: 2.691 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003322/0.0003322, allocations: 8 kB / 496 MB, free: 6.23 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1452/0.1455, allocations: 77.52 MB / 0.56 GB, free: 8.91 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.001384/0.147, allocations: 0.9926 MB / 0.561 GB, free: 7.906 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.4882/0.6352, allocations: 128.5 MB / 0.6865 GB, free: 4.676 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.815e-05/0.6353, allocations: 0 / 0.6865 GB, free: 4.676 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.796e-05/0.6353, allocations: 0 / 0.6865 GB, free: 4.676 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.073e-05/0.6354, allocations: 11.92 kB / 0.6865 GB, free: 4.664 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003556/0.6357, allocations: 51.8 kB / 0.6866 GB, free: 4.613 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.872e-05/0.6358, allocations: 19.94 kB / 0.6866 GB, free: 4.594 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.43e-05/0.6359, allocations: 7.984 kB / 0.6866 GB, free: 4.586 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.653e-05/0.6359, allocations: 11.92 kB / 0.6866 GB, free: 4.574 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.8e-05/0.636, allocations: 11.94 kB / 0.6866 GB, free: 4.562 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.3e-05/0.636, allocations: 0 / 0.6866 GB, free: 4.562 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.663e-05/0.6361, allocations: 11.98 kB / 0.6866 GB, free: 4.551 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.606e-05/0.6361, allocations: 4 kB / 0.6866 GB, free: 4.547 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.824e-05/0.6361, allocations: 33.64 kB / 0.6866 GB, free: 4.508 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 9.871e-05/0.6363, allocations: 30.06 kB / 0.6867 GB, free: 4.484 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.6363, allocations: 0 / 0.6867 GB, free: 4.484 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.493e-06/0.6363, allocations: 0 / 0.6867 GB, free: 4.484 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.207e-06/0.6363, allocations: 8 kB / 0.6867 GB, free: 4.477 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004092/0.6367, allocations: 326.2 kB / 0.687 GB, free: 4.109 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.557e-05/0.6368, allocations: 11.97 kB / 0.687 GB, free: 4.098 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.991e-05/0.6368, allocations: 34.75 kB / 0.687 GB, free: 4.055 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.053e-05/0.6368, allocations: 9.703 kB / 0.687 GB, free: 4.047 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001259/0.637, allocations: 168.3 kB / 0.6872 GB, free: 3.844 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.763e-05/0.6371, allocations: 30.27 kB / 0.6872 GB, free: 3.809 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.396e-06/0.6371, allocations: 384 / 0.6872 GB, free: 3.809 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001358/0.6372, allocations: 53.94 kB / 0.6873 GB, free: 3.75 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.723e-06/0.6372, allocations: 0 / 0.6873 GB, free: 3.75 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.995e-06/0.6372, allocations: 0 / 0.6873 GB, free: 3.75 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.6372, allocations: 0 / 0.6873 GB, free: 3.75 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.372e-05/0.6373, allocations: 11.98 kB / 0.6873 GB, free: 3.738 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001646/0.6375, allocations: 153.7 kB / 0.6874 GB, free: 3.539 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 9.723e-05/0.6376, allocations: 30.61 kB / 0.6875 GB, free: 3.5 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.028e-05/0.6377, allocations: 16.86 kB / 0.6875 GB, free: 3.48 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001671/0.6378, allocations: 93.19 kB / 0.6876 GB, free: 3.371 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.288e-05/0.6379, allocations: 38.44 kB / 0.6876 GB, free: 3.324 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.6379, allocations: 0 / 0.6876 GB, free: 3.324 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0002421/0.6381, allocations: 53.67 kB / 0.6877 GB, free: 3.266 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.316e-05/0.6382, allocations: 55.41 kB / 0.6877 GB, free: 3.199 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.968e-05/0.6383, allocations: 101.8 kB / 0.6878 GB, free: 3.09 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.325e-05/0.6383, allocations: 25.7 kB / 0.6878 GB, free: 3.059 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.779e-05/0.6383, allocations: 84.14 kB / 0.6879 GB, free: 2.973 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.491e-05/0.6384, allocations: 7.844 kB / 0.6879 GB, free: 2.965 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.32e-05/0.6384, allocations: 13.66 kB / 0.6879 GB, free: 2.945 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000123/0.6385, allocations: 314.8 kB / 0.6882 GB, free: 2.629 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.776e-05/0.6386, allocations: 7.984 kB / 0.6883 GB, free: 2.621 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.942e-05/0.6386, allocations: 12 kB / 0.6883 GB, free: 2.609 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001008/0.6387, allocations: 24.78 kB / 0.6883 GB, free: 2.582 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.6387, allocations: 0 / 0.6883 GB, free: 2.582 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001328/0.6389, allocations: 54.06 kB / 0.6883 GB, free: 2.523 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.733e-05/0.6389, allocations: 7.938 kB / 0.6883 GB, free: 2.516 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.6389, allocations: 3.938 kB / 0.6884 GB, free: 2.516 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.104e-05/0.6389, allocations: 0 / 0.6884 GB, free: 2.516 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.193e-05/0.639, allocations: 12.03 kB / 0.6884 GB, free: 2.504 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.508e-06/0.639, allocations: 0 / 0.6884 GB, free: 2.504 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.067e-05/0.6391, allocations: 7.984 kB / 0.6884 GB, free: 2.496 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.053e-06/0.6391, allocations: 0 / 0.6884 GB, free: 2.496 MB / 0.4981 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 7.563e-05/0.6392, allocations: 117.8 kB / 0.6885 GB, free: 2.371 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.071e-05/0.6392, allocations: 3.938 kB / 0.6885 GB, free: 2.367 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001675/0.6394, allocations: 53.8 kB / 0.6885 GB, free: 2.309 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.6394, allocations: 4 kB / 0.6885 GB, free: 2.305 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.6394, allocations: 0 / 0.6885 GB, free: 2.305 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.6394, allocations: 3.938 kB / 0.6885 GB, free: 2.301 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001164/0.6395, allocations: 157.7 kB / 0.6887 GB, free: 2.098 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.6395, allocations: 0 / 0.6887 GB, free: 2.098 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.286e-05/0.6396, allocations: 4 kB / 0.6887 GB, free: 2.094 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.634e-06/0.6396, allocations: 7.922 kB / 0.6887 GB, free: 2.086 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.312e-06/0.6396, allocations: 0 / 0.6887 GB, free: 2.086 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.6396, allocations: 0 / 0.6887 GB, free: 2.086 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.6396, allocations: 4 kB / 0.6887 GB, free: 2.082 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001482/0.6398, allocations: 73.06 kB / 0.6888 GB, free: 1.992 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.1e-05/0.6398, allocations: 96.94 kB / 0.6889 GB, free: 1.879 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.145e-05/0.6398, allocations: 0 / 0.6889 GB, free: 1.879 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.754e-05/0.6399, allocations: 0 / 0.6889 GB, free: 1.879 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.293e-05/0.6399, allocations: 4 kB / 0.6889 GB, free: 1.875 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.186e-06/0.6399, allocations: 0 / 0.6889 GB, free: 1.875 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.936e-05/0.64, allocations: 87.27 kB / 0.689 GB, free: 1.789 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.64, allocations: 0 / 0.689 GB, free: 1.789 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001959/0.6402, allocations: 10.38 kB / 0.689 GB, free: 1.781 MB / 0.4981 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.0004655/0.6406, allocations: 0.624 MB / 0.6896 GB, free: 1.125 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001328/0.6408, allocations: 15.98 kB / 0.6896 GB, free: 1.109 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.6408, allocations: 4 kB / 0.6896 GB, free: 1.105 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.786e-05/0.6409, allocations: 11.98 kB / 0.6896 GB, free: 1.094 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002186/0.6411, allocations: 14.61 kB / 0.6896 GB, free: 1.082 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004006/0.6415, allocations: 178.8 kB / 0.6898 GB, free: 0.8672 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002614/0.6418, allocations: 0.677 MB / 0.6905 GB, free: 168 kB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.293e-05/0.6418, allocations: 4 kB / 0.6905 GB, free: 164 kB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.921e-05/0.6419, allocations: 11.44 kB / 0.6905 GB, free: 152 kB / 0.4981 GB Notification: Performance of SimCode: time 2.4e-07/0.6419, allocations: 0 / 0.6905 GB, free: 152 kB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01061/0.6525, allocations: 1.137 MB / 0.6916 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001977/0.6527, allocations: 225.8 kB / 0.6918 GB, free: 14.92 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.847/2.5, allocations: 0 / 0.6918 GB, free: 14.92 MB / 0.5137 GB (rm -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Psychrometrics_Functions_Examples_Density_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Psychrometrics_Functions_Examples_Density_pTX.fmu > IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1)