Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure",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.0009671/0.0009672, allocations: 95.84 kB / 15.36 MB, free: 0.7305 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.001118/0.001118, allocations: 172.5 kB / 16.26 MB, free: 6.688 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.212/1.212, allocations: 223.2 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6956/0.6956, allocations: 132.3 MB / 423.8 MB, free: 1.977 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002712/0.0002713, allocations: 8 kB / 0.5041 GB, free: 3.766 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.334/0.3343, allocations: 81.57 MB / 0.5838 GB, free: 3.871 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure): time 0.001512/0.3358, allocations: 1.36 MB / 0.5851 GB, free: 2.891 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001223/0.337, allocations: 1.132 MB / 0.5862 GB, free: 2.09 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.771e-05/0.3371, allocations: 0 / 0.5862 GB, free: 2.09 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001589/0.3373, allocations: 22.27 kB / 0.5862 GB, free: 2.078 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001735/0.3374, allocations: 57.62 kB / 0.5863 GB, free: 2.043 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002981/0.3377, allocations: 133.2 kB / 0.5864 GB, free: 1.98 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002296/0.338, allocations: 218.5 kB / 0.5866 GB, free: 1.898 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.469e-05/0.3381, allocations: 22.52 kB / 0.5866 GB, free: 1.883 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.156e-05/0.3382, allocations: 70.8 kB / 0.5867 GB, free: 1.859 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001694/0.3383, allocations: 81.8 kB / 0.5868 GB, free: 1.828 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.814e-05/0.3384, allocations: 9.281 kB / 0.5868 GB, free: 1.828 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001242/0.3385, allocations: 68.25 kB / 0.5868 GB, free: 1.809 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 7.99e-05/0.3386, allocations: 79.81 kB / 0.5869 GB, free: 1.773 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 8.619e-05/0.3387, allocations: 118.8 kB / 0.587 GB, free: 1.684 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002883/0.339, allocations: 272 kB / 0.5873 GB, free: 1.586 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.339, allocations: 0.7188 kB / 0.5873 GB, free: 1.586 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.339, allocations: 0 / 0.5873 GB, free: 1.586 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.998e-06/0.339, allocations: 0.5 kB / 0.5873 GB, free: 1.586 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0005529/0.3396, allocations: 493.3 kB / 0.5878 GB, free: 1.133 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.327e-05/0.3396, allocations: 14.45 kB / 0.5878 GB, free: 1.129 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.691e-05/0.3397, allocations: 53 kB / 0.5878 GB, free: 1.078 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.282e-05/0.3397, allocations: 30.22 kB / 0.5879 GB, free: 1.062 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002002/0.3399, allocations: 261.5 kB / 0.5881 GB, free: 0.8164 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.345e-05/0.3399, allocations: 14.56 kB / 0.5881 GB, free: 0.8086 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.924e-05/0.34, allocations: 13.78 kB / 0.5881 GB, free: 0.8047 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003053/0.3403, allocations: 211.2 kB / 0.5883 GB, free: 0.6914 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.787e-06/0.3403, allocations: 4 kB / 0.5883 GB, free: 0.6875 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.204e-05/0.3403, allocations: 7.125 kB / 0.5883 GB, free: 0.6836 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.661e-06/0.3403, allocations: 4.188 kB / 0.5883 GB, free: 0.6836 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008818/0.3412, allocations: 0.7336 MB / 0.5891 GB, free: 0.5938 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007916/0.342, allocations: 0.5771 MB / 0.5896 GB, free: 204 kB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003162/0.3424, allocations: 226.9 kB / 0.5898 GB, free: 120 kB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001445/0.3425, allocations: 99.95 kB / 0.5899 GB, free: 80 kB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.172e-05/0.3426, allocations: 17.89 kB / 0.59 GB, free: 76 kB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002986/0.3429, allocations: 173.9 kB / 0.5901 GB, free: 15.98 MB / 446.1 MB Notification: Performance of pre-optimization done (n=33): time 1.573e-06/0.3429, allocations: 0 / 0.5901 GB, free: 15.98 MB / 446.1 MB Notification: Performance of matching and sorting (n=33): time 0.0006294/0.3435, allocations: 373.4 kB / 0.5905 GB, free: 15.84 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.525e-05/0.3436, allocations: 137.6 kB / 0.5906 GB, free: 15.68 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002973/0.3439, allocations: 303.2 kB / 0.5909 GB, free: 15.52 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.903e-05/0.3439, allocations: 31.08 kB / 0.5909 GB, free: 15.48 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.583e-05/0.344, allocations: 127.5 kB / 0.591 GB, free: 15.36 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.968e-05/0.3441, allocations: 105.7 kB / 0.5911 GB, free: 15.28 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.464e-05/0.3441, allocations: 32.88 kB / 0.5912 GB, free: 15.25 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001095/0.3443, allocations: 338.2 kB / 0.5915 GB, free: 14.93 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001428/0.3444, allocations: 78.98 kB / 0.5916 GB, free: 14.91 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000178/0.3446, allocations: 128.2 kB / 0.5917 GB, free: 14.84 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003096/0.3449, allocations: 206.9 kB / 0.5919 GB, free: 14.76 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.3449, allocations: 5.125 kB / 0.5919 GB, free: 14.75 MB / 446.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004127/0.3453, allocations: 268.1 kB / 0.5922 GB, free: 14.64 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.274e-05/0.3454, allocations: 6.078 kB / 0.5922 GB, free: 14.64 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/0.3454, allocations: 4 kB / 0.5922 GB, free: 14.64 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.919e-06/0.3454, allocations: 1.469 kB / 0.5922 GB, free: 14.64 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002121/0.3456, allocations: 62.67 kB / 0.5922 GB, free: 14.63 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.544e-06/0.3456, allocations: 10.44 kB / 0.5922 GB, free: 14.62 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001487/0.3458, allocations: 30.14 kB / 0.5923 GB, free: 14.61 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.404e-05/0.3458, allocations: 9.125 kB / 0.5923 GB, free: 14.61 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: 3 (conTim.tNext,$PRE.conTim.tNext,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 34 * 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 0.0001425/0.346, allocations: 162.7 kB / 0.5924 GB, free: 14.47 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.707e-05/0.346, allocations: 32.02 kB / 0.5925 GB, free: 14.45 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000646/0.3467, allocations: 377.4 kB / 0.5928 GB, free: 14.29 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/0.3467, allocations: 3.812 kB / 0.5928 GB, free: 14.29 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.3467, allocations: 0.7031 kB / 0.5928 GB, free: 14.29 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.282e-06/0.3467, allocations: 5.438 kB / 0.5928 GB, free: 14.29 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003011/0.347, allocations: 328.8 kB / 0.5931 GB, free: 14.04 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.347, allocations: 0.7031 kB / 0.5931 GB, free: 14.04 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000188/0.3472, allocations: 55.03 kB / 0.5932 GB, free: 14.04 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.959e-06/0.3472, allocations: 1.375 kB / 0.5932 GB, free: 14.04 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.06e-05/0.3472, allocations: 15.06 kB / 0.5932 GB, free: 14.03 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.3472, allocations: 0.7188 kB / 0.5932 GB, free: 14.03 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.3473, allocations: 4.844 kB / 0.5932 GB, free: 14.02 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004383/0.3477, allocations: 316.3 kB / 0.5935 GB, free: 13.87 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001301/0.3478, allocations: 148.9 kB / 0.5937 GB, free: 13.74 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.712e-05/0.3479, allocations: 6.938 kB / 0.5937 GB, free: 13.73 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001588/0.348, allocations: 17.53 kB / 0.5937 GB, free: 13.73 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.912e-05/0.3481, allocations: 25.31 kB / 0.5937 GB, free: 13.73 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.784e-05/0.3482, allocations: 22.78 kB / 0.5937 GB, free: 13.71 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002051/0.3484, allocations: 236.5 kB / 0.594 GB, free: 13.59 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3484, allocations: 0 / 0.594 GB, free: 13.59 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000278/0.3487, allocations: 65.78 kB / 0.594 GB, free: 13.57 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: 2 ($whenCondition1,conTim.tNext) * Number of discrete states: 1 (conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.001382/0.35, allocations: 1.146 MB / 0.5951 GB, free: 12.81 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003519/0.3504, allocations: 233.4 kB / 0.5954 GB, free: 12.74 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.3504, allocations: 2.688 kB / 0.5954 GB, free: 12.74 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001575/0.3506, allocations: 122.4 kB / 0.5955 GB, free: 12.71 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002497/0.3508, allocations: 31.22 kB / 0.5955 GB, free: 12.69 MB / 446.1 MB Warning: Could not resolve URI (uri) at compile-time; copying all loaded packages into the FMU Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00265/0.3535, allocations: 2.501 MB / 0.598 GB, free: 11.06 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002755/0.3538, allocations: 0.7606 MB / 0.5987 GB, free: 10.36 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003138/0.3541, allocations: 143.6 kB / 0.5988 GB, free: 10.32 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001256/0.3542, allocations: 87.86 kB / 0.5989 GB, free: 10.27 MB / 446.1 MB Notification: Performance of SimCode: time 3e-07/0.3542, allocations: 0 / 0.5989 GB, free: 10.27 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 29.45/29.8, allocations: 5.015 MB / 0.6038 GB, free: 8.16 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003164/29.8, allocations: 261.4 kB / 0.6041 GB, free: 7.828 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.716/31.52, allocations: 0 / 0.6041 GB, free: 7.828 MB / 446.1 MB (rm -f IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure.fmu > IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe 2>&1)