Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.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/Buildings 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.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(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_MassFraction_pTphi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi,fileNamePrefix="Buildings_latest_Buildings_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.001499/0.0015, allocations: 99.31 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.001914/0.001914, 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 2.562/2.562, allocations: 223.2 MB / 239.9 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 4.72/4.72, allocations: 409.2 MB / 0.6838 GB, free: 1.02 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0005982/0.0005984, allocations: 12 kB / 0.8375 GB, free: 6.574 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.919/1.92, allocations: 146.8 MB / 0.9809 GB, free: 6.309 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.003694/1.924, allocations: 1.315 MB / 0.9821 GB, free: 4.988 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.3243/2.248, allocations: 127.9 MB / 1.107 GB, free: 4.762 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002796/2.249, allocations: 0 / 1.107 GB, free: 4.762 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0003273/2.249, allocations: 15.92 kB / 1.107 GB, free: 4.746 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0006868/2.25, allocations: 47.86 kB / 1.107 GB, free: 4.699 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008672/2.25, allocations: 119.6 kB / 1.107 GB, free: 4.582 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002801/2.251, allocations: 75.84 kB / 1.107 GB, free: 4.508 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002301/2.251, allocations: 31.58 kB / 1.107 GB, free: 4.48 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005083/2.252, allocations: 95.8 kB / 1.107 GB, free: 4.387 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000125/2.252, allocations: 39.77 kB / 1.107 GB, free: 4.348 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.212e-05/2.252, allocations: 4 kB / 1.107 GB, free: 4.344 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007072/2.252, allocations: 187.7 kB / 1.108 GB, free: 4.16 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 6.252e-05/2.253, allocations: 11.98 kB / 1.108 GB, free: 4.148 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 6.252e-05/2.253, allocations: 41.64 kB / 1.108 GB, free: 4.102 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003905/2.253, allocations: 127.8 kB / 1.108 GB, free: 3.977 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/2.253, allocations: 4 kB / 1.108 GB, free: 3.973 MB / 0.8575 GB Notification: Performance of FrontEnd: time 7.444e-06/2.253, allocations: 4 kB / 1.108 GB, free: 3.969 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.048e-05/2.253, allocations: 0 / 1.108 GB, free: 3.969 MB / 0.8575 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.001259/2.254, allocations: 438.8 kB / 1.108 GB, free: 3.492 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 8.754e-05/2.254, allocations: 12.03 kB / 1.108 GB, free: 3.48 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.953e-05/2.255, allocations: 38.5 kB / 1.108 GB, free: 3.434 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001509/2.256, allocations: 79.72 kB / 1.108 GB, free: 3.355 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004627/2.257, allocations: 206.8 kB / 1.109 GB, free: 3.113 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.809e-05/2.257, allocations: 8 kB / 1.109 GB, free: 3.105 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.596e-05/2.257, allocations: 4 kB / 1.109 GB, free: 3.102 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007722/2.257, allocations: 154.6 kB / 1.109 GB, free: 2.945 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/2.257, allocations: 0 / 1.109 GB, free: 2.945 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.132e-05/2.257, allocations: 0 / 1.109 GB, free: 2.945 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.76e-05/2.258, allocations: 4 kB / 1.109 GB, free: 2.941 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009419/2.258, allocations: 155.8 kB / 1.109 GB, free: 2.789 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001627/2.26, allocations: 420.3 kB / 1.109 GB, free: 2.328 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001255/2.261, allocations: 267.6 kB / 1.11 GB, free: 2.039 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 4.268e-05/2.261, allocations: 4 kB / 1.11 GB, free: 2.035 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.453e-05/2.262, allocations: 30.56 kB / 1.11 GB, free: 1.996 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=8): time 7.333e-06/2.262, allocations: 3.984 kB / 1.11 GB, free: 1.992 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8): time 0.001405/2.263, allocations: 257.5 kB / 1.11 GB, free: 1.734 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.586e-05/2.263, allocations: 51.56 kB / 1.11 GB, free: 1.672 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000278/2.263, allocations: 144.5 kB / 1.11 GB, free: 1.523 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 4.131e-05/2.263, allocations: 29.7 kB / 1.11 GB, free: 1.488 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.000127/2.264, allocations: 100.3 kB / 1.11 GB, free: 1.387 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 7.953e-05/2.264, allocations: 31.69 kB / 1.11 GB, free: 1.355 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.257e-05/2.264, allocations: 0 / 1.11 GB, free: 1.355 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0002568/2.264, allocations: 326.8 kB / 1.11 GB, free: 1.027 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003499/2.264, allocations: 63.95 kB / 1.111 GB, free: 0.9648 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004005/2.265, allocations: 86.58 kB / 1.111 GB, free: 0.8711 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003643/2.265, allocations: 71.97 kB / 1.111 GB, free: 0.8008 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/2.265, allocations: 0 / 1.111 GB, free: 0.8008 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0008568/2.266, allocations: 185.4 kB / 1.111 GB, free: 0.6133 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 3.697e-05/2.266, allocations: 4 kB / 1.111 GB, free: 0.6094 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.233e-05/2.266, allocations: 3.938 kB / 1.111 GB, free: 0.6055 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.308e-05/2.266, allocations: 0 / 1.111 GB, free: 0.6055 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004099/2.266, allocations: 39.95 kB / 1.111 GB, free: 0.5664 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.108e-05/2.267, allocations: 0 / 1.111 GB, free: 0.5664 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003016/2.267, allocations: 23.98 kB / 1.111 GB, free: 0.543 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.278e-05/2.267, allocations: 0 / 1.111 GB, free: 0.543 MB / 0.8575 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 0.0002063/2.267, allocations: 125.8 kB / 1.111 GB, free: 420 kB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.516e-05/2.267, allocations: 15.77 kB / 1.111 GB, free: 404 kB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001153/2.267, allocations: 16.72 kB / 1.111 GB, free: 384 kB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.464e-06/2.267, allocations: 0 / 1.111 GB, free: 384 kB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.043e-05/2.267, allocations: 0 / 1.111 GB, free: 384 kB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.231e-05/2.267, allocations: 4 kB / 1.111 GB, free: 380 kB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001456/2.269, allocations: 494.2 kB / 1.112 GB, free: 15.83 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.596e-06/2.269, allocations: 3.938 kB / 1.112 GB, free: 15.83 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000288/2.269, allocations: 31.97 kB / 1.112 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.522e-06/2.269, allocations: 0 / 1.112 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.043e-05/2.269, allocations: 3.984 kB / 1.112 GB, free: 15.79 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.426e-06/2.269, allocations: 0 / 1.112 GB, free: 15.79 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/2.269, allocations: 0 / 1.112 GB, free: 15.79 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001009/2.27, allocations: 291.2 kB / 1.112 GB, free: 15.49 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001018/2.27, allocations: 88.97 kB / 1.112 GB, free: 15.39 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.805e-05/2.27, allocations: 0 / 1.112 GB, free: 15.39 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002834/2.271, allocations: 19.98 kB / 1.112 GB, free: 15.37 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.25e-05/2.271, allocations: 11.98 kB / 1.112 GB, free: 15.36 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.439e-05/2.271, allocations: 4 kB / 1.112 GB, free: 15.35 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001922/2.271, allocations: 113.1 kB / 1.112 GB, free: 15.24 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.81e-07/2.271, allocations: 0 / 1.112 GB, free: 15.24 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0005691/2.272, allocations: 24 kB / 1.112 GB, free: 15.22 MB / 0.8731 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.001748/2.273, allocations: 0.8332 MB / 1.113 GB, free: 14.36 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0008328/2.274, allocations: 147.9 kB / 1.113 GB, free: 14.21 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/2.274, allocations: 0 / 1.113 GB, free: 14.21 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0003929/2.275, allocations: 80.5 kB / 1.113 GB, free: 14.14 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006379/2.275, allocations: 27.92 kB / 1.113 GB, free: 14.11 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002967/2.278, allocations: 0.8169 MB / 1.114 GB, free: 13.25 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005162/2.279, allocations: 0.7082 MB / 1.115 GB, free: 12.52 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0003328/2.279, allocations: 20.42 kB / 1.115 GB, free: 12.5 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001284/2.279, allocations: 31.42 kB / 1.115 GB, free: 12.46 MB / 0.8731 GB Notification: Performance of SimCode: time 1.453e-06/2.279, allocations: 0 / 1.115 GB, free: 12.46 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0488/2.328, allocations: 2.978 MB / 1.118 GB, free: 9.68 MB / 0.8731 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000351/2.329, allocations: 206.8 kB / 1.118 GB, free: 9.434 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.354/5.682, allocations: 0 / 1.118 GB, free: 9.434 MB / 0.8731 GB (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_MassFraction_pTphi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_MassFraction_pTphi.fmu > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi_res.mat does not exist to compare? outputFormat=mat