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: "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_MassFraction_pTphi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_MassFraction_pTphi",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.001088/0.001088, 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.001152/0.001152, allocations: 192.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.418/1.418, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9684/0.9684, allocations: 135.1 MB / 425.5 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001391/0.001391, allocations: 59.28 kB / 0.5054 GB, free: 5.234 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1308/0.1322, allocations: 80.92 MB / 0.5845 GB, free: 4.469 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.002222/0.1345, allocations: 1.625 MB / 0.586 GB, free: 2.828 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.3361/0.4706, allocations: 151.5 MB / 0.734 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.803e-05/0.4707, allocations: 5.062 kB / 0.734 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001106/0.4709, allocations: 18.44 kB / 0.7341 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001811/0.4711, allocations: 45.09 kB / 0.7341 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002769/0.4714, allocations: 145 kB / 0.7342 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001389/0.4715, allocations: 118.1 kB / 0.7344 GB, free: 13.51 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 9.715e-05/0.4716, allocations: 31.31 kB / 0.7344 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008946/0.4725, allocations: 168.8 kB / 0.7345 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 6.132e-05/0.4726, allocations: 46.72 kB / 0.7346 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.68e-05/0.4726, allocations: 6.812 kB / 0.7346 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003019/0.4729, allocations: 177.5 kB / 0.7348 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 3.677e-05/0.473, allocations: 28.25 kB / 0.7348 GB, free: 13.37 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 6.261e-05/0.473, allocations: 49.97 kB / 0.7348 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002537/0.4733, allocations: 182.4 kB / 0.735 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.4733, allocations: 0 / 0.735 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.022e-06/0.4733, allocations: 1.312 kB / 0.735 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.704e-06/0.4733, allocations: 0 / 0.735 GB, free: 13.27 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.0005173/0.4738, allocations: 448.2 kB / 0.7354 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 2.868e-05/0.4739, allocations: 10.59 kB / 0.7355 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.918e-05/0.4739, allocations: 42.23 kB / 0.7355 GB, free: 12.81 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007939/0.4747, allocations: 78.25 kB / 0.7356 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001729/0.4749, allocations: 209.5 kB / 0.7358 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.125e-05/0.4749, allocations: 10.78 kB / 0.7358 GB, free: 12.58 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.102e-05/0.4749, allocations: 5.531 kB / 0.7358 GB, free: 12.58 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003666/0.4753, allocations: 133.9 kB / 0.7359 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.514e-06/0.4753, allocations: 3.938 kB / 0.7359 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.437e-05/0.4753, allocations: 1.219 kB / 0.7359 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.161e-06/0.4754, allocations: 5.812 kB / 0.7359 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004774/0.4758, allocations: 140.1 kB / 0.7361 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006362/0.4765, allocations: 417.8 kB / 0.7365 GB, free: 12.15 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006209/0.4771, allocations: 250.5 kB / 0.7367 GB, free: 11.99 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002114/0.4773, allocations: 77.77 kB / 0.7368 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.797e-05/0.4774, allocations: 5.188 kB / 0.7368 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.281e-05/0.4774, allocations: 31.72 kB / 0.7368 GB, free: 11.92 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=8): time 1.102e-06/0.4774, allocations: 1.469 kB / 0.7368 GB, free: 11.92 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8): time 0.0006899/0.4781, allocations: 218.6 kB / 0.737 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.76e-05/0.4781, allocations: 56.5 kB / 0.7371 GB, free: 11.78 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.831e-05/0.4782, allocations: 145.3 kB / 0.7372 GB, free: 11.67 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.721e-05/0.4783, allocations: 30.98 kB / 0.7372 GB, free: 11.63 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.519e-05/0.4783, allocations: 103.9 kB / 0.7373 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.624e-05/0.4783, allocations: 26.12 kB / 0.7374 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.63e-05/0.4784, allocations: 28.34 kB / 0.7374 GB, free: 11.49 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.741e-05/0.4785, allocations: 323.6 kB / 0.7377 GB, free: 11.17 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001912/0.4787, allocations: 50.69 kB / 0.7377 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002003/0.4789, allocations: 78.8 kB / 0.7378 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003681/0.4793, allocations: 119.7 kB / 0.7379 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.4793, allocations: 0 / 0.7379 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004276/0.4797, allocations: 164.8 kB / 0.7381 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 9.528e-06/0.4797, allocations: 4.562 kB / 0.7381 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.166e-06/0.4797, allocations: 0 / 0.7381 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.897e-06/0.4797, allocations: 1.094 kB / 0.7381 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001784/0.4799, allocations: 28.83 kB / 0.7381 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.4799, allocations: 5.875 kB / 0.7381 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001306/0.4801, allocations: 24.39 kB / 0.7382 GB, free: 11.01 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.658e-06/0.4801, allocations: 1.188 kB / 0.7382 GB, free: 11.01 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 8.004e-05/0.4802, allocations: 125.5 kB / 0.7383 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.35e-05/0.4802, allocations: 9.656 kB / 0.7383 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.921e-05/0.4803, allocations: 23.14 kB / 0.7383 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.265e-06/0.4803, allocations: 3.344 kB / 0.7383 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.815e-06/0.4803, allocations: 0 / 0.7383 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.964e-06/0.4803, allocations: 1.094 kB / 0.7383 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006857/0.481, allocations: 464.2 kB / 0.7388 GB, free: 10.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.481, allocations: 0.8125 kB / 0.7388 GB, free: 10.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001692/0.4812, allocations: 32.12 kB / 0.7388 GB, free: 10.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.4812, allocations: 3.938 kB / 0.7388 GB, free: 10.5 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.057e-05/0.4812, allocations: 7.594 kB / 0.7388 GB, free: 10.49 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.168e-06/0.4812, allocations: 3.938 kB / 0.7388 GB, free: 10.49 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.4812, allocations: 9.578 kB / 0.7388 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004557/0.4817, allocations: 251.8 kB / 0.739 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.316e-05/0.4817, allocations: 87.27 kB / 0.7391 GB, free: 10.22 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.106e-05/0.4817, allocations: 1.031 kB / 0.7391 GB, free: 10.22 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001556/0.4819, allocations: 23.42 kB / 0.7392 GB, free: 10.21 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.67e-05/0.4819, allocations: 9.25 kB / 0.7392 GB, free: 10.21 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.476e-06/0.482, allocations: 4.562 kB / 0.7392 GB, free: 10.21 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.007e-05/0.482, allocations: 111.4 kB / 0.7393 GB, free: 10.13 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.482, allocations: 1.156 kB / 0.7393 GB, free: 10.13 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000225/0.4823, allocations: 27.59 kB / 0.7393 GB, free: 10.12 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.0007159/0.483, allocations: 0.808 MB / 0.7401 GB, free: 9.422 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004255/0.4834, allocations: 129.7 kB / 0.7402 GB, free: 9.395 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.4834, allocations: 0 / 0.7402 GB, free: 9.395 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002015/0.4836, allocations: 66.41 kB / 0.7403 GB, free: 9.383 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002901/0.4839, allocations: 40.5 kB / 0.7403 GB, free: 9.367 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002079/0.486, allocations: 1.726 MB / 0.742 GB, free: 8.031 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002129/0.4862, allocations: 0.7027 MB / 0.7427 GB, free: 7.332 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001303/0.4864, allocations: 29.16 kB / 0.7427 GB, free: 7.32 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.127e-05/0.4864, allocations: 34.17 kB / 0.7427 GB, free: 7.297 MB / 0.5606 GB Notification: Performance of SimCode: time 2.1e-07/0.4865, allocations: 0 / 0.7427 GB, free: 7.297 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.326/0.8125, allocations: 3.319 MB / 0.746 GB, free: 5.637 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.974/8.787, allocations: 1.875 kB / 0.746 GB, free: 5.637 MB / 0.5606 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_MassFraction_pTphi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_MassFraction_pTphi.fmu > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe 2>&1)