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.00143/0.00143, allocations: 100.5 kB / 15.05 MB, free: 1.105 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.002087/0.002087, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.919/1.919, allocations: 223.2 MB / 239.9 MB, free: 5.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.194/1.194, allocations: 132.2 MB / 423.2 MB, free: 2.195 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005239/0.0005243, allocations: 12 kB / 0.5033 GB, free: 4.207 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7347/0.7352, allocations: 81.57 MB / 0.583 GB, free: 4.027 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure): time 0.001967/0.7373, allocations: 1.33 MB / 0.5843 GB, free: 3.07 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001667/0.7389, allocations: 1.078 MB / 0.5853 GB, free: 2.305 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.222e-05/0.739, allocations: 1.125 kB / 0.5853 GB, free: 2.305 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002303/0.7393, allocations: 27.25 kB / 0.5853 GB, free: 2.289 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002634/0.7395, allocations: 61.59 kB / 0.5854 GB, free: 2.25 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004123/0.74, allocations: 131.2 kB / 0.5855 GB, free: 2.191 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002594/0.7402, allocations: 142.9 kB / 0.5857 GB, free: 2.125 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001149/0.7404, allocations: 15.44 kB / 0.5857 GB, free: 2.117 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001122/0.7405, allocations: 73.36 kB / 0.5858 GB, free: 2.09 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002027/0.7407, allocations: 61.38 kB / 0.5858 GB, free: 2.066 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 3.087e-05/0.7407, allocations: 8.531 kB / 0.5858 GB, free: 2.066 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001608/0.7409, allocations: 55.75 kB / 0.5859 GB, free: 2.051 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 9.935e-05/0.741, allocations: 70.95 kB / 0.5859 GB, free: 2.023 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 5.529e-05/0.7411, allocations: 58.98 kB / 0.586 GB, free: 1.973 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003269/0.7414, allocations: 194.1 kB / 0.5862 GB, free: 1.926 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.926e-06/0.7414, allocations: 1.031 kB / 0.5862 GB, free: 1.926 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.472e-06/0.7414, allocations: 0 / 0.5862 GB, free: 1.926 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.881e-06/0.7414, allocations: 0 / 0.5862 GB, free: 1.926 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.0007276/0.7422, allocations: 0.4893 MB / 0.5867 GB, free: 1.469 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.003e-05/0.7422, allocations: 9.469 kB / 0.5867 GB, free: 1.469 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.24e-05/0.7423, allocations: 52.3 kB / 0.5867 GB, free: 1.418 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.056e-05/0.7424, allocations: 29.02 kB / 0.5867 GB, free: 1.402 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003174/0.7427, allocations: 255.3 kB / 0.587 GB, free: 1.16 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.693e-05/0.7427, allocations: 18.16 kB / 0.587 GB, free: 1.148 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.037e-05/0.7428, allocations: 15 kB / 0.587 GB, free: 1.145 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003877/0.7432, allocations: 203.7 kB / 0.5872 GB, free: 1.035 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.7432, allocations: 0 / 0.5872 GB, free: 1.035 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.556e-05/0.7432, allocations: 6.75 kB / 0.5872 GB, free: 1.031 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.328e-05/0.7432, allocations: 4.5 kB / 0.5872 GB, free: 1.031 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001197/0.7444, allocations: 0.7366 MB / 0.5879 GB, free: 0.9375 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001123/0.7456, allocations: 0.575 MB / 0.5885 GB, free: 0.543 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000425/0.746, allocations: 224.6 kB / 0.5887 GB, free: 472 kB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.935e-05/0.7461, allocations: 17.11 kB / 0.5887 GB, free: 468 kB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003668/0.7465, allocations: 171.6 kB / 0.5889 GB, free: 376 kB / 430.1 MB Notification: Performance of pre-optimization done (n=33): time 1.683e-06/0.7465, allocations: 0 / 0.5889 GB, free: 376 kB / 430.1 MB Notification: Performance of matching and sorting (n=33): time 0.0007649/0.7472, allocations: 370.1 kB / 0.5893 GB, free: 228 kB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.655e-05/0.7473, allocations: 133.5 kB / 0.5894 GB, free: 68 kB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004313/0.7478, allocations: 304.7 kB / 0.5897 GB, free: 15.9 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.102e-05/0.7478, allocations: 40.03 kB / 0.5897 GB, free: 15.86 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001009/0.7479, allocations: 118.5 kB / 0.5898 GB, free: 15.75 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001224/0.7481, allocations: 118.4 kB / 0.5899 GB, free: 15.66 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.53e-05/0.7481, allocations: 4.781 kB / 0.5899 GB, free: 15.65 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001527/0.7482, allocations: 333.6 kB / 0.5903 GB, free: 15.33 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001833/0.7484, allocations: 79.06 kB / 0.5903 GB, free: 15.31 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002229/0.7487, allocations: 121 kB / 0.5905 GB, free: 15.25 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002311/0.7489, allocations: 102.7 kB / 0.5905 GB, free: 15.21 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.7489, allocations: 5.094 kB / 0.5906 GB, free: 15.2 MB / 446.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005478/0.7495, allocations: 279 kB / 0.5908 GB, free: 15.08 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.175e-05/0.7495, allocations: 8.172 kB / 0.5908 GB, free: 15.08 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.7495, allocations: 0 / 0.5908 GB, free: 15.08 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.494e-05/0.7495, allocations: 1.281 kB / 0.5908 GB, free: 15.08 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002514/0.7498, allocations: 58.92 kB / 0.5909 GB, free: 15.08 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.337e-05/0.7498, allocations: 5.344 kB / 0.5909 GB, free: 15.07 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001675/0.75, allocations: 34.38 kB / 0.5909 GB, free: 15.05 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.017e-05/0.75, allocations: 9.438 kB / 0.5909 GB, free: 15.05 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 ($whenCondition1,$PRE.conTim.tNext,conTim.tNext) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001954/0.7502, allocations: 166.8 kB / 0.5911 GB, free: 14.91 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.816e-05/0.7503, allocations: 23.91 kB / 0.5911 GB, free: 14.9 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008042/0.7511, allocations: 371.1 kB / 0.5915 GB, free: 14.75 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.635e-06/0.7511, allocations: 4.531 kB / 0.5915 GB, free: 14.75 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.7511, allocations: 0 / 0.5915 GB, free: 14.75 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.717e-06/0.7511, allocations: 5.5 kB / 0.5915 GB, free: 14.74 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000391/0.7515, allocations: 325 kB / 0.5918 GB, free: 14.49 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.7515, allocations: 8 kB / 0.5918 GB, free: 14.48 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001941/0.7517, allocations: 55.91 kB / 0.5918 GB, free: 14.48 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.388e-06/0.7518, allocations: 1.281 kB / 0.5918 GB, free: 14.48 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.531e-05/0.7518, allocations: 10.58 kB / 0.5919 GB, free: 14.48 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.7518, allocations: 0.9062 kB / 0.5919 GB, free: 14.48 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.7518, allocations: 1.281 kB / 0.5919 GB, free: 14.48 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005393/0.7523, allocations: 325.6 kB / 0.5922 GB, free: 14.31 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001807/0.7525, allocations: 145.2 kB / 0.5923 GB, free: 14.18 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.802e-05/0.7526, allocations: 10.78 kB / 0.5923 GB, free: 14.18 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001852/0.7528, allocations: 18.72 kB / 0.5923 GB, free: 14.17 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.356e-05/0.7529, allocations: 24.62 kB / 0.5924 GB, free: 14.17 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.652e-05/0.7529, allocations: 11.42 kB / 0.5924 GB, free: 14.17 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003034/0.7532, allocations: 234 kB / 0.5926 GB, free: 14.04 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.8e-07/0.7532, allocations: 0 / 0.5926 GB, free: 14.04 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003655/0.7536, allocations: 62 kB / 0.5927 GB, free: 14.03 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001726/0.7554, allocations: 1.141 MB / 0.5938 GB, free: 13.27 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004617/0.7558, allocations: 218.9 kB / 0.594 GB, free: 13.21 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.7558, allocations: 0 / 0.594 GB, free: 13.21 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002064/0.7561, allocations: 126.8 kB / 0.5941 GB, free: 13.17 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002389/0.7563, allocations: 27.34 kB / 0.5941 GB, free: 13.16 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.002422/0.7587, allocations: 1.442 MB / 0.5955 GB, free: 12.42 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003327/0.7591, allocations: 0.7645 MB / 0.5963 GB, free: 11.71 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003654/0.7595, allocations: 154.5 kB / 0.5964 GB, free: 11.66 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001452/0.7596, allocations: 88.09 kB / 0.5965 GB, free: 11.61 MB / 446.1 MB Notification: Performance of SimCode: time 4.91e-07/0.7596, allocations: 0 / 0.5965 GB, free: 11.61 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6267/1.386, allocations: 5.364 MB / 0.6017 GB, free: 9.453 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002963/1.387, allocations: 240.9 kB / 0.602 GB, free: 9.215 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.426/3.813, allocations: 0 / 0.602 GB, free: 9.215 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/linux/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) Environment - environmentSimulation: