Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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: translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001489/0.001489, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002216/0.002216, allocations: 194.5 kB / 16.53 MB, free: 6.391 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.509/1.509, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.863/2.863, allocations: 472.6 MB / 0.7451 GB, free: 4.621 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00141/0.00141, allocations: 62.52 kB / 0.912 GB, free: 33.41 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3033/0.3048, allocations: 159.9 MB / 1.068 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure): time 0.003514/0.3083, allocations: 1.653 MB / 1.07 GB, free: 8.762 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001795/0.3101, allocations: 1.179 MB / 1.071 GB, free: 7.574 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001339/0.3103, allocations: 0 / 1.071 GB, free: 7.574 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0002863/0.3106, allocations: 31.84 kB / 1.071 GB, free: 7.543 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0004598/0.3111, allocations: 63.62 kB / 1.071 GB, free: 7.48 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006326/0.3117, allocations: 143.1 kB / 1.071 GB, free: 7.344 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0004193/0.3122, allocations: 241.5 kB / 1.071 GB, free: 7.105 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001572/0.3123, allocations: 31.97 kB / 1.071 GB, free: 7.074 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001748/0.3125, allocations: 79.83 kB / 1.072 GB, free: 6.996 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002768/0.3128, allocations: 95.7 kB / 1.072 GB, free: 6.902 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 5.285e-05/0.3129, allocations: 20 kB / 1.072 GB, free: 6.883 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001839/0.3131, allocations: 71.98 kB / 1.072 GB, free: 6.812 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001097/0.3132, allocations: 83.8 kB / 1.072 GB, free: 6.73 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001209/0.3133, allocations: 115.3 kB / 1.072 GB, free: 6.617 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003712/0.3137, allocations: 283.4 kB / 1.072 GB, free: 6.34 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.3137, allocations: 0 / 1.072 GB, free: 6.34 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.343e-06/0.3137, allocations: 3.938 kB / 1.072 GB, free: 6.336 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.314e-06/0.3137, allocations: 0 / 1.072 GB, free: 6.336 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.0008047/0.3145, allocations: 0.5383 MB / 1.073 GB, free: 5.75 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.927e-05/0.3146, allocations: 8.031 kB / 1.073 GB, free: 5.742 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.371e-05/0.3147, allocations: 24.66 kB / 1.073 GB, free: 5.719 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002889/0.315, allocations: 268.8 kB / 1.073 GB, free: 5.414 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.803e-05/0.315, allocations: 12.38 kB / 1.073 GB, free: 5.402 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.424e-05/0.315, allocations: 20.38 kB / 1.073 GB, free: 5.383 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003715/0.3154, allocations: 218.7 kB / 1.073 GB, free: 5.152 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.927e-06/0.3154, allocations: 0 / 1.073 GB, free: 5.152 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.656e-05/0.3155, allocations: 12 kB / 1.073 GB, free: 5.141 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.777e-06/0.3155, allocations: 4 kB / 1.073 GB, free: 5.137 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000814/0.3163, allocations: 0.7334 MB / 1.074 GB, free: 4.402 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009074/0.3172, allocations: 0.5781 MB / 1.074 GB, free: 3.773 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003554/0.3176, allocations: 224.5 kB / 1.075 GB, free: 3.547 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001517/0.3177, allocations: 108.8 kB / 1.075 GB, free: 3.438 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 4.246e-05/0.3178, allocations: 19.97 kB / 1.075 GB, free: 3.418 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002925/0.3181, allocations: 177.5 kB / 1.075 GB, free: 3.23 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=33): time 1.853e-06/0.3181, allocations: 0 / 1.075 GB, free: 3.23 MB / 0.8262 GB Notification: Performance of matching and sorting (n=33): time 0.0006567/0.3188, allocations: 370.8 kB / 1.075 GB, free: 2.863 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.359e-05/0.3188, allocations: 132.5 kB / 1.075 GB, free: 2.703 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003004/0.3191, allocations: 308.9 kB / 1.076 GB, free: 2.391 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.818e-05/0.3192, allocations: 29.7 kB / 1.076 GB, free: 2.355 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.93e-05/0.3193, allocations: 124.7 kB / 1.076 GB, free: 2.23 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001031/0.3194, allocations: 118.4 kB / 1.076 GB, free: 2.113 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.092e-05/0.3195, allocations: 61.69 kB / 1.076 GB, free: 2.047 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001199/0.3196, allocations: 338.8 kB / 1.076 GB, free: 1.707 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001432/0.3198, allocations: 79.95 kB / 1.076 GB, free: 1.629 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001727/0.3199, allocations: 120.4 kB / 1.077 GB, free: 1.5 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003098/0.3202, allocations: 204.7 kB / 1.077 GB, free: 1.297 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.3203, allocations: 4 kB / 1.077 GB, free: 1.293 MB / 0.8262 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004302/0.3207, allocations: 277.8 kB / 1.077 GB, free: 1.016 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.498e-05/0.3207, allocations: 4 kB / 1.077 GB, free: 1.012 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.3207, allocations: 8 kB / 1.077 GB, free: 1.004 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/0.3208, allocations: 0 / 1.077 GB, free: 1.004 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002062/0.321, allocations: 63.84 kB / 1.077 GB, free: 0.9414 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.214e-06/0.321, allocations: 0 / 1.077 GB, free: 0.9414 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001551/0.3211, allocations: 37.5 kB / 1.077 GB, free: 0.9062 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.231e-05/0.3212, allocations: 8 kB / 1.077 GB, free: 0.8984 MB / 0.8262 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.0001656/0.3213, allocations: 165.8 kB / 1.077 GB, free: 0.7266 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.353e-05/0.3214, allocations: 31.64 kB / 1.077 GB, free: 0.6953 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006349/0.322, allocations: 368.8 kB / 1.078 GB, free: 336 kB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.381e-06/0.3221, allocations: 4 kB / 1.078 GB, free: 332 kB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.414e-05/0.3221, allocations: 0 / 1.078 GB, free: 332 kB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.492e-06/0.3221, allocations: 11.86 kB / 1.078 GB, free: 320 kB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003143/0.3224, allocations: 329.3 kB / 1.078 GB, free: 15.94 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.3224, allocations: 4 kB / 1.078 GB, free: 15.94 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001582/0.3226, allocations: 47.98 kB / 1.078 GB, free: 15.89 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.3226, allocations: 0 / 1.078 GB, free: 15.89 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.194e-05/0.3226, allocations: 15.98 kB / 1.078 GB, free: 15.88 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.3226, allocations: 4 kB / 1.078 GB, free: 15.87 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.277e-06/0.3226, allocations: 3.938 kB / 1.078 GB, free: 15.87 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004534/0.3231, allocations: 318.2 kB / 1.078 GB, free: 15.54 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001271/0.3232, allocations: 140.7 kB / 1.079 GB, free: 15.38 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.088e-05/0.3233, allocations: 8 kB / 1.079 GB, free: 15.38 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001635/0.3235, allocations: 19.98 kB / 1.079 GB, free: 15.36 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.73e-05/0.3235, allocations: 23.91 kB / 1.079 GB, free: 15.33 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.233e-05/0.3236, allocations: 19.98 kB / 1.079 GB, free: 15.31 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001962/0.3238, allocations: 232.5 kB / 1.079 GB, free: 15.08 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.4e-07/0.3238, allocations: 0 / 1.079 GB, free: 15.08 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002954/0.3241, allocations: 63.92 kB / 1.079 GB, free: 15.02 MB / 0.8419 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.0008985/0.325, allocations: 418.9 kB / 1.079 GB, free: 14.75 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0005025/0.3255, allocations: 299.9 kB / 1.08 GB, free: 14.46 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.3255, allocations: 0 / 1.08 GB, free: 14.46 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.000183/0.3257, allocations: 123.8 kB / 1.08 GB, free: 14.34 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002672/0.326, allocations: 33.59 kB / 1.08 GB, free: 14.3 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008091/0.3268, allocations: 0.4974 MB / 1.08 GB, free: 13.78 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003224/0.3271, allocations: 0.7579 MB / 1.081 GB, free: 13 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0003178/0.3275, allocations: 146.8 kB / 1.081 GB, free: 12.85 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.836e-05/0.3275, allocations: 39.42 kB / 1.081 GB, free: 12.81 MB / 0.8419 GB Notification: Performance of SimCode: time 4.51e-07/0.3276, allocations: 0 / 1.081 GB, free: 12.81 MB / 0.8419 GB Notification: Performance of Templates: time 0.007446/0.335, allocations: 3.028 MB / 1.084 GB, free: 9.809 MB / 0.8419 GB make -j1 -f Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.makefile (rm -f Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe ; mkfifo Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe ; head -c 1048576 < Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe >> ../files/Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.sim & ./Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe 2>&1)