Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Psychrometrics.Functions.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Functions_Examples_phi_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Functions_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.0009363/0.0009364, allocations: 98.19 kB / 15.36 MB, free: 0.7344 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.006553/0.006553, allocations: 171 kB / 16.27 MB, free: 6.332 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.418/1.418, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7699/0.7699, allocations: 132.3 MB / 423.8 MB, free: 1.977 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004796/0.0004795, allocations: 12 kB / 0.5041 GB, free: 3.801 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4469/0.4474, allocations: 81.57 MB / 0.5837 GB, free: 4.055 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.001333/0.4487, allocations: 0.9973 MB / 0.5847 GB, free: 3.316 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001245/0.45, allocations: 0.8398 MB / 0.5855 GB, free: 2.738 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.664e-05/0.45, allocations: 0 / 0.5855 GB, free: 2.738 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.801e-05/0.4501, allocations: 4.938 kB / 0.5855 GB, free: 2.734 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.294e-05/0.4501, allocations: 14.86 kB / 0.5856 GB, free: 2.723 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004018/0.4505, allocations: 106.9 kB / 0.5857 GB, free: 2.672 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 7.274e-05/0.4506, allocations: 27.55 kB / 0.5857 GB, free: 2.66 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.404e-05/0.4506, allocations: 1.922 kB / 0.5857 GB, free: 2.66 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.564e-05/0.4507, allocations: 7.719 kB / 0.5857 GB, free: 2.66 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.457e-05/0.4508, allocations: 19.59 kB / 0.5857 GB, free: 2.648 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.36e-05/0.4508, allocations: 0.8438 kB / 0.5857 GB, free: 2.648 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003412/0.4511, allocations: 172.9 kB / 0.5859 GB, free: 2.602 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.541e-05/0.4512, allocations: 2.781 kB / 0.5859 GB, free: 2.602 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.311e-05/0.4512, allocations: 43.16 kB / 0.5859 GB, free: 2.559 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002499/0.4515, allocations: 114.3 kB / 0.586 GB, free: 2.531 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/0.4515, allocations: 0.5625 kB / 0.586 GB, free: 2.531 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.615e-06/0.4515, allocations: 0 / 0.586 GB, free: 2.531 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.288e-06/0.4515, allocations: 3.938 kB / 0.586 GB, free: 2.527 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.000355/0.4518, allocations: 354.4 kB / 0.5864 GB, free: 2.152 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.374e-05/0.4519, allocations: 9.469 kB / 0.5864 GB, free: 2.152 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.907e-05/0.4519, allocations: 40.2 kB / 0.5864 GB, free: 2.105 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.042e-05/0.452, allocations: 4.656 kB / 0.5864 GB, free: 2.105 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.777e-05/0.452, allocations: 162.1 kB / 0.5866 GB, free: 1.91 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.611e-05/0.4521, allocations: 30.56 kB / 0.5866 GB, free: 1.879 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.433e-05/0.4521, allocations: 5.781 kB / 0.5866 GB, free: 1.875 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001322/0.4523, allocations: 48.48 kB / 0.5867 GB, free: 1.836 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.195e-06/0.4523, allocations: 0 / 0.5867 GB, free: 1.836 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.418e-06/0.4523, allocations: 0 / 0.5867 GB, free: 1.836 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.4523, allocations: 0.9062 kB / 0.5867 GB, free: 1.836 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001019/0.4524, allocations: 26.62 kB / 0.5867 GB, free: 1.824 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001261/0.4526, allocations: 158.2 kB / 0.5868 GB, free: 1.629 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00021/0.4528, allocations: 47.62 kB / 0.5869 GB, free: 1.598 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.644e-05/0.4528, allocations: 16.58 kB / 0.5869 GB, free: 1.586 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002651/0.4531, allocations: 190.1 kB / 0.5871 GB, free: 1.387 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.968e-05/0.4531, allocations: 36.45 kB / 0.5871 GB, free: 1.344 MB / 430.1 MB Notification: Performance of pre-optimization done (n=4): time 1.113e-06/0.4531, allocations: 0 / 0.5871 GB, free: 1.344 MB / 430.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002499/0.4534, allocations: 76.5 kB / 0.5872 GB, free: 1.293 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.348e-05/0.4534, allocations: 56.88 kB / 0.5872 GB, free: 1.227 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.952e-05/0.4535, allocations: 98.72 kB / 0.5873 GB, free: 1.125 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 9.227e-06/0.4535, allocations: 27.64 kB / 0.5874 GB, free: 1.094 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.422e-05/0.4535, allocations: 84.7 kB / 0.5874 GB, free: 1.008 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.478e-05/0.4536, allocations: 7.156 kB / 0.5875 GB, free: 1.004 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.03e-05/0.4536, allocations: 13.72 kB / 0.5875 GB, free: 0.9844 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.955e-05/0.4536, allocations: 314 kB / 0.5878 GB, free: 0.6719 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.812e-05/0.4537, allocations: 7.156 kB / 0.5878 GB, free: 0.6719 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.29e-05/0.4537, allocations: 12.84 kB / 0.5878 GB, free: 0.668 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.409e-05/0.4538, allocations: 24.77 kB / 0.5878 GB, free: 0.6562 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.4539, allocations: 4 kB / 0.5878 GB, free: 0.6523 MB / 430.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001386/0.454, allocations: 64.69 kB / 0.5879 GB, free: 0.6055 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.826e-05/0.454, allocations: 10.28 kB / 0.5879 GB, free: 0.6016 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.087e-06/0.454, allocations: 0 / 0.5879 GB, free: 0.6016 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/0.4541, allocations: 1.312 kB / 0.5879 GB, free: 0.6016 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.429e-05/0.4541, allocations: 7.625 kB / 0.5879 GB, free: 0.6016 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.631e-06/0.4541, allocations: 1.188 kB / 0.5879 GB, free: 0.6016 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.971e-05/0.4542, allocations: 1.734 kB / 0.5879 GB, free: 0.6016 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.801e-06/0.4542, allocations: 1.562 kB / 0.5879 GB, free: 0.6016 MB / 430.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 (4): * Single equations (assignments): 4 * 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.427e-05/0.4542, allocations: 116.3 kB / 0.588 GB, free: 492 kB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.154e-05/0.4543, allocations: 6.266 kB / 0.588 GB, free: 488 kB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001859/0.4544, allocations: 67.83 kB / 0.5881 GB, free: 436 kB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.4545, allocations: 0.9688 kB / 0.5881 GB, free: 436 kB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.4545, allocations: 0 / 0.5881 GB, free: 436 kB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.4545, allocations: 1.156 kB / 0.5881 GB, free: 436 kB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.127e-05/0.4546, allocations: 155.3 kB / 0.5882 GB, free: 240 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.4546, allocations: 0 / 0.5882 GB, free: 240 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.142e-05/0.4546, allocations: 8.172 kB / 0.5882 GB, free: 240 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.318e-06/0.4546, allocations: 8.969 kB / 0.5882 GB, free: 232 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.825e-06/0.4546, allocations: 0.8906 kB / 0.5882 GB, free: 232 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.4547, allocations: 0.5625 kB / 0.5882 GB, free: 232 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.4547, allocations: 0.875 kB / 0.5882 GB, free: 232 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001465/0.4548, allocations: 90.72 kB / 0.5883 GB, free: 148 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.135e-05/0.4549, allocations: 88.98 kB / 0.5884 GB, free: 44 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.34e-05/0.4549, allocations: 5.875 kB / 0.5884 GB, free: 40 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.776e-05/0.4549, allocations: 6.812 kB / 0.5884 GB, free: 36 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.092e-05/0.455, allocations: 4.578 kB / 0.5884 GB, free: 36 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.14e-06/0.455, allocations: 1.375 kB / 0.5884 GB, free: 36 kB / 430.1 MB Notification: Performance of sorting global known variables: time 5.525e-05/0.4551, allocations: 79.56 kB / 0.5885 GB, free: 15.96 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4551, allocations: 0 / 0.5885 GB, free: 15.96 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002386/0.4553, allocations: 36.12 kB / 0.5885 GB, free: 15.95 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 (4): * Single equations (assignments): 4 * 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.0005572/0.4559, allocations: 0.6614 MB / 0.5892 GB, free: 15.33 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001508/0.456, allocations: 30 kB / 0.5892 GB, free: 15.32 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.456, allocations: 0.9062 kB / 0.5892 GB, free: 15.32 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 5.731e-05/0.4561, allocations: 15.3 kB / 0.5892 GB, free: 15.32 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002179/0.4563, allocations: 10.25 kB / 0.5892 GB, free: 15.32 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004228/0.4568, allocations: 196.9 kB / 0.5894 GB, free: 15.13 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002148/0.457, allocations: 0.6759 MB / 0.5901 GB, free: 14.44 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.885e-05/0.457, allocations: 7.406 kB / 0.5901 GB, free: 14.43 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.432e-05/0.4571, allocations: 11.34 kB / 0.5901 GB, free: 14.43 MB / 446.1 MB Notification: Performance of SimCode: time 2.3e-07/0.4571, allocations: 0 / 0.5901 GB, free: 14.43 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01205/0.4691, allocations: 1.704 MB / 0.5918 GB, free: 14.25 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000188/0.4694, allocations: 194.5 kB / 0.592 GB, free: 14 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.764/2.233, allocations: 3.625 kB / 0.592 GB, free: 14 MB / 446.1 MB (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Psychrometrics_Functions_Examples_phi_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Psychrometrics_Functions_Examples_phi_pTX.fmu > IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1)