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: translateModel(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX") translateModel(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001241/0.001241, allocations: 106.9 kB / 16.41 MB, free: 6.496 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.001325/0.001325, allocations: 191 kB / 17.34 MB, free: 5.766 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.224/1.224, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002044/0.002044, allocations: 292.4 kB / 291.5 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8622/0.8622, allocations: 169.3 MB / 0.499 GB, free: 4.449 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00173/0.00173, allocations: 108.2 kB / 0.6821 GB, free: 6.938 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4181/0.4198, allocations: 86.97 MB / 0.767 GB, free: 3.902 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.002917/0.4228, allocations: 1.273 MB / 0.7683 GB, free: 2.621 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001381/0.4242, allocations: 0.8281 MB / 0.7691 GB, free: 1.789 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.492e-05/0.4243, allocations: 0 / 0.7691 GB, free: 1.789 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.699e-05/0.4243, allocations: 3.938 kB / 0.7691 GB, free: 1.785 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.128e-05/0.4244, allocations: 3.984 kB / 0.7691 GB, free: 1.781 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005191/0.4249, allocations: 131.4 kB / 0.7692 GB, free: 1.652 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 7.492e-05/0.425, allocations: 23.92 kB / 0.7693 GB, free: 1.629 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.943e-05/0.425, allocations: 0 / 0.7693 GB, free: 1.629 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 3.886e-05/0.4251, allocations: 23.86 kB / 0.7693 GB, free: 1.605 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 6.411e-05/0.4251, allocations: 11.94 kB / 0.7693 GB, free: 1.594 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.366e-05/0.4252, allocations: 0 / 0.7693 GB, free: 1.594 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000344/0.4255, allocations: 167.8 kB / 0.7694 GB, free: 1.43 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.839e-05/0.4255, allocations: 3.984 kB / 0.7695 GB, free: 1.426 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.8e-05/0.4256, allocations: 11.94 kB / 0.7695 GB, free: 1.414 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.000242/0.4258, allocations: 122 kB / 0.7696 GB, free: 1.301 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.4258, allocations: 0 / 0.7696 GB, free: 1.301 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.372e-06/0.4258, allocations: 0 / 0.7696 GB, free: 1.301 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.069e-06/0.4258, allocations: 0 / 0.7696 GB, free: 1.301 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.000467/0.4263, allocations: 375.3 kB / 0.7699 GB, free: 0.8828 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.316e-05/0.4264, allocations: 8.031 kB / 0.7699 GB, free: 0.875 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.684e-05/0.4264, allocations: 4.938 kB / 0.77 GB, free: 0.8711 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001276/0.4265, allocations: 164.3 kB / 0.7701 GB, free: 0.6719 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.78e-05/0.4266, allocations: 30.27 kB / 0.7701 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.23e-05/0.4266, allocations: 384 / 0.7701 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001352/0.4268, allocations: 46.23 kB / 0.7702 GB, free: 0.5859 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.829e-06/0.4268, allocations: 7.938 kB / 0.7702 GB, free: 0.5781 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.074e-05/0.4268, allocations: 4 kB / 0.7702 GB, free: 0.5742 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.4268, allocations: 0 / 0.7702 GB, free: 0.5742 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.541e-05/0.4269, allocations: 15.98 kB / 0.7702 GB, free: 0.5586 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001738/0.4271, allocations: 157.7 kB / 0.7704 GB, free: 364 kB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002118/0.4273, allocations: 50.44 kB / 0.7704 GB, free: 304 kB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.432e-05/0.4274, allocations: 16.86 kB / 0.7704 GB, free: 284 kB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002866/0.4277, allocations: 182.3 kB / 0.7706 GB, free: 64 kB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.691e-05/0.4277, allocations: 34.55 kB / 0.7706 GB, free: 20 kB / 0.5294 GB Notification: Performance of pre-optimization done (n=4): time 1.202e-06/0.4277, allocations: 0 / 0.7706 GB, free: 20 kB / 0.5294 GB Notification: Performance of matching and sorting (n=4): time 0.0002638/0.428, allocations: 73.73 kB / 0.7707 GB, free: 15.94 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.325e-05/0.4281, allocations: 55.39 kB / 0.7708 GB, free: 15.87 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.133e-05/0.4281, allocations: 105.8 kB / 0.7709 GB, free: 15.76 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.303e-05/0.4281, allocations: 25.7 kB / 0.7709 GB, free: 15.73 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 2.432e-05/0.4282, allocations: 84.14 kB / 0.771 GB, free: 15.64 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.586e-05/0.4282, allocations: 11.81 kB / 0.771 GB, free: 15.63 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.277e-05/0.4282, allocations: 17.7 kB / 0.771 GB, free: 15.61 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001067/0.4284, allocations: 310.8 kB / 0.7713 GB, free: 15.3 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.903e-05/0.4284, allocations: 12 kB / 0.7713 GB, free: 15.29 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.945e-05/0.4285, allocations: 7.984 kB / 0.7713 GB, free: 15.28 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.966e-05/0.4286, allocations: 32.84 kB / 0.7713 GB, free: 15.24 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.4286, allocations: 0 / 0.7713 GB, free: 15.24 MB / 0.545 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001314/0.4287, allocations: 61.53 kB / 0.7714 GB, free: 15.18 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/0.4287, allocations: 7.938 kB / 0.7714 GB, free: 15.17 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.4287, allocations: 3.938 kB / 0.7714 GB, free: 15.16 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.039e-05/0.4287, allocations: 0 / 0.7714 GB, free: 15.16 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.392e-05/0.4288, allocations: 15.98 kB / 0.7714 GB, free: 15.15 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.4288, allocations: 0 / 0.7714 GB, free: 15.15 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.102e-05/0.4289, allocations: 8 kB / 0.7714 GB, free: 15.14 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.939e-06/0.4289, allocations: 4 kB / 0.7714 GB, free: 15.14 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 8.085e-05/0.429, allocations: 108.2 kB / 0.7715 GB, free: 15.02 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.612e-05/0.429, allocations: 7.938 kB / 0.7715 GB, free: 15.02 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001749/0.4292, allocations: 65.11 kB / 0.7716 GB, free: 14.95 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.863e-06/0.4292, allocations: 7.984 kB / 0.7716 GB, free: 14.94 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.4292, allocations: 0 / 0.7716 GB, free: 14.94 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.4292, allocations: 0 / 0.7716 GB, free: 14.94 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001188/0.4293, allocations: 161.6 kB / 0.7718 GB, free: 14.73 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.4293, allocations: 4 kB / 0.7718 GB, free: 14.73 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.435e-05/0.4294, allocations: 8 kB / 0.7718 GB, free: 14.72 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.4294, allocations: 3.938 kB / 0.7718 GB, free: 14.71 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.956e-06/0.4294, allocations: 0 / 0.7718 GB, free: 14.71 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.976e-06/0.4294, allocations: 3.938 kB / 0.7718 GB, free: 14.71 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.4294, allocations: 0 / 0.7718 GB, free: 14.71 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001676/0.4296, allocations: 85.02 kB / 0.7719 GB, free: 14.61 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.896e-05/0.4296, allocations: 89.09 kB / 0.7719 GB, free: 14.5 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.29e-05/0.4297, allocations: 3.938 kB / 0.772 GB, free: 14.5 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.804e-05/0.4297, allocations: 0 / 0.772 GB, free: 14.5 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.728e-05/0.4298, allocations: 7.938 kB / 0.772 GB, free: 14.49 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.542e-06/0.4298, allocations: 4 kB / 0.772 GB, free: 14.49 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.533e-05/0.4298, allocations: 83.69 kB / 0.772 GB, free: 14.41 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4298, allocations: 0 / 0.772 GB, free: 14.41 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002372/0.4301, allocations: 28 kB / 0.7721 GB, free: 14.38 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.000216/0.4303, allocations: 147.1 kB / 0.7722 GB, free: 14.22 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001374/0.4304, allocations: 28.11 kB / 0.7722 GB, free: 14.2 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.4305, allocations: 4 kB / 0.7722 GB, free: 14.19 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 5.693e-05/0.4305, allocations: 15.92 kB / 0.7723 GB, free: 14.18 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002076/0.4307, allocations: 11.94 kB / 0.7723 GB, free: 14.16 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002647/0.431, allocations: 137 kB / 0.7724 GB, free: 14 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002293/0.4312, allocations: 0.6807 MB / 0.7731 GB, free: 13.29 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.406e-05/0.4313, allocations: 11.44 kB / 0.7731 GB, free: 13.28 MB / 0.545 GB Notification: Performance of SimCode: time 2.31e-07/0.4313, allocations: 0 / 0.7731 GB, free: 13.28 MB / 0.545 GB Notification: Performance of Templates: time 0.002206/0.4335, allocations: 0.9924 MB / 0.774 GB, free: 12.29 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX.makefile (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 & ./BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1)