Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/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.Phi_pTX,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_Phi_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX,fileNamePrefix="BuildingSystems_BuildingSystems_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.007001/0.007001, allocations: 101 kB / 15.73 MB, free: 6.059 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.001936/0.001937, allocations: 194 kB / 16.67 MB, free: 5.969 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.531/1.531, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002955/0.002955, allocations: 284.2 kB / 290.8 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.094/1.094, allocations: 169.3 MB / 0.4983 GB, free: 4.43 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002705/0.002705, allocations: 99.83 kB / 0.681 GB, free: 7.473 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5402/0.5429, allocations: 86.98 MB / 0.7659 GB, free: 3.855 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.002835/0.5458, allocations: 1.484 MB / 0.7674 GB, free: 2.359 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001326/0.5471, allocations: 0.8087 MB / 0.7681 GB, free: 1.547 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.936e-05/0.5472, allocations: 4 kB / 0.7681 GB, free: 1.543 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.95e-05/0.5472, allocations: 3.938 kB / 0.7681 GB, free: 1.539 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.531e-05/0.5473, allocations: 11.86 kB / 0.7682 GB, free: 1.527 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.000474/0.5477, allocations: 131.4 kB / 0.7683 GB, free: 1.398 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 9.765e-05/0.5479, allocations: 55.77 kB / 0.7683 GB, free: 1.344 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001095/0.548, allocations: 19.78 kB / 0.7684 GB, free: 1.328 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 6.193e-05/0.548, allocations: 23.92 kB / 0.7684 GB, free: 1.305 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.209e-05/0.5481, allocations: 15.92 kB / 0.7684 GB, free: 1.289 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.478e-05/0.5481, allocations: 4 kB / 0.7684 GB, free: 1.285 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003467/0.5485, allocations: 183.7 kB / 0.7686 GB, free: 1.105 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.71e-05/0.5485, allocations: 11.92 kB / 0.7686 GB, free: 1.094 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.604e-05/0.5485, allocations: 19.94 kB / 0.7686 GB, free: 1.074 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002697/0.5488, allocations: 140.8 kB / 0.7687 GB, free: 0.9414 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.5488, allocations: 0 / 0.7687 GB, free: 0.9414 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.403e-06/0.5488, allocations: 0 / 0.7687 GB, free: 0.9414 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 8.887e-06/0.5489, allocations: 7.922 kB / 0.7687 GB, free: 0.9336 MB / 0.5294 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.00064/0.5495, allocations: 398.9 kB / 0.7691 GB, free: 0.4922 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.043e-05/0.5496, allocations: 16.03 kB / 0.7691 GB, free: 488 kB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.542e-05/0.5496, allocations: 34.75 kB / 0.7692 GB, free: 444 kB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.309e-05/0.5496, allocations: 16.83 kB / 0.7692 GB, free: 428 kB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001778/0.5498, allocations: 172.2 kB / 0.7694 GB, free: 216 kB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.332e-05/0.5498, allocations: 4.375 kB / 0.7694 GB, free: 212 kB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.898e-06/0.5499, allocations: 384 / 0.7694 GB, free: 212 kB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002648/0.5501, allocations: 74.2 kB / 0.7694 GB, free: 132 kB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.31e-05/0.5502, allocations: 3.938 kB / 0.7694 GB, free: 128 kB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.181e-05/0.5502, allocations: 4 kB / 0.7694 GB, free: 124 kB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.01e-06/0.5502, allocations: 8 kB / 0.7694 GB, free: 116 kB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002777/0.5505, allocations: 63.92 kB / 0.7695 GB, free: 52 kB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004367/0.5509, allocations: 288.7 kB / 0.7698 GB, free: 15.72 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002023/0.5511, allocations: 54.55 kB / 0.7698 GB, free: 15.66 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001518/0.5513, allocations: 40.91 kB / 0.7699 GB, free: 15.61 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002179/0.5515, allocations: 89.09 kB / 0.77 GB, free: 15.51 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.393e-05/0.5515, allocations: 34.56 kB / 0.77 GB, free: 15.46 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 1.223e-06/0.5516, allocations: 0 / 0.77 GB, free: 15.46 MB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.0005769/0.5521, allocations: 137.5 kB / 0.7701 GB, free: 15.32 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.923e-05/0.5522, allocations: 51.41 kB / 0.7702 GB, free: 15.26 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001331/0.5523, allocations: 121.8 kB / 0.7703 GB, free: 15.13 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.398e-05/0.5524, allocations: 25.7 kB / 0.7703 GB, free: 15.1 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.989e-05/0.5524, allocations: 88.14 kB / 0.7704 GB, free: 15.01 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.782e-05/0.5525, allocations: 15.89 kB / 0.7704 GB, free: 15 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.765e-05/0.5525, allocations: 13.72 kB / 0.7704 GB, free: 14.98 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001523/0.5527, allocations: 318.8 kB / 0.7707 GB, free: 14.66 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001434/0.5528, allocations: 31.95 kB / 0.7708 GB, free: 14.62 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000132/0.553, allocations: 31.97 kB / 0.7708 GB, free: 14.59 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000261/0.5532, allocations: 69.06 kB / 0.7709 GB, free: 14.52 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.5532, allocations: 0 / 0.7709 GB, free: 14.52 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003126/0.5536, allocations: 101.5 kB / 0.771 GB, free: 14.42 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/0.5536, allocations: 12 kB / 0.771 GB, free: 14.41 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.531e-06/0.5536, allocations: 0 / 0.771 GB, free: 14.41 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.687e-05/0.5536, allocations: 0 / 0.771 GB, free: 14.41 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001617/0.5538, allocations: 19.97 kB / 0.771 GB, free: 14.39 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.716e-06/0.5538, allocations: 0 / 0.771 GB, free: 14.39 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.933e-05/0.5539, allocations: 27.81 kB / 0.771 GB, free: 14.36 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.286e-06/0.5539, allocations: 3.938 kB / 0.771 GB, free: 14.36 MB / 0.545 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 9.652e-05/0.554, allocations: 109.8 kB / 0.7711 GB, free: 14.24 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.697e-05/0.5541, allocations: 8 kB / 0.7711 GB, free: 14.23 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003827/0.5545, allocations: 113.4 kB / 0.7712 GB, free: 14.11 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.5545, allocations: 0 / 0.7712 GB, free: 14.11 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.5545, allocations: 0 / 0.7712 GB, free: 14.11 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.693e-06/0.5545, allocations: 3.984 kB / 0.7712 GB, free: 14.11 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002361/0.5547, allocations: 173.6 kB / 0.7714 GB, free: 13.89 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.5547, allocations: 0 / 0.7714 GB, free: 13.89 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.492e-05/0.5548, allocations: 19.97 kB / 0.7714 GB, free: 13.87 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.5549, allocations: 0 / 0.7714 GB, free: 13.87 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.469e-05/0.5549, allocations: 4 kB / 0.7714 GB, free: 13.86 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.5549, allocations: 0 / 0.7714 GB, free: 13.86 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.5549, allocations: 4 kB / 0.7714 GB, free: 13.86 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004121/0.5553, allocations: 203.3 kB / 0.7716 GB, free: 13.64 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 7.066e-05/0.5554, allocations: 85.06 kB / 0.7717 GB, free: 13.54 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.209e-05/0.5554, allocations: 3.984 kB / 0.7717 GB, free: 13.54 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000119/0.5555, allocations: 7.984 kB / 0.7717 GB, free: 13.53 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.199e-05/0.5556, allocations: 8 kB / 0.7717 GB, free: 13.52 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.647e-06/0.5556, allocations: 0 / 0.7717 GB, free: 13.52 MB / 0.545 GB Notification: Performance of sorting global known variables: time 8.178e-05/0.5557, allocations: 95.27 kB / 0.7718 GB, free: 13.43 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5557, allocations: 0 / 0.7718 GB, free: 13.43 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003973/0.5561, allocations: 31.88 kB / 0.7718 GB, free: 13.4 MB / 0.545 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.0009547/0.5571, allocations: 0.7631 MB / 0.7726 GB, free: 12.61 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003692/0.5575, allocations: 75.86 kB / 0.7727 GB, free: 12.54 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.5575, allocations: 0 / 0.7727 GB, free: 12.54 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001557/0.5576, allocations: 31.97 kB / 0.7727 GB, free: 12.5 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000466/0.5581, allocations: 22.67 kB / 0.7727 GB, free: 12.48 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002069/0.5602, allocations: 1.415 MB / 0.7741 GB, free: 10.99 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003293/0.5605, allocations: 0.6884 MB / 0.7748 GB, free: 10.27 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.49e-05/0.5606, allocations: 3.984 kB / 0.7748 GB, free: 10.27 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.056e-05/0.5606, allocations: 19.62 kB / 0.7748 GB, free: 10.25 MB / 0.545 GB Notification: Performance of SimCode: time 3.41e-07/0.5606, allocations: 0 / 0.7748 GB, free: 10.25 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02616/0.5868, allocations: 2.452 MB / 0.7772 GB, free: 7.914 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.027/8.614, allocations: 10.84 kB / 0.7772 GB, free: 7.91 MB / 0.545 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_Phi_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_Phi_pTX.fmu > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1)