Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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/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: translateModel(IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX") translateModel(IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.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.001067/0.001067, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001133/0.001133, allocations: 196.5 kB / 16.53 MB, free: 6.664 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.339/1.339, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7748/0.7748, allocations: 132.2 MB / 422.6 MB, free: 1.77 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001263/0.001263, allocations: 65 kB / 0.5018 GB, free: 3.883 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4156/0.4168, allocations: 80.2 MB / 0.5801 GB, free: 4.555 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.003214/0.4201, allocations: 1.484 MB / 0.5815 GB, free: 3.523 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001449/0.4216, allocations: 0.8185 MB / 0.5823 GB, free: 2.953 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.742e-05/0.4216, allocations: 4 kB / 0.5823 GB, free: 2.949 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 3.936e-05/0.4217, allocations: 5.969 kB / 0.5823 GB, free: 2.945 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 5.785e-05/0.4218, allocations: 6.156 kB / 0.5823 GB, free: 2.941 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005238/0.4223, allocations: 130.4 kB / 0.5825 GB, free: 2.879 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 9.99e-05/0.4224, allocations: 54.61 kB / 0.5825 GB, free: 2.852 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001368/0.4225, allocations: 17.36 kB / 0.5825 GB, free: 2.844 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6e-05/0.4226, allocations: 14.84 kB / 0.5826 GB, free: 2.84 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.095e-05/0.4227, allocations: 28.84 kB / 0.5826 GB, free: 2.824 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.026e-05/0.4227, allocations: 4.375 kB / 0.5826 GB, free: 2.824 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003907/0.4231, allocations: 172.9 kB / 0.5828 GB, free: 2.777 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.779e-05/0.4231, allocations: 12.12 kB / 0.5828 GB, free: 2.77 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.63e-05/0.4232, allocations: 19.08 kB / 0.5828 GB, free: 2.758 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003119/0.4235, allocations: 151.2 kB / 0.5829 GB, free: 2.707 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.4235, allocations: 0 / 0.5829 GB, free: 2.707 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.4235, allocations: 0 / 0.5829 GB, free: 2.707 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.993e-06/0.4235, allocations: 4.562 kB / 0.5829 GB, free: 2.703 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004975/0.424, allocations: 397.4 kB / 0.5833 GB, free: 2.312 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.201e-05/0.4241, allocations: 9.688 kB / 0.5833 GB, free: 2.312 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.039e-05/0.4241, allocations: 7.5 kB / 0.5833 GB, free: 2.309 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.277e-05/0.4242, allocations: 173.2 kB / 0.5835 GB, free: 2.105 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.283e-05/0.4242, allocations: 1.375 kB / 0.5835 GB, free: 2.105 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.072e-05/0.4242, allocations: 2.781 kB / 0.5835 GB, free: 2.105 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002626/0.4245, allocations: 84.22 kB / 0.5836 GB, free: 2.055 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.756e-06/0.4245, allocations: 192 / 0.5836 GB, free: 2.055 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.261e-05/0.4245, allocations: 5.797 kB / 0.5836 GB, free: 2.051 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.4245, allocations: 3.984 kB / 0.5836 GB, free: 2.047 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003095/0.4248, allocations: 65.62 kB / 0.5836 GB, free: 2.039 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003984/0.4253, allocations: 295.6 kB / 0.5839 GB, free: 1.738 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002128/0.4255, allocations: 51.34 kB / 0.584 GB, free: 1.711 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001629/0.4256, allocations: 37.55 kB / 0.584 GB, free: 1.699 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001955/0.4259, allocations: 96.33 kB / 0.5841 GB, free: 1.598 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.6e-05/0.4259, allocations: 35.95 kB / 0.5841 GB, free: 1.555 MB / 430.1 MB Notification: Performance of pre-optimization done (n=3): time 9.92e-07/0.4259, allocations: 0.9375 kB / 0.5841 GB, free: 1.555 MB / 430.1 MB Notification: Performance of matching and sorting (n=3): time 0.0006468/0.4265, allocations: 137.7 kB / 0.5843 GB, free: 1.5 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.053e-05/0.4266, allocations: 51.41 kB / 0.5843 GB, free: 1.438 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.426e-05/0.4267, allocations: 118.1 kB / 0.5844 GB, free: 1.332 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.034e-05/0.4267, allocations: 25.7 kB / 0.5845 GB, free: 1.301 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.861e-05/0.4268, allocations: 89.12 kB / 0.5845 GB, free: 1.215 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.95e-05/0.4268, allocations: 8.594 kB / 0.5846 GB, free: 1.207 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.176e-05/0.4268, allocations: 17.25 kB / 0.5846 GB, free: 1.188 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.783e-05/0.4269, allocations: 323.7 kB / 0.5849 GB, free: 0.8672 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001523/0.427, allocations: 29.95 kB / 0.5849 GB, free: 0.8633 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001415/0.4272, allocations: 32.86 kB / 0.5849 GB, free: 0.8594 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002825/0.4275, allocations: 66.52 kB / 0.585 GB, free: 0.8438 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.4275, allocations: 0 / 0.585 GB, free: 0.8438 MB / 430.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003183/0.4278, allocations: 115.6 kB / 0.5851 GB, free: 0.7852 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/0.4278, allocations: 4.031 kB / 0.5851 GB, free: 0.7852 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.4278, allocations: 1.547 kB / 0.5851 GB, free: 0.7852 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.574e-05/0.4279, allocations: 0.875 kB / 0.5851 GB, free: 0.7852 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000127/0.428, allocations: 15.16 kB / 0.5851 GB, free: 0.7852 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.68e-06/0.428, allocations: 0.75 kB / 0.5851 GB, free: 0.7852 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.806e-05/0.4281, allocations: 16.62 kB / 0.5851 GB, free: 0.7812 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.514e-06/0.4281, allocations: 1.25 kB / 0.5851 GB, free: 0.7812 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 (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 5.142e-05/0.4282, allocations: 112.1 kB / 0.5853 GB, free: 0.6641 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.763e-05/0.4282, allocations: 10.41 kB / 0.5853 GB, free: 0.6562 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003567/0.4286, allocations: 109.9 kB / 0.5854 GB, free: 0.6016 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.4286, allocations: 1.375 kB / 0.5854 GB, free: 0.6016 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.4286, allocations: 0 / 0.5854 GB, free: 0.6016 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.4286, allocations: 0.8125 kB / 0.5854 GB, free: 0.6016 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001332/0.4287, allocations: 173.6 kB / 0.5855 GB, free: 412 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.4287, allocations: 0 / 0.5855 GB, free: 412 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.56e-05/0.4288, allocations: 20.75 kB / 0.5856 GB, free: 408 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.4288, allocations: 0 / 0.5856 GB, free: 408 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.538e-06/0.4289, allocations: 1.688 kB / 0.5856 GB, free: 408 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.4289, allocations: 8.625 kB / 0.5856 GB, free: 400 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.4289, allocations: 4 kB / 0.5856 GB, free: 396 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003393/0.4292, allocations: 198.9 kB / 0.5858 GB, free: 244 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.568e-05/0.4292, allocations: 84.11 kB / 0.5858 GB, free: 144 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.618e-05/0.4293, allocations: 0 / 0.5858 GB, free: 144 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001056/0.4294, allocations: 20.22 kB / 0.5859 GB, free: 136 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.302e-05/0.4294, allocations: 4.375 kB / 0.5859 GB, free: 136 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.448e-06/0.4294, allocations: 1.312 kB / 0.5859 GB, free: 136 kB / 430.1 MB Notification: Performance of sorting global known variables: time 3.861e-05/0.4295, allocations: 91.94 kB / 0.586 GB, free: 56 kB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4295, allocations: 0 / 0.586 GB, free: 56 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002865/0.4298, allocations: 36.38 kB / 0.586 GB, free: 44 kB / 430.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 (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.0002369/0.43, allocations: 125 kB / 0.5861 GB, free: 15.95 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003925/0.4304, allocations: 70.17 kB / 0.5862 GB, free: 15.93 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.4304, allocations: 0.6562 kB / 0.5862 GB, free: 15.93 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001601/0.4306, allocations: 39.27 kB / 0.5862 GB, free: 15.93 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003122/0.4309, allocations: 13.92 kB / 0.5862 GB, free: 15.92 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003521/0.4313, allocations: 151.2 kB / 0.5864 GB, free: 15.79 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002752/0.4316, allocations: 0.6831 MB / 0.587 GB, free: 15.09 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.267e-05/0.4316, allocations: 2.609 kB / 0.587 GB, free: 15.09 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.605e-05/0.4316, allocations: 14.19 kB / 0.5871 GB, free: 15.08 MB / 446.1 MB Notification: Performance of SimCode: time 2.01e-07/0.4316, allocations: 0 / 0.5871 GB, free: 15.08 MB / 446.1 MB Notification: Performance of Templates: time 0.004283/0.4359, allocations: 1.357 MB / 0.5884 GB, free: 14.95 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.makefile (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.sim & ./IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1)