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.004817/0.004817, allocations: 102.8 kB / 15.73 MB, free: 5.539 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.001189/0.001189, allocations: 193.1 kB / 16.67 MB, free: 5.469 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.245/1.245, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002157/0.002157, allocations: 291.3 kB / 290.8 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8786/0.8786, allocations: 169.2 MB / 0.4983 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001728/0.001728, allocations: 95.84 kB / 0.6809 GB, free: 7.504 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4193/0.4211, allocations: 86.98 MB / 0.7659 GB, free: 3.91 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.SublimationPressureIce): time 0.002421/0.4235, allocations: 1.402 MB / 0.7673 GB, free: 2.496 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0005565/0.4241, allocations: 297.8 kB / 0.7675 GB, free: 2.207 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.305e-05/0.4242, allocations: 0 / 0.7675 GB, free: 2.207 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.024e-05/0.4242, allocations: 0 / 0.7675 GB, free: 2.207 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.579e-05/0.4243, allocations: 11.92 kB / 0.7676 GB, free: 2.195 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.000334/0.4247, allocations: 55.75 kB / 0.7676 GB, free: 2.141 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 6.57e-05/0.4247, allocations: 23.86 kB / 0.7676 GB, free: 2.117 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 9.625e-05/0.4248, allocations: 8 kB / 0.7676 GB, free: 2.109 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.188e-05/0.4249, allocations: 7.984 kB / 0.7676 GB, free: 2.102 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.794e-05/0.4249, allocations: 11.94 kB / 0.7677 GB, free: 2.09 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.043e-05/0.4249, allocations: 0 / 0.7677 GB, free: 2.09 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001945/0.4251, allocations: 95.77 kB / 0.7677 GB, free: 1.996 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.604e-05/0.4252, allocations: 8 kB / 0.7678 GB, free: 1.988 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.663e-05/0.4252, allocations: 15.86 kB / 0.7678 GB, free: 1.973 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001592/0.4254, allocations: 63.92 kB / 0.7678 GB, free: 1.91 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.4254, allocations: 0 / 0.7678 GB, free: 1.91 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.443e-06/0.4254, allocations: 0 / 0.7678 GB, free: 1.91 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.152e-06/0.4254, allocations: 0 / 0.7678 GB, free: 1.91 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.0004084/0.4258, allocations: 351.3 kB / 0.7682 GB, free: 1.516 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.204e-05/0.4259, allocations: 12.03 kB / 0.7682 GB, free: 1.504 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.926e-05/0.4259, allocations: 34.73 kB / 0.7682 GB, free: 1.461 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.439e-05/0.4259, allocations: 8.938 kB / 0.7682 GB, free: 1.453 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.122e-05/0.426, allocations: 160.4 kB / 0.7684 GB, free: 1.258 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.212e-05/0.426, allocations: 4.375 kB / 0.7684 GB, free: 1.254 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.388e-06/0.4261, allocations: 384 / 0.7684 GB, free: 1.254 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001653/0.4262, allocations: 58.16 kB / 0.7684 GB, free: 1.191 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.284e-06/0.4262, allocations: 3.938 kB / 0.7684 GB, free: 1.188 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.768e-05/0.4263, allocations: 0 / 0.7684 GB, free: 1.188 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.345e-05/0.4263, allocations: 0 / 0.7684 GB, free: 1.188 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001685/0.4265, allocations: 39.95 kB / 0.7685 GB, free: 1.148 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002879/0.4268, allocations: 252.8 kB / 0.7687 GB, free: 0.8516 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001195/0.4269, allocations: 34.5 kB / 0.7687 GB, free: 0.8086 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.644e-05/0.427, allocations: 28.83 kB / 0.7688 GB, free: 0.7773 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.064e-05/0.427, allocations: 4 kB / 0.7688 GB, free: 0.7734 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.032e-05/0.427, allocations: 34.56 kB / 0.7688 GB, free: 0.7305 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 1.253e-06/0.427, allocations: 0 / 0.7688 GB, free: 0.7305 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.0003367/0.4274, allocations: 77.64 kB / 0.7689 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.163e-05/0.4274, allocations: 55.41 kB / 0.7689 GB, free: 0.582 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.527e-05/0.4275, allocations: 97.98 kB / 0.769 GB, free: 488 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.592e-05/0.4275, allocations: 29.7 kB / 0.7691 GB, free: 452 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.641e-05/0.4276, allocations: 80.14 kB / 0.7691 GB, free: 368 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.05e-05/0.4276, allocations: 11.89 kB / 0.7691 GB, free: 356 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.22e-05/0.4276, allocations: 13.72 kB / 0.7692 GB, free: 336 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 9.851e-05/0.4277, allocations: 314.8 kB / 0.7695 GB, free: 12 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.667e-05/0.4278, allocations: 20.03 kB / 0.7695 GB, free: 15.99 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.438e-05/0.4279, allocations: 19.92 kB / 0.7695 GB, free: 15.97 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001427/0.4281, allocations: 36.83 kB / 0.7695 GB, free: 15.93 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.4281, allocations: 3.938 kB / 0.7695 GB, free: 15.93 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001833/0.4283, allocations: 61.66 kB / 0.7696 GB, free: 15.86 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.866e-05/0.4283, allocations: 8 kB / 0.7696 GB, free: 15.86 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.4283, allocations: 0 / 0.7696 GB, free: 15.86 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/0.4283, allocations: 4.094 kB / 0.7696 GB, free: 15.85 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.856e-05/0.4284, allocations: 15.86 kB / 0.7696 GB, free: 15.84 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.713e-06/0.4284, allocations: 7.938 kB / 0.7696 GB, free: 15.83 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.636e-05/0.4285, allocations: 8 kB / 0.7696 GB, free: 15.82 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.459e-06/0.4285, allocations: 0 / 0.7696 GB, free: 15.82 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 7.138e-05/0.4286, allocations: 109.8 kB / 0.7697 GB, free: 15.7 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.374e-05/0.4286, allocations: 0 / 0.7697 GB, free: 15.7 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002194/0.4288, allocations: 80.77 kB / 0.7698 GB, free: 15.62 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.4288, allocations: 0 / 0.7698 GB, free: 15.62 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.4288, allocations: 0 / 0.7698 GB, free: 15.62 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.4288, allocations: 0 / 0.7698 GB, free: 15.62 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001424/0.429, allocations: 161.5 kB / 0.77 GB, free: 15.41 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.429, allocations: 0 / 0.77 GB, free: 15.41 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.891e-05/0.4291, allocations: 11.98 kB / 0.77 GB, free: 15.4 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.4291, allocations: 0 / 0.77 GB, free: 15.4 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.771e-06/0.4291, allocations: 0 / 0.77 GB, free: 15.4 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.4291, allocations: 4.031 kB / 0.77 GB, free: 15.4 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.4291, allocations: 7.938 kB / 0.77 GB, free: 15.39 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002276/0.4293, allocations: 163.5 kB / 0.7702 GB, free: 15.21 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.316e-05/0.4294, allocations: 81.11 kB / 0.7702 GB, free: 15.12 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.212e-05/0.4294, allocations: 0 / 0.7702 GB, free: 15.12 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.548e-05/0.4295, allocations: 7.984 kB / 0.7702 GB, free: 15.11 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.611e-05/0.4295, allocations: 4.031 kB / 0.7702 GB, free: 15.11 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.136e-06/0.4295, allocations: 0 / 0.7702 GB, free: 15.11 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.069e-05/0.4296, allocations: 87.44 kB / 0.7703 GB, free: 15.02 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4296, allocations: 0 / 0.7703 GB, free: 15.02 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002281/0.4298, allocations: 12 kB / 0.7703 GB, free: 15.01 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.0005501/0.4304, allocations: 0.7218 MB / 0.771 GB, free: 14.26 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002024/0.4306, allocations: 31.97 kB / 0.7711 GB, free: 14.23 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.4306, allocations: 0 / 0.7711 GB, free: 14.23 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 8.139e-05/0.4307, allocations: 16.08 kB / 0.7711 GB, free: 14.21 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002523/0.4309, allocations: 15.33 kB / 0.7711 GB, free: 14.2 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004052/0.4313, allocations: 152.2 kB / 0.7712 GB, free: 14.01 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001962/0.4316, allocations: 0.6768 MB / 0.7719 GB, free: 13.3 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.325e-05/0.4316, allocations: 3.938 kB / 0.7719 GB, free: 13.3 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.935e-05/0.4316, allocations: 15.38 kB / 0.7719 GB, free: 13.29 MB / 0.545 GB Notification: Performance of SimCode: time 3.81e-07/0.4316, allocations: 0 / 0.7719 GB, free: 13.29 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01685/0.4485, allocations: 1.484 MB / 0.7734 GB, free: 11.95 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.072/7.521, allocations: 7.984 kB / 0.7734 GB, free: 11.95 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)