Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Utilities.Psychrometrics.Examples.SublimationPressureIce,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_SublimationPressureIce",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Psychrometrics.Examples.SublimationPressureIce,fileNamePrefix="IBPSA_latest_IBPSA_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.001519/0.001519, allocations: 108.2 kB / 16.27 MB, free: 5.934 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.001728/0.001728, allocations: 192.5 kB / 17.2 MB, free: 5.57 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.305/1.305, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7573/0.7573, allocations: 122.9 MB / 413.9 MB, free: 15.93 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002435/0.002435, allocations: 67.91 kB / 0.4912 GB, free: 7.352 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4206/0.4231, allocations: 77.91 MB / 0.5673 GB, free: 32.64 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Examples.SublimationPressureIce): time 0.002641/0.4258, allocations: 1.4 MB / 0.5686 GB, free: 31.67 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.000529/0.4263, allocations: 289.6 kB / 0.5689 GB, free: 31.48 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.932e-05/0.4264, allocations: 0 / 0.5689 GB, free: 31.48 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.891e-05/0.4264, allocations: 5.016 kB / 0.5689 GB, free: 31.48 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.503e-05/0.4265, allocations: 5.656 kB / 0.5689 GB, free: 31.47 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002883/0.4268, allocations: 60.3 kB / 0.569 GB, free: 31.45 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.806e-05/0.4268, allocations: 23.7 kB / 0.569 GB, free: 31.44 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.595e-05/0.4269, allocations: 12.42 kB / 0.569 GB, free: 31.43 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.777e-05/0.427, allocations: 9.516 kB / 0.569 GB, free: 31.43 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.262e-05/0.427, allocations: 10.34 kB / 0.569 GB, free: 31.42 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.153e-05/0.427, allocations: 1.938 kB / 0.569 GB, free: 31.42 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000191/0.4272, allocations: 87.34 kB / 0.5691 GB, free: 31.4 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.275e-05/0.4272, allocations: 13.47 kB / 0.5691 GB, free: 31.39 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.368e-05/0.4273, allocations: 4.938 kB / 0.5691 GB, free: 31.39 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001597/0.4274, allocations: 73.02 kB / 0.5692 GB, free: 31.36 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.4275, allocations: 1.594 kB / 0.5692 GB, free: 31.36 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.424e-06/0.4275, allocations: 0.6094 kB / 0.5692 GB, free: 31.36 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.47e-06/0.4275, allocations: 1.75 kB / 0.5692 GB, free: 31.36 MB / 446.1 MB 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.0003767/0.4278, allocations: 349.2 kB / 0.5695 GB, free: 31 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.879e-05/0.4279, allocations: 10.88 kB / 0.5696 GB, free: 31 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.7e-05/0.4279, allocations: 32.62 kB / 0.5696 GB, free: 30.96 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.317e-05/0.428, allocations: 2.188 kB / 0.5696 GB, free: 30.96 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.063e-05/0.4281, allocations: 163.5 kB / 0.5697 GB, free: 30.76 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.073e-05/0.4281, allocations: 2.594 kB / 0.5698 GB, free: 30.76 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.191e-05/0.4281, allocations: 2.203 kB / 0.5698 GB, free: 30.76 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001721/0.4283, allocations: 52.84 kB / 0.5698 GB, free: 30.72 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/0.4283, allocations: 4.594 kB / 0.5698 GB, free: 30.72 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.394e-06/0.4283, allocations: 5.031 kB / 0.5698 GB, free: 30.71 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.4283, allocations: 0.5312 kB / 0.5698 GB, free: 30.71 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001654/0.4285, allocations: 34.69 kB / 0.5698 GB, free: 30.71 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003264/0.4288, allocations: 252.3 kB / 0.5701 GB, free: 30.43 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001357/0.429, allocations: 37.56 kB / 0.5701 GB, free: 30.41 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.543e-05/0.4291, allocations: 24.81 kB / 0.5701 GB, free: 30.39 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.495e-05/0.4291, allocations: 1.375 kB / 0.5701 GB, free: 30.39 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.491e-05/0.4291, allocations: 37.66 kB / 0.5702 GB, free: 30.35 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.262e-06/0.4291, allocations: 0 / 0.5702 GB, free: 30.35 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003731/0.4295, allocations: 81.81 kB / 0.5703 GB, free: 30.31 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.981e-05/0.4296, allocations: 52.72 kB / 0.5703 GB, free: 30.25 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.053e-05/0.4296, allocations: 101.4 kB / 0.5704 GB, free: 30.15 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.007e-05/0.4296, allocations: 26.58 kB / 0.5704 GB, free: 30.12 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.492e-05/0.4297, allocations: 86.34 kB / 0.5705 GB, free: 30.03 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.957e-05/0.4297, allocations: 6.094 kB / 0.5705 GB, free: 30.03 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.023e-05/0.4297, allocations: 16.77 kB / 0.5705 GB, free: 30.01 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.474e-05/0.4298, allocations: 314.7 kB / 0.5708 GB, free: 29.7 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.852e-05/0.4299, allocations: 17.83 kB / 0.5709 GB, free: 29.69 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.96e-05/0.43, allocations: 20.34 kB / 0.5709 GB, free: 29.69 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001581/0.4302, allocations: 37.45 kB / 0.5709 GB, free: 29.68 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.4302, allocations: 4.75 kB / 0.5709 GB, free: 29.67 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002037/0.4304, allocations: 64.09 kB / 0.571 GB, free: 29.64 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/0.4304, allocations: 6.688 kB / 0.571 GB, free: 29.64 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.908e-06/0.4304, allocations: 0 / 0.571 GB, free: 29.64 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.567e-05/0.4304, allocations: 4.5 kB / 0.571 GB, free: 29.63 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.778e-05/0.4305, allocations: 11.12 kB / 0.571 GB, free: 29.63 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.204e-06/0.4306, allocations: 0.5625 kB / 0.571 GB, free: 29.63 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.154e-05/0.4306, allocations: 14.23 kB / 0.571 GB, free: 29.62 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.15e-06/0.4306, allocations: 1.094 kB / 0.571 GB, free: 29.62 MB / 446.1 MB 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 6.342e-05/0.4307, allocations: 114.1 kB / 0.5711 GB, free: 29.51 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.545e-05/0.4307, allocations: 9.016 kB / 0.5711 GB, free: 29.5 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002283/0.431, allocations: 76.47 kB / 0.5712 GB, free: 29.46 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.431, allocations: 1.625 kB / 0.5712 GB, free: 29.46 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.431, allocations: 0.625 kB / 0.5712 GB, free: 29.46 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.431, allocations: 5.812 kB / 0.5712 GB, free: 29.45 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000126/0.4311, allocations: 164.3 kB / 0.5714 GB, free: 29.25 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/0.4311, allocations: 0 / 0.5714 GB, free: 29.25 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.611e-05/0.4312, allocations: 8.953 kB / 0.5714 GB, free: 29.25 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.4312, allocations: 2.016 kB / 0.5714 GB, free: 29.25 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.732e-06/0.4312, allocations: 1.438 kB / 0.5714 GB, free: 29.25 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.4312, allocations: 1.219 kB / 0.5714 GB, free: 29.25 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.4312, allocations: 0 / 0.5714 GB, free: 29.25 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002126/0.4314, allocations: 164.9 kB / 0.5715 GB, free: 29.11 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.393e-05/0.4315, allocations: 83.3 kB / 0.5716 GB, free: 29.02 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.289e-05/0.4315, allocations: 1.656 kB / 0.5716 GB, free: 29.02 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.505e-05/0.4316, allocations: 7.219 kB / 0.5716 GB, free: 29.02 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.162e-05/0.4316, allocations: 2.766 kB / 0.5716 GB, free: 29.02 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.256e-06/0.4316, allocations: 1.156 kB / 0.5716 GB, free: 29.02 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.526e-05/0.4317, allocations: 82.08 kB / 0.5717 GB, free: 28.94 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4317, allocations: 0 / 0.5717 GB, free: 28.94 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002302/0.4319, allocations: 9.094 kB / 0.5717 GB, free: 28.94 MB / 446.1 MB 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.0004352/0.4323, allocations: 0.7099 MB / 0.5724 GB, free: 28.27 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002062/0.4326, allocations: 42.33 kB / 0.5725 GB, free: 28.26 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.4326, allocations: 1.094 kB / 0.5725 GB, free: 28.26 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.285e-05/0.4327, allocations: 16.06 kB / 0.5725 GB, free: 28.26 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000246/0.4329, allocations: 4.781 kB / 0.5725 GB, free: 28.26 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004047/0.4333, allocations: 155.2 kB / 0.5726 GB, free: 28.09 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000115/0.4334, allocations: 0.6787 MB / 0.5733 GB, free: 27.4 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.22e-05/0.4335, allocations: 1.094 kB / 0.5733 GB, free: 27.4 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.634e-05/0.4335, allocations: 8.562 kB / 0.5733 GB, free: 27.39 MB / 446.1 MB Notification: Performance of SimCode: time 2.1e-07/0.4335, allocations: 0 / 0.5733 GB, free: 27.39 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01772/0.4512, allocations: 1.456 MB / 0.5747 GB, free: 27.08 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.857/8.308, allocations: 10.22 kB / 0.5747 GB, free: 27.07 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.SublimationPressureIce.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_SublimationPressureIce_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_SublimationPressureIce.fmu > IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe 2>&1)