Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/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.Functions.Examples.phi_pTX,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_phi_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX,fileNamePrefix="BuildingSystems_BuildingSystems_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.005574/0.005574, allocations: 99.53 kB / 15.73 MB, free: 5.996 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.001119/0.001119, allocations: 195.2 kB / 16.68 MB, free: 5.918 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.279/1.279, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002071/0.002071, allocations: 291.6 kB / 290.8 MB, free: 14.43 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9001/0.9001, allocations: 169.3 MB / 0.4983 GB, free: 4.422 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001772/0.001772, allocations: 95.84 kB / 0.681 GB, free: 7.469 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3893/0.391, allocations: 86.98 MB / 0.7659 GB, free: 3.855 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.002154/0.3932, allocations: 1.267 MB / 0.7671 GB, free: 2.582 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001214/0.3945, allocations: 0.8281 MB / 0.768 GB, free: 1.75 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.123e-05/0.3945, allocations: 4 kB / 0.768 GB, free: 1.746 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.021e-05/0.3946, allocations: 0 / 0.768 GB, free: 1.746 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.214e-05/0.3946, allocations: 11.92 kB / 0.768 GB, free: 1.734 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005164/0.3951, allocations: 123.4 kB / 0.7681 GB, free: 1.613 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 7.452e-05/0.3952, allocations: 23.92 kB / 0.7681 GB, free: 1.59 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.08e-05/0.3953, allocations: 3.984 kB / 0.7681 GB, free: 1.586 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 3.739e-05/0.3953, allocations: 15.92 kB / 0.7681 GB, free: 1.57 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.634e-05/0.3954, allocations: 11.94 kB / 0.7681 GB, free: 1.559 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.166e-05/0.3954, allocations: 4 kB / 0.7681 GB, free: 1.555 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003257/0.3957, allocations: 171.7 kB / 0.7683 GB, free: 1.387 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.643e-05/0.3957, allocations: 3.984 kB / 0.7683 GB, free: 1.383 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.486e-05/0.3958, allocations: 11.94 kB / 0.7683 GB, free: 1.371 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002558/0.396, allocations: 119.7 kB / 0.7684 GB, free: 1.254 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.396, allocations: 0 / 0.7684 GB, free: 1.254 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.883e-06/0.3961, allocations: 0 / 0.7684 GB, free: 1.254 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.919e-06/0.3961, allocations: 0 / 0.7684 GB, free: 1.254 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004284/0.3965, allocations: 367.4 kB / 0.7688 GB, free: 0.8438 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.045e-05/0.3965, allocations: 16.03 kB / 0.7688 GB, free: 0.8281 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.529e-05/0.3966, allocations: 30.75 kB / 0.7688 GB, free: 0.7891 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.258e-05/0.3966, allocations: 0.9375 kB / 0.7688 GB, free: 0.7891 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001004/0.3967, allocations: 168.3 kB / 0.769 GB, free: 0.5859 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.932e-05/0.3968, allocations: 34.27 kB / 0.769 GB, free: 0.5469 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.023e-05/0.3968, allocations: 4.375 kB / 0.769 GB, free: 0.543 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001289/0.397, allocations: 53.92 kB / 0.7691 GB, free: 496 kB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.356e-06/0.397, allocations: 0 / 0.7691 GB, free: 496 kB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.097e-06/0.397, allocations: 0 / 0.7691 GB, free: 496 kB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.397, allocations: 4 kB / 0.7691 GB, free: 492 kB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.81e-05/0.3971, allocations: 19.92 kB / 0.7691 GB, free: 472 kB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001451/0.3972, allocations: 157.7 kB / 0.7693 GB, free: 264 kB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001943/0.3974, allocations: 42.56 kB / 0.7693 GB, free: 212 kB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.755e-05/0.3975, allocations: 16.95 kB / 0.7693 GB, free: 192 kB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002965/0.3978, allocations: 186.1 kB / 0.7695 GB, free: 15.97 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.722e-05/0.3979, allocations: 42.48 kB / 0.7695 GB, free: 15.92 MB / 0.545 GB Notification: Performance of pre-optimization done (n=4): time 1.142e-06/0.3979, allocations: 0 / 0.7695 GB, free: 15.92 MB / 0.545 GB Notification: Performance of matching and sorting (n=4): time 0.0002436/0.3981, allocations: 65.59 kB / 0.7696 GB, free: 15.85 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.698e-05/0.3982, allocations: 55.39 kB / 0.7696 GB, free: 15.78 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.907e-05/0.3982, allocations: 94.19 kB / 0.7697 GB, free: 15.68 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.268e-05/0.3982, allocations: 29.7 kB / 0.7698 GB, free: 15.64 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 2.555e-05/0.3983, allocations: 84.14 kB / 0.7698 GB, free: 15.56 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.496e-05/0.3983, allocations: 7.906 kB / 0.7698 GB, free: 15.55 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.567e-05/0.3983, allocations: 21.7 kB / 0.7699 GB, free: 15.52 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 8.718e-05/0.3984, allocations: 310.8 kB / 0.7702 GB, free: 15.21 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.783e-05/0.3985, allocations: 7.938 kB / 0.7702 GB, free: 15.2 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.271e-05/0.3985, allocations: 20.02 kB / 0.7702 GB, free: 15.18 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.417e-05/0.3986, allocations: 28.84 kB / 0.7702 GB, free: 15.15 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.103e-06/0.3986, allocations: 0 / 0.7702 GB, free: 15.15 MB / 0.545 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001287/0.3988, allocations: 57.59 kB / 0.7703 GB, free: 15.09 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/0.3988, allocations: 15.88 kB / 0.7703 GB, free: 15.07 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-06/0.3988, allocations: 0 / 0.7703 GB, free: 15.07 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.269e-05/0.3988, allocations: 0 / 0.7703 GB, free: 15.07 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.7e-05/0.3989, allocations: 11.98 kB / 0.7703 GB, free: 15.06 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.662e-06/0.3989, allocations: 0 / 0.7703 GB, free: 15.06 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.937e-05/0.3989, allocations: 3.938 kB / 0.7703 GB, free: 15.06 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.109e-06/0.399, allocations: 4 kB / 0.7703 GB, free: 15.05 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 (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 6.644e-05/0.399, allocations: 116.2 kB / 0.7704 GB, free: 14.93 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.36e-05/0.399, allocations: 3.938 kB / 0.7704 GB, free: 14.93 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001651/0.3992, allocations: 73.14 kB / 0.7705 GB, free: 14.85 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.3992, allocations: 0 / 0.7705 GB, free: 14.85 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.3992, allocations: 0 / 0.7705 GB, free: 14.85 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.3992, allocations: 0 / 0.7705 GB, free: 14.85 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.811e-05/0.3993, allocations: 161.6 kB / 0.7706 GB, free: 14.64 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.3993, allocations: 0 / 0.7706 GB, free: 14.64 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.668e-05/0.3994, allocations: 8 kB / 0.7707 GB, free: 14.64 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.457e-06/0.3994, allocations: 7.875 kB / 0.7707 GB, free: 14.63 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.965e-06/0.3994, allocations: 4 kB / 0.7707 GB, free: 14.62 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.3994, allocations: 3.938 kB / 0.7707 GB, free: 14.62 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.3994, allocations: 0 / 0.7707 GB, free: 14.62 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001433/0.3996, allocations: 85.02 kB / 0.7708 GB, free: 14.52 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.206e-05/0.3996, allocations: 85.03 kB / 0.7708 GB, free: 14.42 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.418e-05/0.3997, allocations: 12 kB / 0.7708 GB, free: 14.41 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.575e-05/0.3997, allocations: 4 kB / 0.7708 GB, free: 14.4 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.701e-05/0.3997, allocations: 0 / 0.7708 GB, free: 14.4 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.494e-06/0.3998, allocations: 4 kB / 0.7709 GB, free: 14.4 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.311e-05/0.3998, allocations: 79.27 kB / 0.7709 GB, free: 14.32 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3998, allocations: 0 / 0.7709 GB, free: 14.32 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002208/0.4, allocations: 32 kB / 0.771 GB, free: 14.29 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 (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.0004976/0.4005, allocations: 0.6673 MB / 0.7716 GB, free: 13.59 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001374/0.4007, allocations: 28.02 kB / 0.7716 GB, free: 13.56 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.51e-06/0.4007, allocations: 4 kB / 0.7716 GB, free: 13.56 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 4.983e-05/0.4008, allocations: 19.92 kB / 0.7717 GB, free: 13.54 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002224/0.401, allocations: 9.312 kB / 0.7717 GB, free: 13.53 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004042/0.4014, allocations: 167.7 kB / 0.7718 GB, free: 13.33 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001982/0.4016, allocations: 0.6807 MB / 0.7725 GB, free: 12.62 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.563e-05/0.4016, allocations: 4 kB / 0.7725 GB, free: 12.62 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.8e-05/0.4017, allocations: 11.44 kB / 0.7725 GB, free: 12.61 MB / 0.545 GB Notification: Performance of SimCode: time 1.492e-06/0.4017, allocations: 3.938 kB / 0.7725 GB, free: 12.6 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01746/0.4192, allocations: 1.955 MB / 0.7744 GB, free: 10.79 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.121/7.541, allocations: 24.28 kB / 0.7744 GB, free: 10.77 MB / 0.545 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_phi_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_phi_pTX.fmu > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1)