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.001259/0.001259, allocations: 105.6 kB / 16.41 MB, free: 6.496 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.001218/0.001217, allocations: 189.6 kB / 17.34 MB, free: 5.766 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.372/1.372, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00235/0.00235, allocations: 293.6 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.267/1.267, allocations: 169.2 MB / 0.499 GB, free: 4.469 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002172/0.002173, allocations: 99.84 kB / 0.6821 GB, free: 7.004 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5965/0.5987, allocations: 86.98 MB / 0.7671 GB, free: 3.957 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure): time 0.003775/0.6025, allocations: 1.657 MB / 0.7687 GB, free: 2.293 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002096/0.6046, allocations: 1.179 MB / 0.7698 GB, free: 1.105 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001172/0.6048, allocations: 0 / 0.7698 GB, free: 1.105 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0002793/0.6051, allocations: 27.78 kB / 0.7699 GB, free: 1.078 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0004367/0.6055, allocations: 63.69 kB / 0.7699 GB, free: 1.016 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006256/0.6062, allocations: 146.4 kB / 0.7701 GB, free: 0.875 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.000361/0.6065, allocations: 253.5 kB / 0.7703 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001302/0.6067, allocations: 12 kB / 0.7703 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001721/0.6069, allocations: 87.81 kB / 0.7704 GB, free: 0.5312 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003024/0.6072, allocations: 99.7 kB / 0.7705 GB, free: 444 kB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 5.683e-05/0.6072, allocations: 20 kB / 0.7705 GB, free: 424 kB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002106/0.6075, allocations: 75.98 kB / 0.7706 GB, free: 348 kB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001304/0.6076, allocations: 95.72 kB / 0.7707 GB, free: 252 kB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.000135/0.6077, allocations: 99.39 kB / 0.7708 GB, free: 152 kB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0004767/0.6082, allocations: 287.1 kB / 0.771 GB, free: 15.87 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 1.747e-05/0.6082, allocations: 0 / 0.771 GB, free: 15.87 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.643e-06/0.6083, allocations: 3.938 kB / 0.771 GB, free: 15.86 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.33e-05/0.6083, allocations: 0 / 0.771 GB, free: 15.86 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.0009828/0.6093, allocations: 0.533 MB / 0.7716 GB, free: 15.28 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.694e-05/0.6093, allocations: 12.03 kB / 0.7716 GB, free: 15.27 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001157/0.6094, allocations: 24.66 kB / 0.7716 GB, free: 15.25 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003805/0.6098, allocations: 272.8 kB / 0.7719 GB, free: 14.94 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.17e-05/0.6099, allocations: 12.31 kB / 0.7719 GB, free: 14.93 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.589e-05/0.6099, allocations: 20.38 kB / 0.7719 GB, free: 14.91 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004403/0.6104, allocations: 217.5 kB / 0.7721 GB, free: 14.68 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/0.6104, allocations: 3.938 kB / 0.7721 GB, free: 14.67 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.869e-05/0.6104, allocations: 12 kB / 0.7721 GB, free: 14.66 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.514e-06/0.6104, allocations: 4 kB / 0.7721 GB, free: 14.66 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000913/0.6113, allocations: 0.741 MB / 0.7728 GB, free: 13.91 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001033/0.6124, allocations: 0.5743 MB / 0.7734 GB, free: 13.29 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003712/0.6128, allocations: 227.5 kB / 0.7736 GB, free: 13.06 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001567/0.6129, allocations: 100.8 kB / 0.7737 GB, free: 12.96 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 4.812e-05/0.613, allocations: 19.97 kB / 0.7737 GB, free: 12.94 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003085/0.6133, allocations: 173.5 kB / 0.7739 GB, free: 12.75 MB / 0.545 GB Notification: Performance of pre-optimization done (n=33): time 1.793e-06/0.6133, allocations: 0 / 0.7739 GB, free: 12.75 MB / 0.545 GB Notification: Performance of matching and sorting (n=33): time 0.000717/0.614, allocations: 368.2 kB / 0.7743 GB, free: 12.39 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.042e-05/0.6141, allocations: 132.5 kB / 0.7744 GB, free: 12.23 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003418/0.6145, allocations: 312.9 kB / 0.7747 GB, free: 11.92 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.416e-05/0.6145, allocations: 29.7 kB / 0.7747 GB, free: 11.89 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 9.53e-05/0.6146, allocations: 128.7 kB / 0.7748 GB, free: 11.76 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001142/0.6147, allocations: 114.4 kB / 0.7749 GB, free: 11.64 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.806e-05/0.6148, allocations: 69.61 kB / 0.775 GB, free: 11.57 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001478/0.615, allocations: 338.8 kB / 0.7753 GB, free: 11.23 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001382/0.6151, allocations: 75.95 kB / 0.7754 GB, free: 11.16 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000176/0.6153, allocations: 123.6 kB / 0.7755 GB, free: 11.02 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003113/0.6156, allocations: 204.7 kB / 0.7757 GB, free: 10.82 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.6157, allocations: 0 / 0.7757 GB, free: 10.82 MB / 0.545 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004518/0.6161, allocations: 277.8 kB / 0.776 GB, free: 10.54 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.775e-05/0.6161, allocations: 4 kB / 0.776 GB, free: 10.54 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.366e-06/0.6162, allocations: 4 kB / 0.776 GB, free: 10.54 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.815e-05/0.6162, allocations: 0 / 0.776 GB, free: 10.54 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002153/0.6164, allocations: 55.95 kB / 0.776 GB, free: 10.48 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.775e-06/0.6164, allocations: 4 kB / 0.776 GB, free: 10.48 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001561/0.6166, allocations: 35.66 kB / 0.7761 GB, free: 10.44 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.482e-05/0.6166, allocations: 12 kB / 0.7761 GB, free: 10.43 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.0001824/0.6168, allocations: 168.2 kB / 0.7762 GB, free: 10.26 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.672e-05/0.6169, allocations: 27.7 kB / 0.7763 GB, free: 10.23 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006498/0.6175, allocations: 372.7 kB / 0.7766 GB, free: 9.859 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-05/0.6175, allocations: 4 kB / 0.7766 GB, free: 9.855 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.221e-06/0.6176, allocations: 0 / 0.7766 GB, free: 9.855 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.474e-06/0.6176, allocations: 7.922 kB / 0.7766 GB, free: 9.848 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003268/0.6179, allocations: 325.2 kB / 0.777 GB, free: 9.48 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.803e-06/0.6179, allocations: 7.984 kB / 0.777 GB, free: 9.473 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001742/0.6181, allocations: 51.92 kB / 0.777 GB, free: 9.422 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.227e-06/0.6181, allocations: 0 / 0.777 GB, free: 9.422 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.335e-05/0.6181, allocations: 15.92 kB / 0.777 GB, free: 9.406 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/0.6182, allocations: 8 kB / 0.777 GB, free: 9.398 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.6182, allocations: 0 / 0.777 GB, free: 9.398 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004705/0.6186, allocations: 322.2 kB / 0.7773 GB, free: 9.062 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001447/0.6188, allocations: 136.7 kB / 0.7775 GB, free: 8.91 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.386e-05/0.6188, allocations: 12 kB / 0.7775 GB, free: 8.898 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000152/0.619, allocations: 15.98 kB / 0.7775 GB, free: 8.883 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.753e-05/0.6191, allocations: 23.91 kB / 0.7775 GB, free: 8.859 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.859e-05/0.6191, allocations: 23.92 kB / 0.7775 GB, free: 8.836 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002195/0.6193, allocations: 236.4 kB / 0.7778 GB, free: 8.609 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.51e-07/0.6193, allocations: 0 / 0.7778 GB, free: 8.609 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003123/0.6197, allocations: 59.98 kB / 0.7778 GB, free: 8.551 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.001007/0.6207, allocations: 406.5 kB / 0.7782 GB, free: 8.297 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004334/0.6211, allocations: 219.8 kB / 0.7784 GB, free: 8.082 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.6211, allocations: 3.938 kB / 0.7784 GB, free: 8.078 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002056/0.6213, allocations: 119.9 kB / 0.7785 GB, free: 7.961 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002936/0.6216, allocations: 42.53 kB / 0.7786 GB, free: 7.914 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009958/0.6227, allocations: 0.5182 MB / 0.7791 GB, free: 7.359 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004506/0.6231, allocations: 0.7695 MB / 0.7798 GB, free: 6.566 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000127/0.6233, allocations: 47.41 kB / 0.7799 GB, free: 6.52 MB / 0.545 GB Notification: Performance of SimCode: time 1.754e-06/0.6233, allocations: 0 / 0.7799 GB, free: 6.52 MB / 0.545 GB Notification: Performance of Templates: time 0.008215/0.6315, allocations: 4.256 MB / 0.784 GB, free: 2.285 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe 2>&1)