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: "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Examples.MassFraction_pTphi,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_MassFraction_pTphi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Examples.MassFraction_pTphi,fileNamePrefix="BuildingSystems_BuildingSystems_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.0009719/0.0009719, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.006543/0.006544, allocations: 171.4 kB / 16.27 MB, free: 6.32 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.277/1.277, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001641/0.001641, allocations: 270.7 kB / 291.7 MB, free: 1.883 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9123/0.9123, allocations: 169.5 MB / 0.5004 GB, free: 14.06 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003986/0.0003986, allocations: 12.31 kB / 0.5988 GB, free: 27.93 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1584/0.1588, allocations: 88.54 MB / 0.6852 GB, free: 14.97 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.001608/0.1604, allocations: 1.356 MB / 0.6866 GB, free: 13.6 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4611/0.6215, allocations: 147.7 MB / 0.8307 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.425e-05/0.6217, allocations: 1.125 kB / 0.8307 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001076/0.6218, allocations: 20.64 kB / 0.8308 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001919/0.622, allocations: 36.92 kB / 0.8308 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003351/0.6223, allocations: 116.2 kB / 0.8309 GB, free: 13.49 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001481/0.6225, allocations: 114.6 kB / 0.831 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001045/0.6226, allocations: 28.42 kB / 0.831 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001602/0.6242, allocations: 153.7 kB / 0.8312 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 6.273e-05/0.6243, allocations: 36.09 kB / 0.8312 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.52e-05/0.6243, allocations: 3.75 kB / 0.8312 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000337/0.6246, allocations: 183.4 kB / 0.8314 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 3.107e-05/0.6247, allocations: 17.31 kB / 0.8314 GB, free: 13.31 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 5.515e-05/0.6247, allocations: 71.98 kB / 0.8315 GB, free: 13.26 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002419/0.625, allocations: 189.4 kB / 0.8317 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.625, allocations: 0 / 0.8317 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of FrontEnd: time 6.011e-06/0.625, allocations: 0 / 0.8317 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.487e-06/0.625, allocations: 5.438 kB / 0.8317 GB, free: 13.16 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.000536/0.6256, allocations: 435.3 kB / 0.8321 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.829e-05/0.6256, allocations: 9.438 kB / 0.8321 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.776e-05/0.6257, allocations: 39.38 kB / 0.8321 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008588/0.6265, allocations: 81.69 kB / 0.8322 GB, free: 12.67 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001837/0.6267, allocations: 205 kB / 0.8324 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.156e-05/0.6267, allocations: 7.625 kB / 0.8324 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.424e-05/0.6268, allocations: 9.188 kB / 0.8324 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004263/0.6272, allocations: 151.6 kB / 0.8326 GB, free: 12.37 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.772e-06/0.6272, allocations: 0 / 0.8326 GB, free: 12.37 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.781e-05/0.6272, allocations: 1.375 kB / 0.8326 GB, free: 12.37 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.6272, allocations: 5.312 kB / 0.8326 GB, free: 12.37 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005385/0.6278, allocations: 155.9 kB / 0.8327 GB, free: 12.33 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006731/0.6285, allocations: 415.8 kB / 0.8331 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00066/0.6291, allocations: 262.9 kB / 0.8334 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002361/0.6294, allocations: 83.42 kB / 0.8335 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.922e-05/0.6294, allocations: 0 / 0.8335 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.179e-05/0.6294, allocations: 35.94 kB / 0.8335 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=8): time 9.22e-07/0.6295, allocations: 0 / 0.8335 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8): time 0.0007738/0.6302, allocations: 259.9 kB / 0.8337 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.316e-05/0.6303, allocations: 51.41 kB / 0.8338 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001114/0.6304, allocations: 146.5 kB / 0.8339 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.082e-05/0.6304, allocations: 26.98 kB / 0.834 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.969e-05/0.6305, allocations: 99.77 kB / 0.834 GB, free: 11.37 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.374e-05/0.6305, allocations: 29.53 kB / 0.8341 GB, free: 11.35 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.196e-05/0.6306, allocations: 11.97 kB / 0.8341 GB, free: 11.33 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.337e-05/0.6307, allocations: 325.7 kB / 0.8344 GB, free: 11.01 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002311/0.6309, allocations: 72.78 kB / 0.8345 GB, free: 10.99 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002306/0.6311, allocations: 88.53 kB / 0.8345 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004225/0.6316, allocations: 146.8 kB / 0.8347 GB, free: 10.9 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.6316, allocations: 0 / 0.8347 GB, free: 10.9 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004826/0.6321, allocations: 181 kB / 0.8349 GB, free: 10.83 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.511e-05/0.6321, allocations: 9.844 kB / 0.8349 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.6321, allocations: 3.938 kB / 0.8349 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.041e-05/0.6321, allocations: 0.9062 kB / 0.8349 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002062/0.6323, allocations: 36.12 kB / 0.8349 GB, free: 10.81 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.74e-06/0.6323, allocations: 1.25 kB / 0.8349 GB, free: 10.81 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001592/0.6325, allocations: 25.98 kB / 0.8349 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.326e-05/0.6325, allocations: 6.453 kB / 0.8349 GB, free: 10.8 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 9.163e-05/0.6326, allocations: 127.2 kB / 0.8351 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.488e-05/0.6327, allocations: 12.16 kB / 0.8351 GB, free: 10.67 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.608e-05/0.6327, allocations: 15.75 kB / 0.8351 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.563e-06/0.6327, allocations: 5.328 kB / 0.8351 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.6327, allocations: 4 kB / 0.8351 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.6327, allocations: 0 / 0.8351 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008007/0.6336, allocations: 477.1 kB / 0.8356 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.6336, allocations: 0.875 kB / 0.8356 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000183/0.6338, allocations: 43.88 kB / 0.8356 GB, free: 10.28 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.6338, allocations: 0 / 0.8356 GB, free: 10.28 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.17e-05/0.6338, allocations: 1.531 kB / 0.8356 GB, free: 10.28 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.075e-06/0.6338, allocations: 3.938 kB / 0.8356 GB, free: 10.27 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.6338, allocations: 5.562 kB / 0.8356 GB, free: 10.27 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005207/0.6343, allocations: 271.9 kB / 0.8359 GB, free: 10.1 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.313e-05/0.6344, allocations: 87.55 kB / 0.836 GB, free: 10 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.411e-05/0.6344, allocations: 9.094 kB / 0.836 GB, free: 9.996 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001775/0.6346, allocations: 26.12 kB / 0.836 GB, free: 9.984 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.637e-05/0.6347, allocations: 6.453 kB / 0.836 GB, free: 9.98 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.06e-05/0.6347, allocations: 6.391 kB / 0.836 GB, free: 9.977 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 7.023e-05/0.6347, allocations: 114.9 kB / 0.8361 GB, free: 9.895 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.6348, allocations: 0 / 0.8361 GB, free: 9.895 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002744/0.635, allocations: 34.81 kB / 0.8361 GB, free: 9.887 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.0008353/0.6359, allocations: 0.8222 MB / 0.8369 GB, free: 9.184 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004683/0.6364, allocations: 146.8 kB / 0.8371 GB, free: 9.148 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.6364, allocations: 7.938 kB / 0.8371 GB, free: 9.141 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002248/0.6366, allocations: 77.66 kB / 0.8372 GB, free: 9.121 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003318/0.6369, allocations: 39.05 kB / 0.8372 GB, free: 9.102 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002409/0.6394, allocations: 1.804 MB / 0.839 GB, free: 7.73 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002243/0.6396, allocations: 0.7029 MB / 0.8396 GB, free: 7.02 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001484/0.6397, allocations: 24.48 kB / 0.8397 GB, free: 7.008 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.801e-05/0.6398, allocations: 36.61 kB / 0.8397 GB, free: 6.992 MB / 0.5606 GB Notification: Performance of SimCode: time 2.91e-07/0.6398, allocations: 0 / 0.8397 GB, free: 6.992 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4306/1.07, allocations: 2.982 MB / 0.8426 GB, free: 5.629 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002676/1.071, allocations: 228.9 kB / 0.8428 GB, free: 5.371 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.956/3.027, allocations: 0 / 0.8428 GB, free: 5.371 MB / 0.5606 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_MassFraction_pTphi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_MassFraction_pTphi.fmu > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe 2>&1)