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.001632/0.001642, allocations: 103.7 kB / 16.4 MB, free: 6.5 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.002212/0.002213, allocations: 193.2 kB / 17.34 MB, free: 5.742 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.568/1.568, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8171/0.8171, allocations: 115.3 MB / 406.5 MB, free: 6.148 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001231/0.001231, allocations: 66.45 kB / 0.5572 GB, free: 32.43 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1714/0.1726, allocations: 76.18 MB / 0.6316 GB, free: 4.902 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Examples.Density_pTX): time 0.00331/0.176, allocations: 1.476 MB / 0.633 GB, free: 3.414 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.4954/0.6714, allocations: 132.1 MB / 0.762 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.824e-05/0.6716, allocations: 1.5 kB / 0.762 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 3.153e-05/0.6716, allocations: 6.422 kB / 0.762 GB, free: 15.72 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 5.272e-05/0.6717, allocations: 5.375 kB / 0.762 GB, free: 15.72 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003203/0.672, allocations: 70.47 kB / 0.7621 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 8.988e-05/0.6721, allocations: 49.58 kB / 0.7621 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 8.37e-05/0.6722, allocations: 22.47 kB / 0.7621 GB, free: 15.69 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 4.623e-05/0.6723, allocations: 22 kB / 0.7622 GB, free: 15.69 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 4.621e-05/0.6723, allocations: 27.22 kB / 0.7622 GB, free: 15.69 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.471e-05/0.6723, allocations: 3.719 kB / 0.7622 GB, free: 15.69 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 7.594e-05/0.6724, allocations: 16.75 kB / 0.7622 GB, free: 15.69 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 1.456e-05/0.6724, allocations: 15.88 kB / 0.7622 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 3.061e-05/0.6725, allocations: 22.66 kB / 0.7622 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0001149/0.6726, allocations: 56.48 kB / 0.7623 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.6726, allocations: 0 / 0.7623 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.143e-06/0.6726, allocations: 4.906 kB / 0.7623 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 4.168e-06/0.6726, allocations: 0 / 0.7623 GB, free: 15.68 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.0004579/0.6731, allocations: 375.2 kB / 0.7627 GB, free: 15.31 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.402e-05/0.6731, allocations: 8.906 kB / 0.7627 GB, free: 15.31 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.24e-05/0.6732, allocations: 35.25 kB / 0.7627 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.446e-05/0.6732, allocations: 10.12 kB / 0.7627 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.514e-05/0.6733, allocations: 167.5 kB / 0.7629 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.011e-05/0.6733, allocations: 1.219 kB / 0.7629 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.008e-05/0.6733, allocations: 10.16 kB / 0.7629 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002331/0.6736, allocations: 76.44 kB / 0.763 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.175e-06/0.6736, allocations: 3.938 kB / 0.763 GB, free: 15.03 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.025e-06/0.6736, allocations: 0.5938 kB / 0.763 GB, free: 15.03 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.947e-06/0.6736, allocations: 1 kB / 0.763 GB, free: 15.03 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002882/0.6739, allocations: 73.7 kB / 0.763 GB, free: 15.03 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003168/0.6742, allocations: 285.6 kB / 0.7633 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001896/0.6744, allocations: 58.84 kB / 0.7634 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000146/0.6746, allocations: 38.83 kB / 0.7634 GB, free: 14.72 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001471/0.6747, allocations: 94.17 kB / 0.7635 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.33e-05/0.6748, allocations: 31.38 kB / 0.7635 GB, free: 14.58 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.6748, allocations: 0.8438 kB / 0.7635 GB, free: 14.58 MB / 0.5919 GB Notification: Performance of matching and sorting (n=3): time 0.0005168/0.6753, allocations: 127.6 kB / 0.7636 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.713e-05/0.6753, allocations: 61.38 kB / 0.7637 GB, free: 14.48 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.586e-05/0.6754, allocations: 117.8 kB / 0.7638 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.33e-05/0.6754, allocations: 25.7 kB / 0.7638 GB, free: 14.35 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 4.16e-05/0.6755, allocations: 92.5 kB / 0.7639 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 1.642e-05/0.6755, allocations: 8.125 kB / 0.7639 GB, free: 14.26 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.336e-05/0.6755, allocations: 13.06 kB / 0.7639 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001036/0.6757, allocations: 326 kB / 0.7643 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001391/0.6758, allocations: 31.44 kB / 0.7643 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001242/0.6759, allocations: 32.64 kB / 0.7643 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002552/0.6762, allocations: 66.66 kB / 0.7644 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.544e-06/0.6762, allocations: 2.625 kB / 0.7644 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003063/0.6765, allocations: 106.5 kB / 0.7645 GB, free: 13.88 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.174e-05/0.6765, allocations: 4.719 kB / 0.7645 GB, free: 13.88 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.788e-06/0.6765, allocations: 2.688 kB / 0.7645 GB, free: 13.88 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.141e-05/0.6766, allocations: 336 / 0.7645 GB, free: 13.88 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001043/0.6767, allocations: 13.47 kB / 0.7645 GB, free: 13.88 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.6767, allocations: 5.219 kB / 0.7645 GB, free: 13.87 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.313e-05/0.6768, allocations: 15.03 kB / 0.7645 GB, free: 13.87 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.302e-06/0.6768, allocations: 2.625 kB / 0.7645 GB, free: 13.87 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 6.321e-05/0.6768, allocations: 116 kB / 0.7646 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.717e-05/0.6769, allocations: 9.625 kB / 0.7646 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003419/0.6772, allocations: 109.5 kB / 0.7647 GB, free: 13.7 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.6772, allocations: 0 / 0.7647 GB, free: 13.7 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.6772, allocations: 1.406 kB / 0.7647 GB, free: 13.7 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.6772, allocations: 0 / 0.7647 GB, free: 13.7 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001492/0.6774, allocations: 178.8 kB / 0.7649 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.6774, allocations: 1.344 kB / 0.7649 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.52e-05/0.6775, allocations: 16.22 kB / 0.7649 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.6775, allocations: 1.344 kB / 0.7649 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.364e-06/0.6775, allocations: 0.6875 kB / 0.7649 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.6775, allocations: 5.062 kB / 0.7649 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.6775, allocations: 3.938 kB / 0.7649 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003292/0.6779, allocations: 198.9 kB / 0.7651 GB, free: 13.36 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 3.649e-05/0.6779, allocations: 82.36 kB / 0.7652 GB, free: 13.26 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.389e-05/0.6779, allocations: 4.719 kB / 0.7652 GB, free: 13.26 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.918e-05/0.678, allocations: 15.89 kB / 0.7652 GB, free: 13.26 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.51e-05/0.6781, allocations: 4.688 kB / 0.7652 GB, free: 13.26 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.918e-06/0.6781, allocations: 1.469 kB / 0.7652 GB, free: 13.26 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 4.538e-05/0.6781, allocations: 92.78 kB / 0.7653 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of sort global known variables: time 4.61e-07/0.6781, allocations: 0 / 0.7653 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002215/0.6784, allocations: 17.64 kB / 0.7653 GB, free: 13.18 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.0006243/0.679, allocations: 0.7433 MB / 0.7661 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0003101/0.6793, allocations: 72.05 kB / 0.7661 GB, free: 12.51 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.6793, allocations: 0 / 0.7661 GB, free: 12.51 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001412/0.6795, allocations: 38.83 kB / 0.7662 GB, free: 12.51 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002696/0.6797, allocations: 11.25 kB / 0.7662 GB, free: 12.51 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001576/0.6813, allocations: 1.42 MB / 0.7676 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002145/0.6816, allocations: 0.6801 MB / 0.7682 GB, free: 10.64 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 3.351e-05/0.6816, allocations: 7.156 kB / 0.7682 GB, free: 10.64 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.699e-05/0.6816, allocations: 18.22 kB / 0.7683 GB, free: 10.63 MB / 0.5919 GB Notification: Performance of SimCode: time 2.1e-07/0.6816, allocations: 0 / 0.7683 GB, free: 10.63 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.907/2.589, allocations: 2.111 MB / 0.7703 GB, free: 10.2 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.21/14.8, allocations: 8.312 kB / 0.7703 GB, free: 10.2 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)