Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Psychrometrics_Examples_SublimationPressureIce",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Psychrometrics_Examples_SublimationPressureIce",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.302/1.302, allocations: 251.5 MB / 266.7 MB, free: 11.06 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009319/0.000932, allocations: 174.5 kB / 325.8 MB, free: 2.711 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.498/1.498, allocations: 205 MB / 0.576 GB, free: 21.07 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007089/0.0007089, allocations: 86.09 kB / 0.6797 GB, free: 14.74 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003341/0.0003344, allocations: 9.25 kB / 0.7933 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1813/0.1817, allocations: 105.4 MB / 0.8962 GB, free: 68.12 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce): time 0.001367/0.1831, allocations: 1.148 MB / 0.8973 GB, free: 66.96 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0004499/0.1835, allocations: 292 kB / 0.8976 GB, free: 66.67 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.102e-05/0.1836, allocations: 0 / 0.8976 GB, free: 66.67 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.072e-05/0.1836, allocations: 0 / 0.8976 GB, free: 66.67 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.618e-05/0.1837, allocations: 7.875 kB / 0.8976 GB, free: 66.66 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002238/0.1839, allocations: 51.8 kB / 0.8976 GB, free: 66.61 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 4.929e-05/0.184, allocations: 27.92 kB / 0.8977 GB, free: 66.59 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 7.126e-05/0.184, allocations: 4 kB / 0.8977 GB, free: 66.58 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.426e-05/0.1841, allocations: 8 kB / 0.8977 GB, free: 66.57 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.42e-05/0.1841, allocations: 11.92 kB / 0.8977 GB, free: 66.56 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 9.778e-06/0.1841, allocations: 4 kB / 0.8977 GB, free: 66.56 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001413/0.1843, allocations: 95.78 kB / 0.8978 GB, free: 66.46 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 8.947e-06/0.1843, allocations: 0 / 0.8978 GB, free: 66.46 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.187e-05/0.1843, allocations: 19.91 kB / 0.8978 GB, free: 66.45 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001208/0.1845, allocations: 51.88 kB / 0.8979 GB, free: 66.39 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.1845, allocations: 4 kB / 0.8979 GB, free: 66.39 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.492e-06/0.1845, allocations: 0 / 0.8979 GB, free: 66.39 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 8.706e-06/0.1845, allocations: 0 / 0.8979 GB, free: 66.39 MB / 0.6042 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.0003369/0.1848, allocations: 355.5 kB / 0.8982 GB, free: 65.99 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.403e-05/0.1849, allocations: 8.031 kB / 0.8982 GB, free: 65.98 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.357e-05/0.1849, allocations: 30.75 kB / 0.8982 GB, free: 65.95 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.316e-05/0.1849, allocations: 8.844 kB / 0.8982 GB, free: 65.94 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.222e-05/0.185, allocations: 164.3 kB / 0.8984 GB, free: 65.74 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.039e-05/0.185, allocations: 8.375 kB / 0.8984 GB, free: 65.73 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.666e-06/0.185, allocations: 4.375 kB / 0.8984 GB, free: 65.73 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000152/0.1852, allocations: 62.17 kB / 0.8985 GB, free: 65.66 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.723e-06/0.1852, allocations: 3.938 kB / 0.8985 GB, free: 65.66 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.013e-06/0.1852, allocations: 0 / 0.8985 GB, free: 65.66 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.1852, allocations: 0 / 0.8985 GB, free: 65.66 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001439/0.1854, allocations: 47.95 kB / 0.8985 GB, free: 65.61 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002396/0.1856, allocations: 244.9 kB / 0.8988 GB, free: 65.32 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001033/0.1857, allocations: 42.5 kB / 0.8988 GB, free: 65.27 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.684e-05/0.1858, allocations: 32.89 kB / 0.8988 GB, free: 65.23 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.923e-05/0.1858, allocations: 3.984 kB / 0.8988 GB, free: 65.23 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.332e-05/0.1859, allocations: 34.56 kB / 0.8989 GB, free: 65.19 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.1859, allocations: 4 kB / 0.8989 GB, free: 65.18 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0002958/0.1862, allocations: 97.58 kB / 0.899 GB, free: 65.08 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.398e-05/0.1862, allocations: 51.41 kB / 0.899 GB, free: 65.02 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.693e-05/0.1863, allocations: 97.86 kB / 0.8991 GB, free: 64.91 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.063e-06/0.1863, allocations: 25.7 kB / 0.8991 GB, free: 64.88 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.645e-05/0.1863, allocations: 96.25 kB / 0.8992 GB, free: 64.79 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.565e-05/0.1863, allocations: 7.844 kB / 0.8992 GB, free: 64.78 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.761e-05/0.1863, allocations: 9.719 kB / 0.8992 GB, free: 64.76 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 3.59e-05/0.1864, allocations: 310.8 kB / 0.8995 GB, free: 64.45 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.229e-05/0.1865, allocations: 23.98 kB / 0.8996 GB, free: 64.43 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.966e-05/0.1865, allocations: 23.97 kB / 0.8996 GB, free: 64.4 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001307/0.1867, allocations: 52.77 kB / 0.8996 GB, free: 64.35 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.1867, allocations: 3.938 kB / 0.8996 GB, free: 64.34 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001583/0.1868, allocations: 89.56 kB / 0.8997 GB, free: 64.25 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.206e-05/0.1869, allocations: 6.656 kB / 0.8997 GB, free: 64.25 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.1869, allocations: 0 / 0.8997 GB, free: 64.25 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.558e-06/0.1869, allocations: 0 / 0.8997 GB, free: 64.25 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.679e-05/0.187, allocations: 16.02 kB / 0.8997 GB, free: 64.23 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.187, allocations: 7.984 kB / 0.8998 GB, free: 64.22 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.29e-05/0.187, allocations: 4 kB / 0.8998 GB, free: 64.22 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.807e-06/0.187, allocations: 0 / 0.8998 GB, free: 64.22 MB / 0.6042 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 4.359e-05/0.1871, allocations: 113.8 kB / 0.8999 GB, free: 64.1 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.12e-05/0.1871, allocations: 3.984 kB / 0.8999 GB, free: 64.09 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000192/0.1873, allocations: 88.91 kB / 0.9 GB, free: 64 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.1873, allocations: 3.984 kB / 0.9 GB, free: 64 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.1873, allocations: 0 / 0.9 GB, free: 64 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-06/0.1873, allocations: 0 / 0.9 GB, free: 64 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.827e-05/0.1874, allocations: 161.5 kB / 0.9001 GB, free: 63.79 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.1875, allocations: 0 / 0.9001 GB, free: 63.79 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.249e-05/0.1875, allocations: 20.02 kB / 0.9001 GB, free: 63.77 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.353e-06/0.1875, allocations: 0 / 0.9001 GB, free: 63.77 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.201e-06/0.1875, allocations: 0 / 0.9001 GB, free: 63.77 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.1875, allocations: 0 / 0.9001 GB, free: 63.77 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.1875, allocations: 0 / 0.9001 GB, free: 63.77 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000186/0.1877, allocations: 175.5 kB / 0.9003 GB, free: 63.59 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.615e-05/0.1878, allocations: 81.11 kB / 0.9004 GB, free: 63.49 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.109e-05/0.1878, allocations: 0 / 0.9004 GB, free: 63.49 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.74e-05/0.1878, allocations: 7.984 kB / 0.9004 GB, free: 63.48 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.998e-05/0.1879, allocations: 4 kB / 0.9004 GB, free: 63.48 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.886e-06/0.1879, allocations: 0 / 0.9004 GB, free: 63.48 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 1.789e-05/0.1879, allocations: 91.23 kB / 0.9005 GB, free: 63.39 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1e-07/0.1879, allocations: 0 / 0.9005 GB, free: 63.39 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001954/0.1881, allocations: 15.91 kB / 0.9005 GB, free: 63.37 MB / 0.6042 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.0003458/0.1885, allocations: 0.7202 MB / 0.9012 GB, free: 62.62 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001709/0.1886, allocations: 44 kB / 0.9012 GB, free: 62.58 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.1887, allocations: 0 / 0.9012 GB, free: 62.58 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 7.266e-05/0.1887, allocations: 31.84 kB / 0.9013 GB, free: 62.55 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002339/0.189, allocations: 9.688 kB / 0.9013 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003314/0.1893, allocations: 142.2 kB / 0.9014 GB, free: 62.36 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.583e-05/0.1894, allocations: 0.6848 MB / 0.9021 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 1.99e-05/0.1894, allocations: 0 / 0.9021 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.253e-05/0.1895, allocations: 11.44 kB / 0.9021 GB, free: 61.63 MB / 0.6042 GB Notification: Performance of SimCode: time 2.9e-07/0.1895, allocations: 0 / 0.9021 GB, free: 61.63 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1542/0.3437, allocations: 1.226 MB / 0.9033 GB, free: 60.57 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001444/0.3439, allocations: 228.4 kB / 0.9035 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.546/1.89, allocations: 1.625 kB / 0.9035 GB, free: 60.32 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Psychrometrics_Examples_SublimationPressureIce_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Psychrometrics_Examples_SublimationPressureIce.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe 2>&1)