Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi.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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-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(IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi") translateModel(IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001532/0.001532, allocations: 108 kB / 15.6 MB, free: 132 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.001419/0.001419, allocations: 194.2 kB / 16.53 MB, free: 6.391 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.38/1.38, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9657/0.9657, allocations: 135.1 MB / 425.5 MB, free: 11.93 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001357/0.001357, allocations: 68.23 kB / 0.5053 GB, free: 5.32 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1548/0.1562, allocations: 80.92 MB / 0.5844 GB, free: 4.559 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.002616/0.1588, allocations: 1.629 MB / 0.586 GB, free: 2.914 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4539/0.6127, allocations: 151.5 MB / 0.7339 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001334/0.6129, allocations: 5.25 kB / 0.7339 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.000175/0.6131, allocations: 16.09 kB / 0.734 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002908/0.6134, allocations: 38.75 kB / 0.734 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005456/0.614, allocations: 151.8 kB / 0.7341 GB, free: 13.69 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002149/0.6142, allocations: 120.2 kB / 0.7343 GB, free: 13.63 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001546/0.6144, allocations: 29.84 kB / 0.7343 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001189/0.6156, allocations: 171.5 kB / 0.7344 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 8.5e-05/0.6157, allocations: 38.34 kB / 0.7345 GB, free: 13.56 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.358e-05/0.6157, allocations: 7.688 kB / 0.7345 GB, free: 13.56 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004745/0.6162, allocations: 180.4 kB / 0.7347 GB, free: 13.51 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 5.398e-05/0.6162, allocations: 24.72 kB / 0.7347 GB, free: 13.49 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 7.429e-05/0.6163, allocations: 47.7 kB / 0.7347 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0004273/0.6167, allocations: 194.1 kB / 0.7349 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.6168, allocations: 0 / 0.7349 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.233e-06/0.6168, allocations: 0.9375 kB / 0.7349 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.323e-06/0.6168, allocations: 0 / 0.7349 GB, free: 13.39 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0006875/0.6175, allocations: 440.2 kB / 0.7353 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.299e-05/0.6175, allocations: 9.969 kB / 0.7353 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009431/0.6185, allocations: 86.42 kB / 0.7354 GB, free: 12.97 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000213/0.6187, allocations: 211.7 kB / 0.7356 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.268e-05/0.6187, allocations: 2.656 kB / 0.7356 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.399e-05/0.6188, allocations: 14.56 kB / 0.7357 GB, free: 12.74 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004165/0.6192, allocations: 130 kB / 0.7358 GB, free: 12.69 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.396e-06/0.6192, allocations: 3.25 kB / 0.7358 GB, free: 12.69 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.935e-05/0.6192, allocations: 5.156 kB / 0.7358 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.244e-06/0.6192, allocations: 6.312 kB / 0.7358 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005366/0.6198, allocations: 139.6 kB / 0.7359 GB, free: 12.65 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007982/0.6206, allocations: 410.2 kB / 0.7363 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007355/0.6213, allocations: 255.8 kB / 0.7366 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002373/0.6216, allocations: 71.47 kB / 0.7366 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.493e-05/0.6216, allocations: 9.312 kB / 0.7366 GB, free: 12.13 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.399e-05/0.6216, allocations: 31.97 kB / 0.7367 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=8): time 1.864e-06/0.6217, allocations: 0 / 0.7367 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8): time 0.0007824/0.6224, allocations: 218.3 kB / 0.7369 GB, free: 12.01 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.705e-05/0.6225, allocations: 52.69 kB / 0.7369 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001297/0.6226, allocations: 149.8 kB / 0.7371 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.007e-05/0.6227, allocations: 25.7 kB / 0.7371 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.766e-05/0.6227, allocations: 99.81 kB / 0.7372 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.495e-05/0.6228, allocations: 29.11 kB / 0.7372 GB, free: 11.69 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.978e-05/0.6228, allocations: 28.48 kB / 0.7372 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000102/0.6229, allocations: 325.6 kB / 0.7376 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002199/0.6232, allocations: 54.05 kB / 0.7376 GB, free: 11.33 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002339/0.6234, allocations: 83.39 kB / 0.7377 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004243/0.6238, allocations: 116.4 kB / 0.7378 GB, free: 11.26 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.6238, allocations: 0 / 0.7378 GB, free: 11.26 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005199/0.6244, allocations: 165.6 kB / 0.738 GB, free: 11.19 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.298e-05/0.6244, allocations: 7.719 kB / 0.738 GB, free: 11.19 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.6244, allocations: 8.062 kB / 0.738 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.558e-05/0.6244, allocations: 0 / 0.738 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002184/0.6247, allocations: 27.28 kB / 0.738 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.373e-06/0.6247, allocations: 1.156 kB / 0.738 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001549/0.6248, allocations: 22.52 kB / 0.738 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.374e-05/0.6249, allocations: 2.156 kB / 0.738 GB, free: 11.18 MB / 0.5606 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 (8): * Single equations (assignments): 8 * 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 0.0001177/0.625, allocations: 125.6 kB / 0.7381 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.864e-05/0.625, allocations: 8.406 kB / 0.7381 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.564e-05/0.6251, allocations: 17.64 kB / 0.7382 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.476e-06/0.6251, allocations: 1.062 kB / 0.7382 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.123e-06/0.6251, allocations: 7.938 kB / 0.7382 GB, free: 11.03 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.6251, allocations: 3.938 kB / 0.7382 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000869/0.626, allocations: 467 kB / 0.7386 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.684e-06/0.626, allocations: 5.062 kB / 0.7386 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000183/0.6262, allocations: 28.84 kB / 0.7387 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/0.6262, allocations: 1.062 kB / 0.7387 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.328e-05/0.6262, allocations: 1.031 kB / 0.7387 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.554e-06/0.6263, allocations: 1.156 kB / 0.7387 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.412e-06/0.6263, allocations: 3.938 kB / 0.7387 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005597/0.6268, allocations: 261.6 kB / 0.7389 GB, free: 10.49 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.733e-05/0.6269, allocations: 86.02 kB / 0.739 GB, free: 10.39 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.541e-05/0.6269, allocations: 0 / 0.739 GB, free: 10.39 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001687/0.6271, allocations: 17.52 kB / 0.739 GB, free: 10.39 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.737e-05/0.6272, allocations: 15.05 kB / 0.739 GB, free: 10.38 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.186e-05/0.6272, allocations: 3.75 kB / 0.739 GB, free: 10.38 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 9.231e-05/0.6273, allocations: 116.8 kB / 0.7391 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6273, allocations: 0 / 0.7391 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002907/0.6276, allocations: 23.12 kB / 0.7392 GB, free: 10.29 MB / 0.5606 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 (8): * Single equations (assignments): 8 * 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.0002051/0.6278, allocations: 116.8 kB / 0.7393 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005425/0.6283, allocations: 129.2 kB / 0.7394 GB, free: 10.17 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.6284, allocations: 0 / 0.7394 GB, free: 10.17 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002407/0.6286, allocations: 73.19 kB / 0.7395 GB, free: 10.15 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003731/0.629, allocations: 39.98 kB / 0.7395 GB, free: 10.14 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006117/0.6296, allocations: 237.5 kB / 0.7397 GB, free: 9.977 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002618/0.6299, allocations: 0.7023 MB / 0.7404 GB, free: 9.277 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001467/0.63, allocations: 30.97 kB / 0.7404 GB, free: 9.266 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.927e-05/0.6301, allocations: 16.17 kB / 0.7405 GB, free: 9.258 MB / 0.5606 GB Notification: Performance of SimCode: time 2.31e-07/0.6301, allocations: 3.938 kB / 0.7405 GB, free: 9.254 MB / 0.5606 GB Notification: Performance of Templates: time 0.004946/0.635, allocations: 1.934 MB / 0.7423 GB, free: 8.324 MB / 0.5606 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi.sim & ./IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe 2>&1)