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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.00103/0.00103, allocations: 180.9 kB / 7.651 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7491/0.7491, allocations: 133.6 MB / 141.6 MB, free: 2.859 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.64/1.64, allocations: 221.5 MB / 395.4 MB, free: 10.8 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009427/0.0009425, allocations: 104 kB / 478.2 MB, free: 1.305 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.888e-05/2.882e-05, allocations: 11.98 kB / 0.5536 GB, free: 8.941 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4587/0.4588, allocations: 82.3 MB / 0.6339 GB, free: 40.79 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1432/0.602, allocations: 114.3 MB / 0.7455 GB, free: 8.398 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003338/0.6024, allocations: 83.94 kB / 0.7456 GB, free: 8.316 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.02138/0.6238, allocations: 7.983 MB / 0.7534 GB, free: 340 kB / 0.5261 GB Notification: Performance of FrontEnd: time 1.363e-06/0.6239, allocations: 0 / 0.7534 GB, free: 340 kB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.522e-05/0.6239, allocations: 8 kB / 0.7534 GB, free: 332 kB / 0.5261 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.0006373/0.6245, allocations: 490.4 kB / 0.7539 GB, free: 15.8 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.494e-05/0.6246, allocations: 8.031 kB / 0.7539 GB, free: 15.79 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.014e-05/0.6247, allocations: 23.72 kB / 0.7539 GB, free: 15.77 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003532/0.625, allocations: 283.4 kB / 0.7542 GB, free: 15.45 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.606e-05/0.6251, allocations: 4 kB / 0.7542 GB, free: 15.45 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.838e-05/0.6251, allocations: 8 kB / 0.7542 GB, free: 15.44 MB / 0.5417 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007951/0.6259, allocations: 0.7178 MB / 0.7549 GB, free: 14.72 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002637/0.6262, allocations: 192.9 kB / 0.7551 GB, free: 14.51 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.676e-06/0.6262, allocations: 0 / 0.7551 GB, free: 14.51 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.17e-05/0.6262, allocations: 0 / 0.7551 GB, free: 14.51 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.384e-06/0.6262, allocations: 4 kB / 0.7551 GB, free: 14.51 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007637/0.627, allocations: 0.532 MB / 0.7556 GB, free: 13.94 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003003/0.6273, allocations: 207.3 kB / 0.7558 GB, free: 13.72 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001268/0.6274, allocations: 80.84 kB / 0.7559 GB, free: 13.64 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 4.52e-05/0.6275, allocations: 27.95 kB / 0.7559 GB, free: 13.61 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002764/0.6278, allocations: 153.2 kB / 0.756 GB, free: 13.45 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=33): time 1.502e-06/0.6278, allocations: 7.938 kB / 0.7561 GB, free: 13.44 MB / 0.5417 GB Notification: Performance of matching and sorting (n=33): time 0.0004588/0.6283, allocations: 263.2 kB / 0.7563 GB, free: 13.18 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.061e-05/0.6283, allocations: 132.5 kB / 0.7564 GB, free: 13.02 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002843/0.6286, allocations: 255.9 kB / 0.7567 GB, free: 12.76 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.639e-05/0.6287, allocations: 25.7 kB / 0.7567 GB, free: 12.73 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 7.28e-05/0.6287, allocations: 124.8 kB / 0.7568 GB, free: 12.61 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 8.597e-05/0.6288, allocations: 106.5 kB / 0.7569 GB, free: 12.5 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.002e-05/0.6289, allocations: 0 / 0.7569 GB, free: 12.5 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001236/0.629, allocations: 338.8 kB / 0.7572 GB, free: 12.16 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001064/0.6291, allocations: 71.98 kB / 0.7573 GB, free: 12.09 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001494/0.6293, allocations: 115.3 kB / 0.7574 GB, free: 11.96 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001504/0.6294, allocations: 99.86 kB / 0.7575 GB, free: 11.87 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.6294, allocations: 0 / 0.7575 GB, free: 11.87 MB / 0.5417 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003646/0.6298, allocations: 250 kB / 0.7578 GB, free: 11.62 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.368e-05/0.6298, allocations: 4 kB / 0.7578 GB, free: 11.61 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.6298, allocations: 3.938 kB / 0.7578 GB, free: 11.61 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.92e-05/0.6299, allocations: 8.031 kB / 0.7578 GB, free: 11.6 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002055/0.6301, allocations: 63.91 kB / 0.7578 GB, free: 11.54 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.228e-06/0.6301, allocations: 0 / 0.7578 GB, free: 11.54 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001325/0.6302, allocations: 23.83 kB / 0.7579 GB, free: 11.52 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.348e-05/0.6303, allocations: 12 kB / 0.7579 GB, free: 11.5 MB / 0.5417 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 ($whenCondition1,$PRE.conTim.tNext,conTim.tNext) * Number of discrete 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 9.543e-05/0.6304, allocations: 112.9 kB / 0.758 GB, free: 11.39 MB / 0.5417 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003765/0.6307, allocations: 253.2 kB / 0.7582 GB, free: 11.13 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.161e-05/0.6308, allocations: 27.62 kB / 0.7582 GB, free: 11.11 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005924/0.6314, allocations: 365.6 kB / 0.7586 GB, free: 10.74 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.6314, allocations: 4 kB / 0.7586 GB, free: 10.74 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.6314, allocations: 0 / 0.7586 GB, free: 10.74 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.6314, allocations: 3.953 kB / 0.7586 GB, free: 10.73 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002932/0.6317, allocations: 293.8 kB / 0.7589 GB, free: 10.41 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.706e-06/0.6317, allocations: 3.984 kB / 0.7589 GB, free: 10.41 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001599/0.6319, allocations: 51.92 kB / 0.7589 GB, free: 10.36 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.639e-06/0.6319, allocations: 4 kB / 0.7589 GB, free: 10.35 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.036e-05/0.6319, allocations: 15.98 kB / 0.7589 GB, free: 10.34 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.694e-06/0.6319, allocations: 0 / 0.7589 GB, free: 10.34 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.6319, allocations: 0 / 0.7589 GB, free: 10.34 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003783/0.6323, allocations: 294 kB / 0.7592 GB, free: 10.03 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001497/0.6325, allocations: 160.6 kB / 0.7594 GB, free: 9.852 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.245e-05/0.6325, allocations: 11.98 kB / 0.7594 GB, free: 9.84 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001435/0.6327, allocations: 12 kB / 0.7594 GB, free: 9.828 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.226e-05/0.6327, allocations: 23.95 kB / 0.7594 GB, free: 9.805 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.291e-05/0.6328, allocations: 12 kB / 0.7594 GB, free: 9.793 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0001703/0.633, allocations: 208.5 kB / 0.7596 GB, free: 9.594 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.6e-07/0.633, allocations: 3.938 kB / 0.7596 GB, free: 9.59 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002849/0.6333, allocations: 59.98 kB / 0.7597 GB, free: 9.531 MB / 0.5417 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) * 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.001357/0.6346, allocations: 1.07 MB / 0.7607 GB, free: 8.516 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0003145/0.6349, allocations: 208.3 kB / 0.7609 GB, free: 8.312 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.635, allocations: 0 / 0.7609 GB, free: 8.312 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0001474/0.6351, allocations: 107.9 kB / 0.761 GB, free: 8.207 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002069/0.6353, allocations: 25.27 kB / 0.7611 GB, free: 8.18 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008453/0.6362, allocations: 461.7 kB / 0.7615 GB, free: 7.695 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003474/0.6365, allocations: 0.7575 MB / 0.7623 GB, free: 6.91 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0003251/0.6369, allocations: 155.1 kB / 0.7624 GB, free: 6.758 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001487/0.637, allocations: 91.39 kB / 0.7625 GB, free: 6.668 MB / 0.5417 GB Notification: Performance of SimCode: time 2.9e-07/0.637, allocations: 4 kB / 0.7625 GB, free: 6.664 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3539/0.9909, allocations: 5.002 MB / 0.7674 GB, free: 1.699 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002201/0.9912, allocations: 197 kB / 0.7676 GB, free: 1.5 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.851/2.842, allocations: 5.625 kB / 0.7676 GB, free: 1.496 MB / 0.5417 GB (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)