Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure,fileNamePrefix="IDEAS_dev_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.005306/0.005306, allocations: 95.92 kB / 15.73 MB, free: 6.039 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.001367/0.001367, allocations: 201.5 kB / 16.68 MB, free: 5.969 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.415/1.415, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9572/0.9572, allocations: 135.6 MB / 426.1 MB, free: 11.97 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001916/0.001916, allocations: 67.89 kB / 0.5858 GB, free: 3.223 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3449/0.3468, allocations: 81.04 MB / 0.6649 GB, free: 6.855 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure): time 0.002302/0.3491, allocations: 1.63 MB / 0.6665 GB, free: 5.582 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001235/0.3504, allocations: 1.16 MB / 0.6676 GB, free: 4.672 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.391e-05/0.3505, allocations: 0 / 0.6676 GB, free: 4.672 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001833/0.3507, allocations: 32.95 kB / 0.6677 GB, free: 4.645 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002314/0.3509, allocations: 63.92 kB / 0.6677 GB, free: 4.598 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003206/0.3512, allocations: 152.3 kB / 0.6679 GB, free: 4.496 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002402/0.3515, allocations: 248.4 kB / 0.6681 GB, free: 4.348 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.261e-05/0.3516, allocations: 18.27 kB / 0.6681 GB, free: 4.336 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.765e-05/0.3517, allocations: 80.91 kB / 0.6682 GB, free: 4.293 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000184/0.3518, allocations: 97.61 kB / 0.6683 GB, free: 4.23 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.837e-05/0.3519, allocations: 16.47 kB / 0.6683 GB, free: 4.23 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001278/0.352, allocations: 75.62 kB / 0.6684 GB, free: 4.207 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.899e-05/0.3521, allocations: 85.02 kB / 0.6685 GB, free: 4.152 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 8.317e-05/0.3522, allocations: 104.2 kB / 0.6686 GB, free: 4.074 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002746/0.3525, allocations: 284.9 kB / 0.6688 GB, free: 3.891 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.3525, allocations: 0 / 0.6688 GB, free: 3.891 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.253e-06/0.3525, allocations: 1.312 kB / 0.6688 GB, free: 3.891 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.721e-06/0.3525, allocations: 4 kB / 0.6688 GB, free: 3.887 MB / 0.4981 GB 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.0005814/0.3531, allocations: 0.5436 MB / 0.6694 GB, free: 3.367 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.056e-05/0.3531, allocations: 13.34 kB / 0.6694 GB, free: 3.363 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.212e-05/0.3532, allocations: 48.45 kB / 0.6694 GB, free: 3.312 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.168e-05/0.3532, allocations: 30.16 kB / 0.6694 GB, free: 3.297 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001946/0.3534, allocations: 262.6 kB / 0.6697 GB, free: 3.027 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.68e-05/0.3535, allocations: 10.41 kB / 0.6697 GB, free: 3.023 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.197e-05/0.3535, allocations: 13.47 kB / 0.6697 GB, free: 3.02 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002972/0.3538, allocations: 220.2 kB / 0.6699 GB, free: 2.859 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.3538, allocations: 0 / 0.6699 GB, free: 2.859 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.179e-05/0.3538, allocations: 6.5 kB / 0.6699 GB, free: 2.855 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.3539, allocations: 2.594 kB / 0.6699 GB, free: 2.855 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000733/0.3546, allocations: 0.7287 MB / 0.6707 GB, free: 2.523 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007467/0.3553, allocations: 0.583 MB / 0.6712 GB, free: 2.02 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003205/0.3557, allocations: 231.8 kB / 0.6714 GB, free: 1.906 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001397/0.3558, allocations: 103.4 kB / 0.6715 GB, free: 1.855 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.182e-05/0.3559, allocations: 15.72 kB / 0.6716 GB, free: 1.848 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002779/0.3562, allocations: 172.9 kB / 0.6717 GB, free: 1.727 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=33): time 1.563e-06/0.3562, allocations: 1.531 kB / 0.6717 GB, free: 1.727 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33): time 0.0006001/0.3568, allocations: 373.2 kB / 0.6721 GB, free: 1.543 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.881e-05/0.3568, allocations: 136.7 kB / 0.6722 GB, free: 1.383 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002305/0.3571, allocations: 299.5 kB / 0.6725 GB, free: 1.199 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.026e-05/0.3571, allocations: 32.27 kB / 0.6725 GB, free: 1.164 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.096e-05/0.3571, allocations: 124.6 kB / 0.6726 GB, free: 1.047 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 6.364e-05/0.3572, allocations: 118 kB / 0.6728 GB, free: 0.9453 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.015e-05/0.3573, allocations: 61.34 kB / 0.6728 GB, free: 0.9062 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.838e-05/0.3574, allocations: 341.5 kB / 0.6731 GB, free: 0.5703 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001269/0.3575, allocations: 87.95 kB / 0.6732 GB, free: 0.5273 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001555/0.3576, allocations: 122.9 kB / 0.6733 GB, free: 460 kB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002808/0.3579, allocations: 204.5 kB / 0.6735 GB, free: 360 kB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.3579, allocations: 5.406 kB / 0.6735 GB, free: 356 kB / 0.4981 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003797/0.3583, allocations: 272.1 kB / 0.6738 GB, free: 216 kB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.208e-05/0.3583, allocations: 5.375 kB / 0.6738 GB, free: 216 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.898e-06/0.3584, allocations: 0 / 0.6738 GB, free: 216 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.352e-05/0.3584, allocations: 2 kB / 0.6738 GB, free: 216 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002035/0.3586, allocations: 61.75 kB / 0.6739 GB, free: 200 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.263e-06/0.3586, allocations: 5.219 kB / 0.6739 GB, free: 196 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001417/0.3587, allocations: 37.08 kB / 0.6739 GB, free: 168 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.319e-05/0.3588, allocations: 15.98 kB / 0.6739 GB, free: 160 kB / 0.4981 GB 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.0001085/0.3589, allocations: 160.5 kB / 0.6741 GB, free: 12 kB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.832e-05/0.3589, allocations: 24.45 kB / 0.6741 GB, free: 0 / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007146/0.3597, allocations: 373.5 kB / 0.6745 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.171e-06/0.3597, allocations: 7.406 kB / 0.6745 GB, free: 15.78 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.3597, allocations: 5.094 kB / 0.6745 GB, free: 15.78 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/0.3597, allocations: 3.938 kB / 0.6745 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003409/0.36, allocations: 335 kB / 0.6748 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.3601, allocations: 0 / 0.6748 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001661/0.3602, allocations: 57 kB / 0.6748 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.3602, allocations: 0 / 0.6748 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.951e-05/0.3603, allocations: 9.031 kB / 0.6749 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.3603, allocations: 1.469 kB / 0.6749 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.3603, allocations: 3.984 kB / 0.6749 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000472/0.3608, allocations: 322.1 kB / 0.6752 GB, free: 15.26 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001363/0.3609, allocations: 147.3 kB / 0.6753 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.137e-05/0.361, allocations: 6.125 kB / 0.6753 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001628/0.3611, allocations: 14.67 kB / 0.6753 GB, free: 15.1 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.674e-05/0.3612, allocations: 24.91 kB / 0.6753 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.341e-05/0.3612, allocations: 20.92 kB / 0.6754 GB, free: 15.08 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.000217/0.3614, allocations: 233 kB / 0.6756 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3615, allocations: 0 / 0.6756 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002891/0.3617, allocations: 58.56 kB / 0.6756 GB, free: 14.92 MB / 0.5137 GB 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.002097/0.3639, allocations: 1.154 MB / 0.6768 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0004025/0.3643, allocations: 219.5 kB / 0.677 GB, free: 14.01 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.3643, allocations: 0 / 0.677 GB, free: 14.01 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001963/0.3645, allocations: 129.5 kB / 0.6771 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000264/0.3648, allocations: 34.03 kB / 0.6771 GB, free: 13.94 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002934/0.3677, allocations: 2.447 MB / 0.6795 GB, free: 12.18 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003781/0.3681, allocations: 0.7574 MB / 0.6803 GB, free: 11.45 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0003281/0.3684, allocations: 147.6 kB / 0.6804 GB, free: 11.37 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001434/0.3686, allocations: 84.97 kB / 0.6805 GB, free: 11.31 MB / 0.5137 GB Notification: Performance of SimCode: time 2.41e-07/0.3686, allocations: 0 / 0.6805 GB, free: 11.31 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02904/0.3976, allocations: 5.494 MB / 0.6859 GB, free: 8.516 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.049/8.446, allocations: 5.375 kB / 0.6859 GB, free: 8.516 MB / 0.5137 GB (rm -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure_res.csv --start-time 0 --stop-time 8.64e+06 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 3456 IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure.fmu > IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe 2>&1)