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.001254/0.001253, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001308/0.001308, allocations: 195.2 kB / 16.14 MB, free: 6.707 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.292/1.292, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001953/0.001953, allocations: 279 kB / 290.2 MB, free: 2.238 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9551/0.9551, allocations: 169.2 MB / 0.4977 GB, free: 14.15 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001574/0.001574, allocations: 86.58 kB / 0.5946 GB, free: 28.45 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1557/0.1573, allocations: 86.99 MB / 0.6795 GB, free: 1.062 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.002689/0.16, allocations: 1.684 MB / 0.6812 GB, free: 15.38 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4587/0.6188, allocations: 149.3 MB / 0.8269 GB, free: 0.8789 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001201/0.6189, allocations: 1.219 kB / 0.8269 GB, free: 0.8789 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001492/0.6191, allocations: 10.97 kB / 0.827 GB, free: 0.8711 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002198/0.6193, allocations: 40.03 kB / 0.827 GB, free: 0.8594 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004113/0.6198, allocations: 128.7 kB / 0.8271 GB, free: 0.832 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001451/0.6199, allocations: 112.5 kB / 0.8272 GB, free: 0.8086 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001152/0.62, allocations: 29.28 kB / 0.8273 GB, free: 0.8047 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001708/0.6218, allocations: 161.1 kB / 0.8274 GB, free: 0.7852 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 7.796e-05/0.6218, allocations: 45.5 kB / 0.8275 GB, free: 0.7734 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.982e-05/0.6219, allocations: 4.5 kB / 0.8275 GB, free: 0.7734 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004011/0.6223, allocations: 180.8 kB / 0.8276 GB, free: 0.7617 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 4.468e-05/0.6223, allocations: 17.48 kB / 0.8276 GB, free: 0.7578 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 5.693e-05/0.6224, allocations: 42.83 kB / 0.8277 GB, free: 0.7422 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002881/0.6227, allocations: 189 kB / 0.8279 GB, free: 0.707 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.6227, allocations: 0 / 0.8279 GB, free: 0.707 MB / 0.5606 GB Notification: Performance of FrontEnd: time 8.72e-07/0.6227, allocations: 5.062 kB / 0.8279 GB, free: 0.7031 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.539e-06/0.6227, allocations: 0 / 0.8279 GB, free: 0.7031 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.0006217/0.6233, allocations: 442.7 kB / 0.8283 GB, free: 16.31 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.26e-05/0.6234, allocations: 10.25 kB / 0.8283 GB, free: 16.31 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.106e-05/0.6234, allocations: 39.7 kB / 0.8283 GB, free: 16.27 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008962/0.6243, allocations: 85.38 kB / 0.8284 GB, free: 16.25 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002003/0.6245, allocations: 200.3 kB / 0.8286 GB, free: 16.05 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.353e-05/0.6246, allocations: 13.53 kB / 0.8286 GB, free: 16.05 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.5e-05/0.6246, allocations: 8.562 kB / 0.8286 GB, free: 16.05 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004072/0.625, allocations: 133.5 kB / 0.8288 GB, free: 16.01 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.746e-06/0.625, allocations: 1.281 kB / 0.8288 GB, free: 16.01 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.721e-05/0.6251, allocations: 3.562 kB / 0.8288 GB, free: 16.01 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.6251, allocations: 6.438 kB / 0.8288 GB, free: 16.01 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004924/0.6256, allocations: 135.5 kB / 0.8289 GB, free: 16 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007843/0.6264, allocations: 415.8 kB / 0.8293 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006914/0.6271, allocations: 247 kB / 0.8295 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002291/0.6273, allocations: 74.14 kB / 0.8296 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.543e-05/0.6273, allocations: 1.344 kB / 0.8296 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.47e-05/0.6274, allocations: 39.16 kB / 0.8296 GB, free: 15.54 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=8): time 1.703e-06/0.6274, allocations: 4 kB / 0.8296 GB, free: 15.54 MB / 0.5762 GB Notification: Performance of matching and sorting (n=8): time 0.0007361/0.6281, allocations: 208.5 kB / 0.8298 GB, free: 15.5 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.21e-05/0.6282, allocations: 56.53 kB / 0.8299 GB, free: 15.44 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001157/0.6283, allocations: 148.9 kB / 0.83 GB, free: 15.34 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.182e-05/0.6283, allocations: 30.7 kB / 0.8301 GB, free: 15.3 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.462e-05/0.6284, allocations: 107.1 kB / 0.8302 GB, free: 15.22 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.011e-05/0.6284, allocations: 25.44 kB / 0.8302 GB, free: 15.2 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.996e-05/0.6285, allocations: 21.73 kB / 0.8302 GB, free: 15.19 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001227/0.6286, allocations: 327.3 kB / 0.8305 GB, free: 14.87 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002136/0.6288, allocations: 54.11 kB / 0.8306 GB, free: 14.87 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002163/0.629, allocations: 86.09 kB / 0.8307 GB, free: 14.84 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003993/0.6294, allocations: 118.2 kB / 0.8308 GB, free: 14.82 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.6294, allocations: 0 / 0.8308 GB, free: 14.82 MB / 0.5762 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004925/0.6299, allocations: 170.5 kB / 0.8309 GB, free: 14.78 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.848e-05/0.63, allocations: 5.75 kB / 0.8309 GB, free: 14.78 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.63, allocations: 0 / 0.8309 GB, free: 14.78 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.333e-05/0.63, allocations: 1.375 kB / 0.8309 GB, free: 14.78 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000215/0.6302, allocations: 31.61 kB / 0.831 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.6302, allocations: 0 / 0.831 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001534/0.6304, allocations: 21.39 kB / 0.831 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.296e-05/0.6304, allocations: 2.188 kB / 0.831 GB, free: 14.77 MB / 0.5762 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.0001007/0.6305, allocations: 130.3 kB / 0.8311 GB, free: 14.65 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.58e-05/0.6306, allocations: 7.656 kB / 0.8311 GB, free: 14.64 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.474e-05/0.6306, allocations: 14.31 kB / 0.8311 GB, free: 14.64 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.077e-06/0.6306, allocations: 5.172 kB / 0.8311 GB, free: 14.64 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.6306, allocations: 1.281 kB / 0.8311 GB, free: 14.64 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.6306, allocations: 2.203 kB / 0.8312 GB, free: 14.64 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007787/0.6314, allocations: 468.1 kB / 0.8316 GB, free: 14.33 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.6314, allocations: 0 / 0.8316 GB, free: 14.33 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001759/0.6316, allocations: 25.95 kB / 0.8316 GB, free: 14.33 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.6316, allocations: 5.156 kB / 0.8316 GB, free: 14.32 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.17e-05/0.6316, allocations: 2.25 kB / 0.8316 GB, free: 14.32 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/0.6317, allocations: 7.062 kB / 0.8316 GB, free: 14.32 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.6317, allocations: 0 / 0.8316 GB, free: 14.32 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004977/0.6322, allocations: 257.2 kB / 0.8319 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 4.521e-05/0.6322, allocations: 84.45 kB / 0.832 GB, free: 14.09 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.623e-05/0.6323, allocations: 3.828 kB / 0.832 GB, free: 14.09 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001745/0.6324, allocations: 24.11 kB / 0.832 GB, free: 14.08 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.147e-05/0.6325, allocations: 10.12 kB / 0.832 GB, free: 14.07 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.085e-05/0.6325, allocations: 9.031 kB / 0.832 GB, free: 14.07 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 7.498e-05/0.6326, allocations: 110.7 kB / 0.8321 GB, free: 14 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6326, allocations: 4 kB / 0.8321 GB, free: 13.99 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002787/0.6329, allocations: 36.12 kB / 0.8321 GB, free: 13.98 MB / 0.5762 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.000843/0.6337, allocations: 0.7956 MB / 0.8329 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0004732/0.6342, allocations: 123.1 kB / 0.833 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.6342, allocations: 4 kB / 0.833 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.000215/0.6344, allocations: 68.11 kB / 0.8331 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003576/0.6348, allocations: 42.36 kB / 0.8332 GB, free: 13.3 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002503/0.6373, allocations: 1.736 MB / 0.8348 GB, free: 12.07 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002745/0.6376, allocations: 0.7035 MB / 0.8355 GB, free: 11.38 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001734/0.6378, allocations: 28.7 kB / 0.8356 GB, free: 11.36 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.747e-05/0.6379, allocations: 37 kB / 0.8356 GB, free: 11.35 MB / 0.5762 GB Notification: Performance of SimCode: time 5.21e-07/0.6379, allocations: 0 / 0.8356 GB, free: 11.35 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01372/0.6516, allocations: 3.063 MB / 0.8386 GB, free: 10.4 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002653/0.6519, allocations: 227.6 kB / 0.8388 GB, free: 10.14 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.805/2.457, allocations: 0 / 0.8388 GB, free: 10.14 MB / 0.5762 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)