Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/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.MassFraction_pTphi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.MassFraction_pTphi") translateModel(BuildingSystems.Utilities.Psychrometrics.Examples.MassFraction_pTphi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.0007774/0.0007777, allocations: 91.86 kB / 15.36 MB, free: 0.7422 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.005255/0.005255, allocations: 179.3 kB / 16.26 MB, free: 6.605 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.407/1.407, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001698/0.001699, allocations: 266.8 kB / 291.7 MB, free: 1.871 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9449/0.9449, allocations: 169.5 MB / 0.5004 GB, free: 14.14 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004421/0.0004421, allocations: 15.03 kB / 0.5986 GB, free: 28.16 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1791/0.1795, allocations: 88.54 MB / 0.6851 GB, free: 15.06 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.0017/0.1813, allocations: 1.346 MB / 0.6864 GB, free: 13.71 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.5279/0.7092, allocations: 147.7 MB / 0.8306 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.869e-05/0.7094, allocations: 1.469 kB / 0.8306 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001343/0.7095, allocations: 24.39 kB / 0.8307 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002153/0.7097, allocations: 36.38 kB / 0.8307 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003592/0.7101, allocations: 120.5 kB / 0.8308 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001675/0.7103, allocations: 114.4 kB / 0.8309 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001165/0.7104, allocations: 28.27 kB / 0.8309 GB, free: 13.51 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001731/0.7121, allocations: 153.1 kB / 0.8311 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 6.678e-05/0.7122, allocations: 40.78 kB / 0.8311 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.737e-05/0.7122, allocations: 2.75 kB / 0.8311 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003986/0.7126, allocations: 182.7 kB / 0.8313 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 4.825e-05/0.7127, allocations: 24.67 kB / 0.8313 GB, free: 13.37 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 8.566e-05/0.7128, allocations: 61.08 kB / 0.8314 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003009/0.7131, allocations: 185.7 kB / 0.8316 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.7131, allocations: 0 / 0.8316 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.432e-06/0.7131, allocations: 1.156 kB / 0.8316 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.299e-06/0.7131, allocations: 0 / 0.8316 GB, free: 13.23 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.0006402/0.7138, allocations: 441.5 kB / 0.832 GB, free: 12.81 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.677e-05/0.7138, allocations: 14.47 kB / 0.832 GB, free: 12.81 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000886/0.7147, allocations: 80.22 kB / 0.8321 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002037/0.7149, allocations: 209 kB / 0.8323 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.436e-05/0.7149, allocations: 6.469 kB / 0.8323 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.452e-05/0.715, allocations: 4.812 kB / 0.8323 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000434/0.7154, allocations: 148.5 kB / 0.8324 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.253e-06/0.7154, allocations: 0 / 0.8324 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.781e-05/0.7155, allocations: 1.25 kB / 0.8324 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.745e-06/0.7155, allocations: 9.203 kB / 0.8324 GB, free: 12.47 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005513/0.716, allocations: 155.8 kB / 0.8326 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007438/0.7168, allocations: 414.6 kB / 0.833 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007104/0.7175, allocations: 263.1 kB / 0.8332 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002482/0.7178, allocations: 83.17 kB / 0.8333 GB, free: 11.9 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.077e-05/0.7178, allocations: 1.375 kB / 0.8333 GB, free: 11.9 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.417e-05/0.7178, allocations: 36.44 kB / 0.8333 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=8): time 1.192e-06/0.7178, allocations: 0 / 0.8333 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8): time 0.0008108/0.7186, allocations: 258.6 kB / 0.8336 GB, free: 11.76 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.747e-05/0.7187, allocations: 56.78 kB / 0.8336 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001267/0.7188, allocations: 141.9 kB / 0.8338 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.347e-05/0.7189, allocations: 27.08 kB / 0.8338 GB, free: 11.56 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.06e-05/0.7189, allocations: 102.8 kB / 0.8339 GB, free: 11.47 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.743e-05/0.719, allocations: 31.5 kB / 0.8339 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.186e-05/0.719, allocations: 11.09 kB / 0.8339 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001265/0.7191, allocations: 325.1 kB / 0.8343 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002402/0.7194, allocations: 65.95 kB / 0.8343 GB, free: 11.1 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002418/0.7196, allocations: 90.86 kB / 0.8344 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004489/0.7201, allocations: 142 kB / 0.8345 GB, free: 11.01 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.7201, allocations: 1.719 kB / 0.8345 GB, free: 11.01 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005351/0.7206, allocations: 176.8 kB / 0.8347 GB, free: 10.94 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.862e-05/0.7207, allocations: 9.094 kB / 0.8347 GB, free: 10.94 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.7207, allocations: 0 / 0.8347 GB, free: 10.94 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/0.7207, allocations: 1.312 kB / 0.8347 GB, free: 10.94 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002237/0.7209, allocations: 39.67 kB / 0.8348 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.582e-06/0.7209, allocations: 1.281 kB / 0.8348 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001592/0.7211, allocations: 25.73 kB / 0.8348 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.184e-05/0.7211, allocations: 2.281 kB / 0.8348 GB, free: 10.91 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.00011/0.7212, allocations: 127.9 kB / 0.8349 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.62e-05/0.7213, allocations: 13.03 kB / 0.8349 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.872e-05/0.7214, allocations: 14.22 kB / 0.8349 GB, free: 10.78 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.548e-06/0.7214, allocations: 1.344 kB / 0.8349 GB, free: 10.78 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.99e-06/0.7214, allocations: 3.938 kB / 0.8349 GB, free: 10.78 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/0.7214, allocations: 13.28 kB / 0.835 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008405/0.7222, allocations: 478.2 kB / 0.8354 GB, free: 10.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.7222, allocations: 0 / 0.8354 GB, free: 10.4 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001809/0.7224, allocations: 30.41 kB / 0.8354 GB, free: 10.39 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.919e-06/0.7224, allocations: 9.141 kB / 0.8354 GB, free: 10.39 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.446e-05/0.7225, allocations: 7.484 kB / 0.8355 GB, free: 10.38 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.7225, allocations: 1.5 kB / 0.8355 GB, free: 10.38 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.19e-06/0.7225, allocations: 7.875 kB / 0.8355 GB, free: 10.38 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005503/0.723, allocations: 280.5 kB / 0.8357 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.621e-05/0.7231, allocations: 88.02 kB / 0.8358 GB, free: 10.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.402e-05/0.7231, allocations: 4.438 kB / 0.8358 GB, free: 10.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001811/0.7233, allocations: 26.81 kB / 0.8358 GB, free: 10.09 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.815e-05/0.7234, allocations: 6.406 kB / 0.8358 GB, free: 10.08 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.179e-05/0.7234, allocations: 6.234 kB / 0.8359 GB, free: 10.08 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 8.192e-05/0.7235, allocations: 110.4 kB / 0.836 GB, free: 10 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7235, allocations: 0 / 0.836 GB, free: 10 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002792/0.7238, allocations: 35.62 kB / 0.836 GB, free: 9.992 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.0001619/0.7239, allocations: 110.9 kB / 0.8361 GB, free: 9.898 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.00051/0.7244, allocations: 155.5 kB / 0.8362 GB, free: 9.855 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.7245, allocations: 0 / 0.8362 GB, free: 9.855 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002299/0.7247, allocations: 76 kB / 0.8363 GB, free: 9.836 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003562/0.7251, allocations: 34.78 kB / 0.8364 GB, free: 9.824 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005844/0.7256, allocations: 281.6 kB / 0.8366 GB, free: 9.617 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002819/0.7259, allocations: 0.6992 MB / 0.8373 GB, free: 8.91 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.000149/0.7261, allocations: 29.62 kB / 0.8373 GB, free: 8.895 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.913e-05/0.7262, allocations: 12.62 kB / 0.8373 GB, free: 8.887 MB / 0.5606 GB Notification: Performance of SimCode: time 2.5e-07/0.7262, allocations: 0 / 0.8373 GB, free: 8.887 MB / 0.5606 GB Notification: Performance of Templates: time 0.004361/0.7305, allocations: 1.758 MB / 0.8391 GB, free: 8.012 MB / 0.5606 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.MassFraction_pTphi.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.MassFraction_pTphi.sim & ./BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.MassFraction_pTphi -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe 2>&1)