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.008912/0.008912, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.001901/0.001901, allocations: 198.8 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.563/1.563, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002496/0.002496, allocations: 274.4 kB / 290.8 MB, free: 1.93 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.118/1.118, allocations: 169.3 MB / 0.4983 GB, free: 13.82 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003042/0.003042, allocations: 99.84 kB / 0.681 GB, free: 24 kB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.229/0.232, allocations: 86.97 MB / 0.7659 GB, free: 8.973 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.SublimationPressureIce): time 0.003242/0.2353, allocations: 1.412 MB / 0.7673 GB, free: 7.551 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0006988/0.236, allocations: 283.1 kB / 0.7675 GB, free: 7.273 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.684e-05/0.2361, allocations: 3.938 kB / 0.7675 GB, free: 7.27 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.49e-05/0.2361, allocations: 3.938 kB / 0.7675 GB, free: 7.266 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 6.321e-05/0.2362, allocations: 7.938 kB / 0.7675 GB, free: 7.258 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003778/0.2366, allocations: 55.75 kB / 0.7676 GB, free: 7.203 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 8.232e-05/0.2367, allocations: 27.91 kB / 0.7676 GB, free: 7.176 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001019/0.2368, allocations: 4 kB / 0.7676 GB, free: 7.172 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 5.021e-05/0.2369, allocations: 11.98 kB / 0.7676 GB, free: 7.16 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 7.488e-05/0.237, allocations: 15.92 kB / 0.7677 GB, free: 7.145 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.331e-05/0.237, allocations: 4 kB / 0.7677 GB, free: 7.141 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002176/0.2372, allocations: 79.86 kB / 0.7677 GB, free: 7.062 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.758e-05/0.2372, allocations: 7.984 kB / 0.7677 GB, free: 7.055 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.684e-05/0.2373, allocations: 11.94 kB / 0.7678 GB, free: 7.043 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001972/0.2375, allocations: 71.95 kB / 0.7678 GB, free: 6.973 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.2375, allocations: 0 / 0.7678 GB, free: 6.973 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.002e-06/0.2375, allocations: 0 / 0.7678 GB, free: 6.973 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.033e-05/0.2375, allocations: 0 / 0.7678 GB, free: 6.973 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005796/0.2381, allocations: 351.3 kB / 0.7682 GB, free: 6.578 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.52e-05/0.2381, allocations: 12.03 kB / 0.7682 GB, free: 6.566 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.346e-05/0.2382, allocations: 34.75 kB / 0.7682 GB, free: 6.523 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.49e-05/0.2382, allocations: 0.9375 kB / 0.7682 GB, free: 6.523 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001607/0.2384, allocations: 172.3 kB / 0.7684 GB, free: 6.316 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.404e-05/0.2384, allocations: 384 / 0.7684 GB, free: 6.316 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.396e-06/0.2384, allocations: 384 / 0.7684 GB, free: 6.316 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001918/0.2386, allocations: 58.16 kB / 0.7684 GB, free: 6.254 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/0.2386, allocations: 3.938 kB / 0.7684 GB, free: 6.25 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.856e-06/0.2387, allocations: 3.938 kB / 0.7684 GB, free: 6.246 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.2387, allocations: 0 / 0.7684 GB, free: 6.246 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001704/0.2388, allocations: 35.95 kB / 0.7685 GB, free: 6.211 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000401/0.2393, allocations: 245 kB / 0.7687 GB, free: 5.922 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001305/0.2394, allocations: 42.48 kB / 0.7687 GB, free: 5.871 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.741e-05/0.2395, allocations: 24.91 kB / 0.7688 GB, free: 5.844 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.095e-05/0.2395, allocations: 11.92 kB / 0.7688 GB, free: 5.832 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.418e-05/0.2396, allocations: 34.56 kB / 0.7688 GB, free: 5.789 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.2396, allocations: 0 / 0.7688 GB, free: 5.789 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.000366/0.2399, allocations: 77.64 kB / 0.7689 GB, free: 5.707 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.743e-05/0.24, allocations: 55.41 kB / 0.7689 GB, free: 5.641 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.768e-05/0.2401, allocations: 93.86 kB / 0.769 GB, free: 5.539 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.803e-05/0.2401, allocations: 25.83 kB / 0.7691 GB, free: 5.508 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.282e-05/0.2402, allocations: 92.12 kB / 0.7691 GB, free: 5.414 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.943e-05/0.2402, allocations: 15.83 kB / 0.7692 GB, free: 5.398 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.114e-05/0.2402, allocations: 9.719 kB / 0.7692 GB, free: 5.383 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001494/0.2404, allocations: 314.8 kB / 0.7695 GB, free: 5.066 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.78e-05/0.2405, allocations: 15.98 kB / 0.7695 GB, free: 5.051 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.349e-05/0.2406, allocations: 23.91 kB / 0.7695 GB, free: 5.027 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001502/0.2407, allocations: 40.89 kB / 0.7695 GB, free: 4.984 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.868e-06/0.2407, allocations: 3.938 kB / 0.7695 GB, free: 4.98 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001909/0.2409, allocations: 69.61 kB / 0.7696 GB, free: 4.906 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/0.2409, allocations: 6.5 kB / 0.7696 GB, free: 4.902 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.241, allocations: 0 / 0.7696 GB, free: 4.902 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/0.241, allocations: 0 / 0.7696 GB, free: 4.902 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.008e-05/0.2411, allocations: 16.02 kB / 0.7696 GB, free: 4.887 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.2411, allocations: 0 / 0.7696 GB, free: 4.887 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.372e-05/0.2411, allocations: 4 kB / 0.7696 GB, free: 4.883 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.683e-06/0.2411, allocations: 0 / 0.7696 GB, free: 4.883 MB / 0.5606 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.789e-05/0.2413, allocations: 118.4 kB / 0.7697 GB, free: 4.758 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.636e-05/0.2413, allocations: 8 kB / 0.7698 GB, free: 4.75 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002201/0.2415, allocations: 68.78 kB / 0.7698 GB, free: 4.68 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.464e-06/0.2415, allocations: 0 / 0.7698 GB, free: 4.68 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.2415, allocations: 0 / 0.7698 GB, free: 4.68 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.2415, allocations: 0 / 0.7698 GB, free: 4.68 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001707/0.2417, allocations: 157.6 kB / 0.77 GB, free: 4.477 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.381e-06/0.2417, allocations: 8 kB / 0.77 GB, free: 4.469 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.295e-05/0.2418, allocations: 11.92 kB / 0.77 GB, free: 4.457 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.2418, allocations: 0 / 0.77 GB, free: 4.457 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.472e-06/0.2418, allocations: 0 / 0.77 GB, free: 4.457 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.123e-06/0.2418, allocations: 0 / 0.77 GB, free: 4.457 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.2418, allocations: 8.031 kB / 0.77 GB, free: 4.449 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002644/0.2421, allocations: 163.4 kB / 0.7702 GB, free: 4.273 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.24e-05/0.2422, allocations: 85.06 kB / 0.7702 GB, free: 4.172 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.58e-05/0.2422, allocations: 3.984 kB / 0.7702 GB, free: 4.168 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.04e-05/0.2422, allocations: 4 kB / 0.7702 GB, free: 4.164 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.412e-05/0.2423, allocations: 8.016 kB / 0.7703 GB, free: 4.156 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.046e-06/0.2423, allocations: 0 / 0.7703 GB, free: 4.156 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.477e-05/0.2424, allocations: 87.45 kB / 0.7703 GB, free: 4.07 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.524e-06/0.2424, allocations: 0 / 0.7703 GB, free: 4.07 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002287/0.2426, allocations: 19.88 kB / 0.7704 GB, free: 4.051 MB / 0.5606 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.0006765/0.2433, allocations: 0.7085 MB / 0.771 GB, free: 3.312 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002144/0.2435, allocations: 35.97 kB / 0.7711 GB, free: 3.277 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.2435, allocations: 0 / 0.7711 GB, free: 3.277 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 8.632e-05/0.2436, allocations: 23.97 kB / 0.7711 GB, free: 3.254 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003055/0.2439, allocations: 4.156 kB / 0.7711 GB, free: 3.25 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004693/0.2444, allocations: 156.1 kB / 0.7713 GB, free: 3.055 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003548/0.2448, allocations: 0.6768 MB / 0.7719 GB, free: 2.352 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.291e-05/0.2448, allocations: 0 / 0.7719 GB, free: 2.352 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.574e-05/0.2449, allocations: 11.44 kB / 0.7719 GB, free: 2.34 MB / 0.5606 GB Notification: Performance of SimCode: time 2.21e-07/0.2449, allocations: 0 / 0.7719 GB, free: 2.34 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02307/0.2679, allocations: 1.504 MB / 0.7734 GB, free: 0.9883 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.722/7.99, allocations: 12.36 kB / 0.7734 GB, free: 0.9766 MB / 0.5606 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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SublimationPressureIce_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_SublimationPressureIce.fmu > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe 2>&1)