Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/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.Examples.Density_pTX,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Psychrometrics.Examples.Density_pTX,fileNamePrefix="IBPSA_latest_IBPSA_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.001082/0.001082, allocations: 107.3 kB / 16.4 MB, free: 6.48 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.001167/0.001167, allocations: 193.2 kB / 17.34 MB, free: 5.754 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.371/1.371, allocations: 222.9 MB / 241 MB, free: 14.98 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7323/0.7323, allocations: 115.3 MB / 406.5 MB, free: 6.184 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001365/0.001365, allocations: 69.75 kB / 0.5572 GB, free: 32.51 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1577/0.1591, allocations: 76.17 MB / 0.6316 GB, free: 4.934 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Examples.Density_pTX): time 0.002943/0.1621, allocations: 1.486 MB / 0.633 GB, free: 3.434 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.4826/0.6447, allocations: 132.1 MB / 0.762 GB, free: 15.78 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.998e-05/0.6448, allocations: 1.438 kB / 0.762 GB, free: 15.78 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 3.405e-05/0.6449, allocations: 4.828 kB / 0.762 GB, free: 15.78 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 5.384e-05/0.645, allocations: 9.906 kB / 0.762 GB, free: 15.78 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003434/0.6453, allocations: 71.83 kB / 0.7621 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 9.346e-05/0.6454, allocations: 54.83 kB / 0.7621 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 9.473e-05/0.6455, allocations: 16.42 kB / 0.7621 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 4.742e-05/0.6456, allocations: 21.41 kB / 0.7622 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 5.245e-05/0.6457, allocations: 29.23 kB / 0.7622 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.612e-05/0.6457, allocations: 3.906 kB / 0.7622 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 8.34e-05/0.6458, allocations: 16.03 kB / 0.7622 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 1.82e-05/0.6458, allocations: 9.453 kB / 0.7622 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 4.103e-05/0.6458, allocations: 22.38 kB / 0.7622 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0001384/0.646, allocations: 61.55 kB / 0.7623 GB, free: 15.74 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.646, allocations: 0 / 0.7623 GB, free: 15.74 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.673e-06/0.646, allocations: 4.938 kB / 0.7623 GB, free: 15.74 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5e-06/0.646, allocations: 0 / 0.7623 GB, free: 15.74 MB / 0.5919 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.0005093/0.6465, allocations: 370.6 kB / 0.7627 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.85e-05/0.6466, allocations: 9.75 kB / 0.7627 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.742e-05/0.6466, allocations: 42.5 kB / 0.7627 GB, free: 15.33 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.722e-05/0.6466, allocations: 6.094 kB / 0.7627 GB, free: 15.33 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001049/0.6468, allocations: 167.7 kB / 0.7629 GB, free: 15.13 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.125e-05/0.6468, allocations: 2.844 kB / 0.7629 GB, free: 15.13 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.14e-05/0.6468, allocations: 9.5 kB / 0.7629 GB, free: 15.13 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002539/0.6471, allocations: 75.34 kB / 0.763 GB, free: 15.1 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.534e-05/0.6471, allocations: 3.938 kB / 0.763 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.297e-06/0.6471, allocations: 0.625 kB / 0.763 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.6471, allocations: 0.7188 kB / 0.763 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003036/0.6474, allocations: 75.48 kB / 0.763 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003483/0.6478, allocations: 284.1 kB / 0.7633 GB, free: 14.81 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002049/0.648, allocations: 55.42 kB / 0.7634 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001493/0.6481, allocations: 39.38 kB / 0.7634 GB, free: 14.78 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001587/0.6483, allocations: 94.53 kB / 0.7635 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.823e-05/0.6483, allocations: 35.66 kB / 0.7635 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.6484, allocations: 0 / 0.7635 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of matching and sorting (n=3): time 0.0005282/0.6489, allocations: 129.8 kB / 0.7636 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.001e-05/0.6489, allocations: 54.91 kB / 0.7637 GB, free: 14.54 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.502e-05/0.649, allocations: 118.5 kB / 0.7638 GB, free: 14.45 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.419e-05/0.6491, allocations: 25.7 kB / 0.7638 GB, free: 14.41 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 4.681e-05/0.6491, allocations: 95.78 kB / 0.7639 GB, free: 14.33 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 2.017e-05/0.6491, allocations: 10.25 kB / 0.7639 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.522e-05/0.6492, allocations: 12.47 kB / 0.7639 GB, free: 14.31 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001081/0.6493, allocations: 325.2 kB / 0.7643 GB, free: 13.99 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001397/0.6494, allocations: 30.2 kB / 0.7643 GB, free: 13.99 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001278/0.6496, allocations: 32.88 kB / 0.7643 GB, free: 13.99 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002495/0.6498, allocations: 67.41 kB / 0.7644 GB, free: 13.98 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.6498, allocations: 6.234 kB / 0.7644 GB, free: 13.97 MB / 0.5919 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002958/0.6501, allocations: 103.3 kB / 0.7645 GB, free: 13.94 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/0.6502, allocations: 5.531 kB / 0.7645 GB, free: 13.94 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.469e-06/0.6502, allocations: 0 / 0.7645 GB, free: 13.94 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/0.6502, allocations: 0 / 0.7645 GB, free: 13.94 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001175/0.6503, allocations: 16.91 kB / 0.7645 GB, free: 13.94 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.6503, allocations: 7.938 kB / 0.7645 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.995e-05/0.6504, allocations: 19.09 kB / 0.7645 GB, free: 13.92 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.253e-06/0.6504, allocations: 1.188 kB / 0.7645 GB, free: 13.92 MB / 0.5919 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.612e-05/0.6505, allocations: 120.6 kB / 0.7646 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.902e-05/0.6506, allocations: 2.188 kB / 0.7647 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000345/0.6509, allocations: 111.8 kB / 0.7648 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.6509, allocations: 0 / 0.7648 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.6509, allocations: 3.375 kB / 0.7648 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.6509, allocations: 0 / 0.7648 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001611/0.6511, allocations: 174.5 kB / 0.7649 GB, free: 13.56 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.6511, allocations: 0 / 0.7649 GB, free: 13.56 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.244e-05/0.6512, allocations: 17.31 kB / 0.7649 GB, free: 13.56 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.6512, allocations: 0.5 kB / 0.7649 GB, free: 13.56 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.185e-06/0.6512, allocations: 0 / 0.7649 GB, free: 13.56 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.6512, allocations: 0 / 0.7649 GB, free: 13.56 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.6512, allocations: 7.219 kB / 0.765 GB, free: 13.56 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003326/0.6516, allocations: 199.2 kB / 0.7651 GB, free: 13.42 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 3.849e-05/0.6516, allocations: 85.39 kB / 0.7652 GB, free: 13.32 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.581e-05/0.6516, allocations: 1.375 kB / 0.7652 GB, free: 13.32 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001052/0.6518, allocations: 15.53 kB / 0.7652 GB, free: 13.32 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.148e-05/0.6518, allocations: 5.656 kB / 0.7652 GB, free: 13.32 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.869e-06/0.6518, allocations: 1.344 kB / 0.7652 GB, free: 13.32 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 5.095e-05/0.6519, allocations: 94.05 kB / 0.7653 GB, free: 13.24 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6519, allocations: 1.094 kB / 0.7653 GB, free: 13.24 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002345/0.6521, allocations: 15.88 kB / 0.7654 GB, free: 13.24 MB / 0.5919 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.0005903/0.6527, allocations: 0.7385 MB / 0.7661 GB, free: 12.57 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0003035/0.653, allocations: 68.33 kB / 0.7661 GB, free: 12.57 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.653, allocations: 4 kB / 0.7661 GB, free: 12.57 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001339/0.6532, allocations: 36.03 kB / 0.7662 GB, free: 12.57 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002722/0.6535, allocations: 8.141 kB / 0.7662 GB, free: 12.57 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00161/0.6551, allocations: 1.427 MB / 0.7676 GB, free: 11.39 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002175/0.6553, allocations: 0.6827 MB / 0.7682 GB, free: 10.7 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 3.609e-05/0.6554, allocations: 9.375 kB / 0.7683 GB, free: 10.7 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.246e-05/0.6554, allocations: 23.31 kB / 0.7683 GB, free: 10.68 MB / 0.5919 GB Notification: Performance of SimCode: time 2.31e-07/0.6554, allocations: 0 / 0.7683 GB, free: 10.68 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01766/0.6731, allocations: 2.096 MB / 0.7703 GB, free: 10.26 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.638/8.311, allocations: 8.531 kB / 0.7703 GB, free: 10.26 MB / 0.5919 GB (rm -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.Density_pTX.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.Density_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_Density_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_Density_pTX.fmu > IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1)