Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure") translateModel(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001795/0.001795, allocations: 110.4 kB / 16.41 MB, free: 6.516 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.002033/0.002033, allocations: 185.2 kB / 17.34 MB, free: 5.738 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.48/1.48, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002517/0.002517, allocations: 282.8 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.016/1.016, allocations: 169.3 MB / 0.499 GB, free: 4.426 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002742/0.002742, allocations: 91.84 kB / 0.6821 GB, free: 6.949 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6376/0.6403, allocations: 86.99 MB / 0.7671 GB, free: 3.898 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure): time 0.003383/0.6437, allocations: 1.649 MB / 0.7687 GB, free: 2.242 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001912/0.6456, allocations: 1.179 MB / 0.7698 GB, free: 1.055 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.901e-05/0.6457, allocations: 4 kB / 0.7698 GB, free: 1.051 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.000229/0.6459, allocations: 27.84 kB / 0.7699 GB, free: 1.023 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0003477/0.6463, allocations: 71.61 kB / 0.7699 GB, free: 0.9531 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003998/0.6467, allocations: 142.2 kB / 0.7701 GB, free: 0.8164 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0003245/0.647, allocations: 249.5 kB / 0.7703 GB, free: 0.5742 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001091/0.6471, allocations: 19.64 kB / 0.7703 GB, free: 0.5586 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001139/0.6472, allocations: 79.83 kB / 0.7704 GB, free: 492 kB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002394/0.6475, allocations: 99.7 kB / 0.7705 GB, free: 392 kB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.911e-05/0.6475, allocations: 16 kB / 0.7705 GB, free: 376 kB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001554/0.6476, allocations: 83.95 kB / 0.7706 GB, free: 292 kB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001229/0.6478, allocations: 87.75 kB / 0.7707 GB, free: 204 kB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001212/0.6479, allocations: 107.4 kB / 0.7708 GB, free: 96 kB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0004495/0.6483, allocations: 296.7 kB / 0.7711 GB, free: 15.81 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.127e-06/0.6483, allocations: 0 / 0.7711 GB, free: 15.81 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.254e-06/0.6483, allocations: 0 / 0.7711 GB, free: 15.81 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.194e-06/0.6484, allocations: 0 / 0.7711 GB, free: 15.81 MB / 0.545 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.0009077/0.6493, allocations: 0.5494 MB / 0.7716 GB, free: 15.21 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.765e-05/0.6493, allocations: 8.031 kB / 0.7716 GB, free: 15.2 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.721e-05/0.6494, allocations: 32.75 kB / 0.7716 GB, free: 15.17 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003688/0.6498, allocations: 269 kB / 0.7719 GB, free: 14.86 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.699e-05/0.6498, allocations: 8.375 kB / 0.7719 GB, free: 14.86 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.794e-05/0.6498, allocations: 16.38 kB / 0.7719 GB, free: 14.84 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003953/0.6502, allocations: 233.4 kB / 0.7721 GB, free: 14.59 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.6502, allocations: 0 / 0.7721 GB, free: 14.59 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.751e-05/0.6502, allocations: 8 kB / 0.7721 GB, free: 14.59 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.626e-06/0.6503, allocations: 4 kB / 0.7721 GB, free: 14.58 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009309/0.6512, allocations: 0.7332 MB / 0.7729 GB, free: 13.85 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001021/0.6522, allocations: 0.5783 MB / 0.7734 GB, free: 13.22 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003826/0.6526, allocations: 211.5 kB / 0.7736 GB, free: 13 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001596/0.6527, allocations: 96.8 kB / 0.7737 GB, free: 12.91 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 4.896e-05/0.6528, allocations: 19.97 kB / 0.7737 GB, free: 12.89 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003542/0.6532, allocations: 177.4 kB / 0.7739 GB, free: 12.7 MB / 0.545 GB Notification: Performance of pre-optimization done (n=33): time 1.653e-06/0.6532, allocations: 0 / 0.7739 GB, free: 12.7 MB / 0.545 GB Notification: Performance of matching and sorting (n=33): time 0.0007344/0.6539, allocations: 356.4 kB / 0.7743 GB, free: 12.35 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001056/0.654, allocations: 140.5 kB / 0.7744 GB, free: 12.18 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003439/0.6543, allocations: 308.9 kB / 0.7747 GB, free: 11.88 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.437e-05/0.6544, allocations: 29.7 kB / 0.7747 GB, free: 11.84 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 9.908e-05/0.6545, allocations: 136.7 kB / 0.7748 GB, free: 11.7 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001118/0.6546, allocations: 111 kB / 0.7749 GB, free: 11.59 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001022/0.6547, allocations: 65.69 kB / 0.775 GB, free: 11.52 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001784/0.6549, allocations: 338.8 kB / 0.7753 GB, free: 11.18 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000142/0.655, allocations: 75.95 kB / 0.7754 GB, free: 11.11 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002104/0.6552, allocations: 135.5 kB / 0.7755 GB, free: 10.96 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003319/0.6555, allocations: 204.7 kB / 0.7757 GB, free: 10.76 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.6555, allocations: 0 / 0.7757 GB, free: 10.76 MB / 0.545 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004695/0.656, allocations: 269.9 kB / 0.776 GB, free: 10.49 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.816e-05/0.656, allocations: 8 kB / 0.776 GB, free: 10.48 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.656, allocations: 0 / 0.776 GB, free: 10.48 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.752e-05/0.6561, allocations: 0 / 0.776 GB, free: 10.48 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002341/0.6563, allocations: 59.91 kB / 0.776 GB, free: 10.43 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.6563, allocations: 0 / 0.776 GB, free: 10.43 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001584/0.6565, allocations: 35.77 kB / 0.7761 GB, free: 10.39 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.845e-05/0.6565, allocations: 15.98 kB / 0.7761 GB, free: 10.38 MB / 0.545 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.0001869/0.6567, allocations: 164.1 kB / 0.7763 GB, free: 10.21 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.419e-05/0.6567, allocations: 23.86 kB / 0.7763 GB, free: 10.18 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007323/0.6575, allocations: 376.7 kB / 0.7766 GB, free: 9.809 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.6575, allocations: 4 kB / 0.7766 GB, free: 9.805 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.6575, allocations: 0 / 0.7766 GB, free: 9.805 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.614e-06/0.6575, allocations: 7.938 kB / 0.7766 GB, free: 9.797 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003664/0.6578, allocations: 337.3 kB / 0.777 GB, free: 9.418 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.6578, allocations: 0 / 0.777 GB, free: 9.418 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001743/0.658, allocations: 55.91 kB / 0.777 GB, free: 9.363 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.466e-06/0.658, allocations: 8 kB / 0.777 GB, free: 9.355 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.968e-05/0.658, allocations: 8 kB / 0.777 GB, free: 9.348 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.658, allocations: 0 / 0.777 GB, free: 9.348 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.6581, allocations: 3.984 kB / 0.777 GB, free: 9.344 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004952/0.6585, allocations: 318.4 kB / 0.7773 GB, free: 9.012 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001746/0.6587, allocations: 152.7 kB / 0.7775 GB, free: 8.844 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.651e-05/0.6588, allocations: 7.938 kB / 0.7775 GB, free: 8.836 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001568/0.6589, allocations: 19.98 kB / 0.7775 GB, free: 8.816 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.281e-05/0.659, allocations: 31.89 kB / 0.7775 GB, free: 8.785 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.823e-05/0.659, allocations: 12 kB / 0.7776 GB, free: 8.773 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002317/0.6592, allocations: 232.4 kB / 0.7778 GB, free: 8.551 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.6592, allocations: 0 / 0.7778 GB, free: 8.551 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000298/0.6595, allocations: 60 kB / 0.7778 GB, free: 8.492 MB / 0.545 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.001395/0.6609, allocations: 395.1 kB / 0.7782 GB, free: 8.246 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004449/0.6614, allocations: 215.8 kB / 0.7784 GB, free: 8.035 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.6614, allocations: 4 kB / 0.7784 GB, free: 8.031 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002003/0.6616, allocations: 119.8 kB / 0.7785 GB, free: 7.914 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003029/0.6619, allocations: 38.81 kB / 0.7786 GB, free: 7.871 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009581/0.6629, allocations: 0.4971 MB / 0.7791 GB, free: 7.344 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004636/0.6633, allocations: 0.754 MB / 0.7798 GB, free: 6.566 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0003424/0.6637, allocations: 146.9 kB / 0.7799 GB, free: 6.426 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.346e-05/0.6638, allocations: 55.23 kB / 0.78 GB, free: 6.371 MB / 0.545 GB Notification: Performance of SimCode: time 4.91e-07/0.6638, allocations: 0 / 0.78 GB, free: 6.371 MB / 0.545 GB Notification: Performance of Templates: time 0.007831/0.6716, allocations: 3.092 MB / 0.783 GB, free: 3.332 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.makefile (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe 2>&1)