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.0012/0.0012, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.001495/0.001495, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.747/1.747, allocations: 223.2 MB / 239.9 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8914/0.8914, allocations: 135.2 MB / 426.2 MB, free: 14.24 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003157/0.0003158, allocations: 8.625 kB / 0.5069 GB, free: 5.191 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1623/0.1627, allocations: 82.31 MB / 0.5873 GB, free: 3.062 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.001706/0.1644, allocations: 1.315 MB / 0.5886 GB, free: 1.738 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.5196/0.6841, allocations: 127.9 MB / 0.7134 GB, free: 432 kB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001082/0.6842, allocations: 1.031 kB / 0.7134 GB, free: 432 kB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001146/0.6844, allocations: 15.88 kB / 0.7135 GB, free: 420 kB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0002162/0.6846, allocations: 42.34 kB / 0.7135 GB, free: 392 kB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004086/0.685, allocations: 127.3 kB / 0.7136 GB, free: 324 kB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001596/0.6852, allocations: 77.27 kB / 0.7137 GB, free: 284 kB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001122/0.6853, allocations: 21.66 kB / 0.7137 GB, free: 280 kB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002483/0.6856, allocations: 98.2 kB / 0.7138 GB, free: 240 kB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 7.008e-05/0.6856, allocations: 39.92 kB / 0.7138 GB, free: 220 kB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.305e-05/0.6857, allocations: 2.906 kB / 0.7139 GB, free: 220 kB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004035/0.6861, allocations: 186.1 kB / 0.714 GB, free: 176 kB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 3.791e-05/0.6861, allocations: 20.19 kB / 0.714 GB, free: 164 kB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.94e-05/0.6862, allocations: 40.39 kB / 0.7141 GB, free: 124 kB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002441/0.6864, allocations: 129.1 kB / 0.7142 GB, free: 100 kB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.6864, allocations: 0 / 0.7142 GB, free: 100 kB / 0.5294 GB Notification: Performance of FrontEnd: time 1.593e-06/0.6864, allocations: 0 / 0.7142 GB, free: 100 kB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.308e-06/0.6864, allocations: 0 / 0.7142 GB, free: 100 kB / 0.5294 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.000621/0.6871, allocations: 441.1 kB / 0.7146 GB, free: 15.69 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.739e-05/0.6871, allocations: 9.125 kB / 0.7146 GB, free: 15.69 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.677e-05/0.6872, allocations: 41.88 kB / 0.7147 GB, free: 15.65 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009441/0.6881, allocations: 77.83 kB / 0.7148 GB, free: 15.64 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000231/0.6884, allocations: 204.3 kB / 0.7149 GB, free: 15.43 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.248e-05/0.6884, allocations: 8.344 kB / 0.715 GB, free: 15.42 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.77e-05/0.6884, allocations: 13.69 kB / 0.715 GB, free: 15.41 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004608/0.6889, allocations: 147.7 kB / 0.7151 GB, free: 15.36 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.963e-06/0.6889, allocations: 0 / 0.7151 GB, free: 15.36 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.106e-05/0.6889, allocations: 6.312 kB / 0.7151 GB, free: 15.35 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.259e-06/0.6889, allocations: 1.219 kB / 0.7151 GB, free: 15.35 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005809/0.6895, allocations: 157.9 kB / 0.7153 GB, free: 15.32 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007967/0.6903, allocations: 417 kB / 0.7157 GB, free: 14.98 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007443/0.6911, allocations: 259 kB / 0.7159 GB, free: 14.83 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.342e-05/0.6911, allocations: 1.844 kB / 0.7159 GB, free: 14.83 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.465e-05/0.6912, allocations: 36.67 kB / 0.7159 GB, free: 14.79 MB / 0.545 GB Notification: Performance of pre-optimization done (n=8): time 1.322e-06/0.6912, allocations: 0 / 0.7159 GB, free: 14.79 MB / 0.545 GB Notification: Performance of matching and sorting (n=8): time 0.0008878/0.6921, allocations: 246.3 kB / 0.7162 GB, free: 14.71 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.123e-05/0.6921, allocations: 56.44 kB / 0.7162 GB, free: 14.64 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001386/0.6923, allocations: 144 kB / 0.7164 GB, free: 14.53 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.18e-05/0.6923, allocations: 28.11 kB / 0.7164 GB, free: 14.5 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.631e-05/0.6924, allocations: 112.5 kB / 0.7165 GB, free: 14.39 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.66e-05/0.6924, allocations: 28.72 kB / 0.7165 GB, free: 14.37 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.977e-06/0.6924, allocations: 0.9688 kB / 0.7165 GB, free: 14.37 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001167/0.6926, allocations: 320.9 kB / 0.7168 GB, free: 14.05 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002445/0.6928, allocations: 64.39 kB / 0.7169 GB, free: 14.04 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002549/0.6931, allocations: 87.88 kB / 0.717 GB, free: 14 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002412/0.6933, allocations: 68.72 kB / 0.7171 GB, free: 13.99 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.6933, allocations: 0 / 0.7171 GB, free: 13.99 MB / 0.545 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000546/0.6939, allocations: 182.2 kB / 0.7172 GB, free: 13.92 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/0.6939, allocations: 8.438 kB / 0.7172 GB, free: 13.92 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.6939, allocations: 5.703 kB / 0.7172 GB, free: 13.91 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.373e-05/0.694, allocations: 0.9688 kB / 0.7172 GB, free: 13.91 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002242/0.6942, allocations: 39.75 kB / 0.7173 GB, free: 13.91 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.6942, allocations: 1.094 kB / 0.7173 GB, free: 13.91 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001704/0.6944, allocations: 28.23 kB / 0.7173 GB, free: 13.9 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.355e-05/0.6944, allocations: 7.203 kB / 0.7173 GB, free: 13.89 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 (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.766e-05/0.6945, allocations: 116.6 kB / 0.7174 GB, free: 13.78 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.836e-05/0.6945, allocations: 8.344 kB / 0.7174 GB, free: 13.77 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.947e-05/0.6946, allocations: 16.83 kB / 0.7174 GB, free: 13.76 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.6946, allocations: 2.344 kB / 0.7175 GB, free: 13.76 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.692e-06/0.6946, allocations: 7.953 kB / 0.7175 GB, free: 13.75 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.6946, allocations: 0.5625 kB / 0.7175 GB, free: 13.75 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009194/0.6956, allocations: 485 kB / 0.7179 GB, free: 13.4 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.6956, allocations: 5.219 kB / 0.7179 GB, free: 13.4 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002176/0.6958, allocations: 44.62 kB / 0.718 GB, free: 13.39 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.6958, allocations: 0 / 0.718 GB, free: 13.39 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.437e-05/0.6958, allocations: 6.016 kB / 0.718 GB, free: 13.38 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.6958, allocations: 0 / 0.718 GB, free: 13.38 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.512e-06/0.6959, allocations: 1.734 kB / 0.718 GB, free: 13.38 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005917/0.6965, allocations: 273.7 kB / 0.7182 GB, free: 13.22 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.973e-05/0.6965, allocations: 88.88 kB / 0.7183 GB, free: 13.12 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.439e-05/0.6965, allocations: 5.25 kB / 0.7183 GB, free: 13.12 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001924/0.6967, allocations: 24.28 kB / 0.7184 GB, free: 13.11 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.936e-05/0.6968, allocations: 9.203 kB / 0.7184 GB, free: 13.11 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.256e-05/0.6968, allocations: 7.906 kB / 0.7184 GB, free: 13.11 MB / 0.545 GB Notification: Performance of sorting global known variables: time 7.984e-05/0.6969, allocations: 111 kB / 0.7185 GB, free: 13.02 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.51e-07/0.6969, allocations: 5.438 kB / 0.7185 GB, free: 13.02 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003063/0.6972, allocations: 38.47 kB / 0.7185 GB, free: 13 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 (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009103/0.6981, allocations: 0.8132 MB / 0.7193 GB, free: 12.31 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005599/0.6987, allocations: 150 kB / 0.7195 GB, free: 12.28 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.6987, allocations: 0 / 0.7195 GB, free: 12.28 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002573/0.699, allocations: 74.2 kB / 0.7195 GB, free: 12.27 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003262/0.6993, allocations: 40.19 kB / 0.7196 GB, free: 12.25 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001834/0.7012, allocations: 0.8205 MB / 0.7204 GB, free: 11.77 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003039/0.7015, allocations: 0.7028 MB / 0.721 GB, free: 11.07 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001733/0.7017, allocations: 26.03 kB / 0.7211 GB, free: 11.06 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.125e-05/0.7018, allocations: 33.61 kB / 0.7211 GB, free: 11.04 MB / 0.545 GB Notification: Performance of SimCode: time 2.61e-07/0.7018, allocations: 0 / 0.7211 GB, free: 11.04 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0138/0.7156, allocations: 2.961 MB / 0.724 GB, free: 10.84 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001954/0.7158, allocations: 187.2 kB / 0.7242 GB, free: 10.6 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.916/2.632, allocations: 4 kB / 0.7242 GB, free: 10.59 MB / 0.545 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/linux/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) Environment - environmentSimulation: