Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SublimationPressureIce.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.SublimationPressureIce,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_SublimationPressureIce",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Examples.SublimationPressureIce,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_SublimationPressureIce",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.006085/0.006085, allocations: 97.81 kB / 15.73 MB, free: 6.004 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.001465/0.001465, allocations: 195 kB / 16.67 MB, free: 5.934 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.497/1.497, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002497/0.002497, allocations: 284.8 kB / 290.8 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.064/1.064, allocations: 169.2 MB / 0.4983 GB, free: 4.422 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002819/0.00282, allocations: 95.86 kB / 0.681 GB, free: 7.438 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5025/0.5053, allocations: 86.97 MB / 0.7659 GB, free: 3.82 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.SublimationPressureIce): time 0.003324/0.5087, allocations: 1.402 MB / 0.7673 GB, free: 2.406 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0007424/0.5095, allocations: 299 kB / 0.7675 GB, free: 2.113 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.138e-05/0.5095, allocations: 0 / 0.7675 GB, free: 2.113 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 4.378e-05/0.5096, allocations: 7.922 kB / 0.7676 GB, free: 2.105 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 7.117e-05/0.5097, allocations: 3.938 kB / 0.7676 GB, free: 2.102 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004249/0.5101, allocations: 55.75 kB / 0.7676 GB, free: 2.047 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 8.807e-05/0.5102, allocations: 23.86 kB / 0.7676 GB, free: 2.023 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001278/0.5104, allocations: 12 kB / 0.7676 GB, free: 2.012 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 6.096e-05/0.5104, allocations: 7.984 kB / 0.7677 GB, free: 2.004 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 6.494e-05/0.5105, allocations: 11.94 kB / 0.7677 GB, free: 1.992 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.473e-05/0.5105, allocations: 0 / 0.7677 GB, free: 1.992 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002659/0.5108, allocations: 91.83 kB / 0.7678 GB, free: 1.902 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.838e-05/0.5108, allocations: 7.984 kB / 0.7678 GB, free: 1.895 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.696e-05/0.5109, allocations: 11.94 kB / 0.7678 GB, free: 1.883 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002604/0.5111, allocations: 67.17 kB / 0.7678 GB, free: 1.824 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.5111, allocations: 0 / 0.7678 GB, free: 1.824 MB / 0.5294 GB Notification: Performance of FrontEnd: time 6.182e-06/0.5111, allocations: 0 / 0.7678 GB, free: 1.824 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 8.937e-06/0.5112, allocations: 3.938 kB / 0.7678 GB, free: 1.82 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0007425/0.5119, allocations: 353 kB / 0.7682 GB, free: 1.426 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 6.625e-05/0.512, allocations: 12.02 kB / 0.7682 GB, free: 1.414 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.616e-05/0.5121, allocations: 34.75 kB / 0.7682 GB, free: 1.371 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.806e-05/0.5121, allocations: 0.9375 kB / 0.7682 GB, free: 1.371 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002032/0.5123, allocations: 164.3 kB / 0.7684 GB, free: 1.172 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.606e-05/0.5123, allocations: 384 / 0.7684 GB, free: 1.172 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.622e-05/0.5124, allocations: 4.375 kB / 0.7684 GB, free: 1.168 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002281/0.5126, allocations: 54.23 kB / 0.7684 GB, free: 1.109 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.251e-05/0.5126, allocations: 3.938 kB / 0.7684 GB, free: 1.105 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.099e-05/0.5126, allocations: 0 / 0.7684 GB, free: 1.105 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.074e-06/0.5126, allocations: 0 / 0.7684 GB, free: 1.105 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001986/0.5128, allocations: 39.89 kB / 0.7685 GB, free: 1.066 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000434/0.5133, allocations: 245 kB / 0.7687 GB, free: 0.7773 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001516/0.5135, allocations: 42.5 kB / 0.7687 GB, free: 0.7266 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.154e-05/0.5136, allocations: 20.89 kB / 0.7688 GB, free: 0.7031 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.725e-05/0.5136, allocations: 0 / 0.7688 GB, free: 0.7031 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.101e-05/0.5136, allocations: 34.56 kB / 0.7688 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.5136, allocations: 0 / 0.7688 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.000412/0.5141, allocations: 85.58 kB / 0.7689 GB, free: 0.5703 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.238e-05/0.5141, allocations: 51.41 kB / 0.7689 GB, free: 0.5078 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.526e-05/0.5142, allocations: 101.9 kB / 0.769 GB, free: 408 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.064e-05/0.5143, allocations: 25.7 kB / 0.7691 GB, free: 376 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.006e-05/0.5143, allocations: 84.12 kB / 0.7691 GB, free: 288 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.082e-05/0.5144, allocations: 7.891 kB / 0.7691 GB, free: 280 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.3e-05/0.5144, allocations: 17.72 kB / 0.7692 GB, free: 256 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001625/0.5146, allocations: 315 kB / 0.7695 GB, free: 15.93 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.404e-05/0.5147, allocations: 15.98 kB / 0.7695 GB, free: 15.92 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.862e-05/0.5147, allocations: 19.97 kB / 0.7695 GB, free: 15.9 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001457/0.5149, allocations: 40.77 kB / 0.7695 GB, free: 15.86 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.558e-06/0.5149, allocations: 3.938 kB / 0.7695 GB, free: 15.85 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002122/0.5151, allocations: 69.67 kB / 0.7696 GB, free: 15.78 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.842e-05/0.5152, allocations: 8 kB / 0.7696 GB, free: 15.77 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.017e-05/0.5152, allocations: 0 / 0.7696 GB, free: 15.77 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.721e-05/0.5152, allocations: 3.938 kB / 0.7696 GB, free: 15.77 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.57e-05/0.5153, allocations: 7.984 kB / 0.7696 GB, free: 15.76 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.143e-06/0.5153, allocations: 0 / 0.7696 GB, free: 15.76 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.44e-05/0.5154, allocations: 11.94 kB / 0.7696 GB, free: 15.75 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.347e-06/0.5154, allocations: 4 kB / 0.7696 GB, free: 15.74 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 (2): * Single equations (assignments): 2 * 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.552e-05/0.5155, allocations: 120.2 kB / 0.7698 GB, free: 15.62 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.661e-05/0.5155, allocations: 192 / 0.7698 GB, free: 15.62 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002489/0.5158, allocations: 76.72 kB / 0.7698 GB, free: 15.54 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.5158, allocations: 3.984 kB / 0.7698 GB, free: 15.54 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.5158, allocations: 0 / 0.7698 GB, free: 15.54 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.5158, allocations: 0 / 0.7698 GB, free: 15.54 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002003/0.516, allocations: 157.6 kB / 0.77 GB, free: 15.33 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.506e-06/0.516, allocations: 8.031 kB / 0.77 GB, free: 15.32 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.185e-05/0.5161, allocations: 11.98 kB / 0.77 GB, free: 15.31 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.5161, allocations: 0 / 0.77 GB, free: 15.31 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.973e-06/0.5161, allocations: 0 / 0.77 GB, free: 15.31 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.5161, allocations: 0 / 0.77 GB, free: 15.31 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.5161, allocations: 0 / 0.77 GB, free: 15.31 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000257/0.5164, allocations: 171.4 kB / 0.7702 GB, free: 15.13 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.579e-05/0.5165, allocations: 81.06 kB / 0.7702 GB, free: 15.03 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.758e-05/0.5165, allocations: 7.984 kB / 0.7702 GB, free: 15.02 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.052e-05/0.5166, allocations: 4 kB / 0.7703 GB, free: 15.02 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.473e-05/0.5166, allocations: 0 / 0.7703 GB, free: 15.02 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.146e-06/0.5166, allocations: 0 / 0.7703 GB, free: 15.02 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.712e-05/0.5167, allocations: 83.27 kB / 0.7703 GB, free: 14.94 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.5167, allocations: 0 / 0.7703 GB, free: 14.94 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003249/0.517, allocations: 12 kB / 0.7703 GB, free: 14.93 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 (2): * Single equations (assignments): 2 * 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.0006795/0.5177, allocations: 0.7141 MB / 0.771 GB, free: 14.18 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002591/0.518, allocations: 43.94 kB / 0.7711 GB, free: 14.14 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.518, allocations: 0 / 0.7711 GB, free: 14.14 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 9.317e-05/0.5181, allocations: 19.97 kB / 0.7711 GB, free: 14.12 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004292/0.5185, allocations: 7.938 kB / 0.7711 GB, free: 14.11 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005607/0.5191, allocations: 144.3 kB / 0.7712 GB, free: 13.93 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003763/0.5195, allocations: 0.6768 MB / 0.7719 GB, free: 13.23 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.005e-05/0.5195, allocations: 12.06 kB / 0.7719 GB, free: 13.21 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.75e-05/0.5196, allocations: 7.438 kB / 0.7719 GB, free: 13.21 MB / 0.545 GB Notification: Performance of SimCode: time 2.334e-06/0.5196, allocations: 0 / 0.7719 GB, free: 13.21 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02218/0.5418, allocations: 1.5 MB / 0.7734 GB, free: 11.86 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.16/8.702, allocations: 12.17 kB / 0.7734 GB, free: 11.85 MB / 0.545 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SublimationPressureIce.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_SublimationPressureIce_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_SublimationPressureIce.fmu > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe 2>&1)