Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.Phi_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.Phi_pTX,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_Phi_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Psychrometrics.Examples.Phi_pTX,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_Phi_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.001157/0.001157, allocations: 104.3 kB / 16.27 MB, free: 6.012 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.001175/0.001175, allocations: 193.4 kB / 17.2 MB, free: 5.641 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.402/1.402, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8067/0.8067, allocations: 122.9 MB / 413.9 MB, free: 15.95 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001639/0.001639, allocations: 71.89 kB / 0.4912 GB, free: 7.418 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5018/0.5034, allocations: 77.92 MB / 0.5673 GB, free: 32.55 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.003094/0.5066, allocations: 1.478 MB / 0.5687 GB, free: 31.53 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001259/0.5079, allocations: 0.8074 MB / 0.5695 GB, free: 30.98 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.646e-05/0.5079, allocations: 1.094 kB / 0.5695 GB, free: 30.98 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.863e-05/0.508, allocations: 8.906 kB / 0.5695 GB, free: 30.97 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.442e-05/0.5081, allocations: 7.297 kB / 0.5695 GB, free: 30.96 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004744/0.5085, allocations: 127.3 kB / 0.5696 GB, free: 30.91 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 9.002e-05/0.5086, allocations: 56.16 kB / 0.5697 GB, free: 30.88 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001164/0.5088, allocations: 17.28 kB / 0.5697 GB, free: 30.87 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.664e-05/0.5088, allocations: 16.31 kB / 0.5697 GB, free: 30.87 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.549e-05/0.5089, allocations: 29.58 kB / 0.5698 GB, free: 30.85 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.681e-05/0.5089, allocations: 3.906 kB / 0.5698 GB, free: 30.85 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003872/0.5093, allocations: 174.7 kB / 0.5699 GB, free: 30.8 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.905e-05/0.5093, allocations: 11.73 kB / 0.5699 GB, free: 30.8 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.076e-05/0.5094, allocations: 19.05 kB / 0.57 GB, free: 30.79 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002912/0.5097, allocations: 151 kB / 0.5701 GB, free: 30.73 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.5097, allocations: 1.797 kB / 0.5701 GB, free: 30.73 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.5097, allocations: 1.406 kB / 0.5701 GB, free: 30.73 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.081e-06/0.5097, allocations: 0 / 0.5701 GB, free: 30.73 MB / 446.1 MB 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.0005082/0.5102, allocations: 398.7 kB / 0.5705 GB, free: 30.34 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.245e-05/0.5103, allocations: 10.72 kB / 0.5705 GB, free: 30.34 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.569e-05/0.5103, allocations: 36.84 kB / 0.5705 GB, free: 30.3 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.229e-05/0.5103, allocations: 3.938 kB / 0.5705 GB, free: 30.3 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.165e-05/0.5104, allocations: 177.6 kB / 0.5707 GB, free: 30.09 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.318e-05/0.5105, allocations: 6.812 kB / 0.5707 GB, free: 30.09 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.073e-05/0.5105, allocations: 2.688 kB / 0.5707 GB, free: 30.09 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002619/0.5107, allocations: 73.61 kB / 0.5708 GB, free: 30.05 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.27e-05/0.5108, allocations: 3.938 kB / 0.5708 GB, free: 30.05 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.281e-05/0.5108, allocations: 5.047 kB / 0.5708 GB, free: 30.04 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.192e-06/0.5108, allocations: 1.125 kB / 0.5708 GB, free: 30.04 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002986/0.5111, allocations: 71.52 kB / 0.5709 GB, free: 30.03 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000333/0.5114, allocations: 289.1 kB / 0.5711 GB, free: 29.74 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002013/0.5116, allocations: 56.17 kB / 0.5712 GB, free: 29.71 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001594/0.5118, allocations: 38.11 kB / 0.5712 GB, free: 29.7 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001865/0.512, allocations: 90.94 kB / 0.5713 GB, free: 29.6 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.19e-05/0.512, allocations: 32.84 kB / 0.5713 GB, free: 29.56 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.512, allocations: 3.938 kB / 0.5713 GB, free: 29.56 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005787/0.5126, allocations: 137.1 kB / 0.5715 GB, free: 29.51 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.659e-05/0.5127, allocations: 51.41 kB / 0.5715 GB, free: 29.45 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.86e-05/0.5128, allocations: 118.1 kB / 0.5716 GB, free: 29.34 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.109e-05/0.5128, allocations: 27.73 kB / 0.5717 GB, free: 29.31 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.444e-05/0.5128, allocations: 91.69 kB / 0.5718 GB, free: 29.22 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.919e-05/0.5128, allocations: 14.23 kB / 0.5718 GB, free: 29.21 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.122e-05/0.5129, allocations: 14.53 kB / 0.5718 GB, free: 29.19 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.148e-05/0.5129, allocations: 322.8 kB / 0.5721 GB, free: 28.87 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001698/0.5131, allocations: 34.17 kB / 0.5721 GB, free: 28.87 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00014/0.5133, allocations: 32.69 kB / 0.5722 GB, free: 28.86 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000279/0.5136, allocations: 70.34 kB / 0.5722 GB, free: 28.84 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.5136, allocations: 1.328 kB / 0.5722 GB, free: 28.84 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000331/0.5139, allocations: 101 kB / 0.5723 GB, free: 28.8 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.5139, allocations: 7.938 kB / 0.5723 GB, free: 28.8 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.5139, allocations: 0 / 0.5723 GB, free: 28.8 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.514, allocations: 1.656 kB / 0.5723 GB, free: 28.8 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001255/0.5141, allocations: 16.64 kB / 0.5723 GB, free: 28.8 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.511e-06/0.5141, allocations: 2.688 kB / 0.5723 GB, free: 28.8 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.1e-05/0.5142, allocations: 12.7 kB / 0.5724 GB, free: 28.8 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.945e-06/0.5142, allocations: 0 / 0.5724 GB, free: 28.8 MB / 446.1 MB 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 5.886e-05/0.5143, allocations: 116.9 kB / 0.5725 GB, free: 28.68 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.617e-05/0.5143, allocations: 2.094 kB / 0.5725 GB, free: 28.68 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00037/0.5147, allocations: 113.1 kB / 0.5726 GB, free: 28.62 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-06/0.5147, allocations: 1.719 kB / 0.5726 GB, free: 28.62 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.5147, allocations: 0.5625 kB / 0.5726 GB, free: 28.62 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.5147, allocations: 1.906 kB / 0.5726 GB, free: 28.62 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001431/0.5149, allocations: 175.2 kB / 0.5728 GB, free: 28.42 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.5149, allocations: 2.5 kB / 0.5728 GB, free: 28.42 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.305e-05/0.515, allocations: 15.45 kB / 0.5728 GB, free: 28.42 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.205e-06/0.515, allocations: 1.812 kB / 0.5728 GB, free: 28.42 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.677e-06/0.515, allocations: 2.531 kB / 0.5728 GB, free: 28.42 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/0.515, allocations: 4 kB / 0.5728 GB, free: 28.42 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.515, allocations: 5.438 kB / 0.5728 GB, free: 28.41 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003408/0.5153, allocations: 205.1 kB / 0.573 GB, free: 28.26 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.561e-05/0.5154, allocations: 83.44 kB / 0.5731 GB, free: 28.16 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.522e-05/0.5154, allocations: 1.5 kB / 0.5731 GB, free: 28.16 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00011/0.5155, allocations: 12.72 kB / 0.5731 GB, free: 28.16 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.545e-05/0.5156, allocations: 8.156 kB / 0.5731 GB, free: 28.16 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.969e-06/0.5156, allocations: 2.094 kB / 0.5731 GB, free: 28.16 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.2e-05/0.5156, allocations: 95.33 kB / 0.5732 GB, free: 28.08 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5156, allocations: 0.625 kB / 0.5732 GB, free: 28.08 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002795/0.5159, allocations: 32.44 kB / 0.5732 GB, free: 28.07 MB / 446.1 MB 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.0006535/0.5166, allocations: 0.7598 MB / 0.5739 GB, free: 27.39 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003364/0.5169, allocations: 71.23 kB / 0.574 GB, free: 27.38 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.5169, allocations: 0.8125 kB / 0.574 GB, free: 27.38 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001702/0.5171, allocations: 44.81 kB / 0.5741 GB, free: 27.38 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002731/0.5174, allocations: 9.594 kB / 0.5741 GB, free: 27.37 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001607/0.519, allocations: 1.416 MB / 0.5754 GB, free: 26.14 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001423/0.5192, allocations: 0.6843 MB / 0.5761 GB, free: 25.45 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.52e-05/0.5192, allocations: 3.844 kB / 0.5761 GB, free: 25.45 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.347e-05/0.5193, allocations: 20.92 kB / 0.5761 GB, free: 25.43 MB / 446.1 MB Notification: Performance of SimCode: time 2.31e-07/0.5193, allocations: 0 / 0.5761 GB, free: 25.43 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01935/0.5386, allocations: 2.412 MB / 0.5785 GB, free: 25.04 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.702/8.241, allocations: 10.38 kB / 0.5785 GB, free: 25.04 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.Phi_pTX.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.Phi_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_Phi_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_Phi_pTX.fmu > IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1)