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: translateModel(BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX") translateModel(BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00629/0.00629, allocations: 101.9 kB / 15.73 MB, free: 5.961 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.001358/0.001358, allocations: 188.8 kB / 16.67 MB, free: 5.883 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.28/1.28, allocations: 222.9 MB / 240.3 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.002294/0.002294, allocations: 276.4 kB / 290.8 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9017/0.9017, allocations: 169.2 MB / 0.4983 GB, free: 4.445 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001654/0.001654, allocations: 87.86 kB / 0.6814 GB, free: 6.973 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4172/0.4189, allocations: 86.99 MB / 0.7664 GB, free: 3.918 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.002552/0.4215, allocations: 1.484 MB / 0.7678 GB, free: 2.422 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001273/0.4228, allocations: 0.8125 MB / 0.7686 GB, free: 1.605 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.405e-05/0.4228, allocations: 0 / 0.7686 GB, free: 1.605 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.038e-05/0.4229, allocations: 7.922 kB / 0.7686 GB, free: 1.598 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.652e-05/0.4229, allocations: 15.88 kB / 0.7686 GB, free: 1.582 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005311/0.4235, allocations: 127.4 kB / 0.7688 GB, free: 1.457 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 9.807e-05/0.4236, allocations: 55.78 kB / 0.7688 GB, free: 1.402 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 9.403e-05/0.4237, allocations: 11.66 kB / 0.7688 GB, free: 1.395 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 5.094e-05/0.4237, allocations: 23.92 kB / 0.7688 GB, free: 1.371 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.545e-05/0.4238, allocations: 27.91 kB / 0.7689 GB, free: 1.344 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.478e-05/0.4238, allocations: 7.938 kB / 0.7689 GB, free: 1.336 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003489/0.4242, allocations: 167.8 kB / 0.769 GB, free: 1.172 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.04e-05/0.4242, allocations: 15.92 kB / 0.7691 GB, free: 1.156 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.954e-05/0.4242, allocations: 15.92 kB / 0.7691 GB, free: 1.141 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002742/0.4245, allocations: 146.2 kB / 0.7692 GB, free: 1 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.4245, allocations: 0 / 0.7692 GB, free: 1 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.805e-06/0.4245, allocations: 4 kB / 0.7692 GB, free: 0.9961 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 9.978e-06/0.4246, allocations: 0 / 0.7692 GB, free: 0.9961 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.0005407/0.4251, allocations: 399.2 kB / 0.7696 GB, free: 0.5547 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.703e-05/0.4251, allocations: 8.031 kB / 0.7696 GB, free: 0.5469 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.802e-05/0.4252, allocations: 8.875 kB / 0.7696 GB, free: 0.5391 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001138/0.4253, allocations: 172.2 kB / 0.7698 GB, free: 340 kB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.097e-05/0.4253, allocations: 384 / 0.7698 GB, free: 340 kB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.54e-05/0.4253, allocations: 12.36 kB / 0.7698 GB, free: 328 kB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002511/0.4256, allocations: 70.22 kB / 0.7699 GB, free: 252 kB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.612e-06/0.4256, allocations: 192 / 0.7699 GB, free: 252 kB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.246e-05/0.4256, allocations: 7.938 kB / 0.7699 GB, free: 244 kB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.598e-06/0.4256, allocations: 0 / 0.7699 GB, free: 244 kB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002743/0.4259, allocations: 71.86 kB / 0.7699 GB, free: 172 kB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003822/0.4263, allocations: 284.8 kB / 0.7702 GB, free: 15.84 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002173/0.4265, allocations: 58.53 kB / 0.7703 GB, free: 15.77 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001492/0.4267, allocations: 36.92 kB / 0.7703 GB, free: 15.73 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001775/0.4269, allocations: 93.09 kB / 0.7704 GB, free: 15.62 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.349e-05/0.4269, allocations: 38.5 kB / 0.7704 GB, free: 15.57 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 1.182e-06/0.4269, allocations: 4 kB / 0.7704 GB, free: 15.57 MB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.0005256/0.4275, allocations: 125.6 kB / 0.7705 GB, free: 15.44 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.491e-05/0.4275, allocations: 51.41 kB / 0.7706 GB, free: 15.38 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.832e-05/0.4276, allocations: 125.7 kB / 0.7707 GB, free: 15.25 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.303e-05/0.4276, allocations: 25.7 kB / 0.7707 GB, free: 15.21 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.292e-05/0.4277, allocations: 100 kB / 0.7708 GB, free: 15.11 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.886e-05/0.4277, allocations: 11.84 kB / 0.7708 GB, free: 15.1 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.479e-05/0.4278, allocations: 13.72 kB / 0.7709 GB, free: 15.08 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001027/0.4279, allocations: 318.8 kB / 0.7712 GB, free: 14.76 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001428/0.428, allocations: 31.95 kB / 0.7712 GB, free: 14.73 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001342/0.4282, allocations: 35.97 kB / 0.7712 GB, free: 14.7 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002612/0.4284, allocations: 73 kB / 0.7713 GB, free: 14.62 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.4284, allocations: 0 / 0.7713 GB, free: 14.62 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003032/0.4287, allocations: 105.5 kB / 0.7714 GB, free: 14.51 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.437e-05/0.4288, allocations: 4 kB / 0.7714 GB, free: 14.51 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.4288, allocations: 0 / 0.7714 GB, free: 14.51 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.412e-05/0.4288, allocations: 3.984 kB / 0.7714 GB, free: 14.5 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001205/0.4289, allocations: 15.98 kB / 0.7714 GB, free: 14.49 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.024e-06/0.4289, allocations: 0 / 0.7714 GB, free: 14.49 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.255e-05/0.429, allocations: 15.92 kB / 0.7714 GB, free: 14.47 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.324e-06/0.429, allocations: 0 / 0.7714 GB, free: 14.47 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 8.126e-05/0.4291, allocations: 128.1 kB / 0.7716 GB, free: 14.34 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.593e-05/0.4291, allocations: 0 / 0.7716 GB, free: 14.34 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003364/0.4295, allocations: 109.5 kB / 0.7717 GB, free: 14.22 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.4295, allocations: 0 / 0.7717 GB, free: 14.22 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.4295, allocations: 4 kB / 0.7717 GB, free: 14.22 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.4295, allocations: 0 / 0.7717 GB, free: 14.22 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001652/0.4297, allocations: 169.6 kB / 0.7718 GB, free: 14 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.4297, allocations: 4 kB / 0.7718 GB, free: 14 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.662e-05/0.4298, allocations: 19.97 kB / 0.7718 GB, free: 13.98 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.4298, allocations: 0 / 0.7718 GB, free: 13.98 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.923e-06/0.4298, allocations: 0 / 0.7718 GB, free: 13.98 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.4298, allocations: 0 / 0.7718 GB, free: 13.98 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.4298, allocations: 0 / 0.7718 GB, free: 13.98 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003386/0.4302, allocations: 203.3 kB / 0.772 GB, free: 13.77 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.145e-05/0.4302, allocations: 89 kB / 0.7721 GB, free: 13.66 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.53e-05/0.4303, allocations: 0 / 0.7721 GB, free: 13.66 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001076/0.4304, allocations: 11.98 kB / 0.7721 GB, free: 13.65 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.775e-05/0.4304, allocations: 0 / 0.7721 GB, free: 13.65 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.232e-06/0.4304, allocations: 4 kB / 0.7721 GB, free: 13.64 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.645e-05/0.4305, allocations: 91.27 kB / 0.7722 GB, free: 13.55 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4305, allocations: 4 kB / 0.7722 GB, free: 13.55 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002697/0.4308, allocations: 43.92 kB / 0.7723 GB, free: 13.51 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.0001938/0.431, allocations: 123.2 kB / 0.7724 GB, free: 13.38 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003334/0.4313, allocations: 71.86 kB / 0.7725 GB, free: 13.31 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.4313, allocations: 3.938 kB / 0.7725 GB, free: 13.31 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001428/0.4315, allocations: 39.95 kB / 0.7725 GB, free: 13.27 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003007/0.4318, allocations: 22.62 kB / 0.7725 GB, free: 13.25 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003526/0.4321, allocations: 147.2 kB / 0.7727 GB, free: 13.08 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002515/0.4324, allocations: 0.6807 MB / 0.7733 GB, free: 12.37 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.419e-05/0.4324, allocations: 4 kB / 0.7733 GB, free: 12.37 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.954e-05/0.4325, allocations: 15.42 kB / 0.7733 GB, free: 12.35 MB / 0.545 GB Notification: Performance of SimCode: time 2.5e-07/0.4325, allocations: 0 / 0.7733 GB, free: 12.35 MB / 0.545 GB Notification: Performance of Templates: time 0.004029/0.4365, allocations: 1.391 MB / 0.7747 GB, free: 10.97 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX.makefile (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 & ./BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1)