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/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8068/0.8068, allocations: 141.8 MB / 149.3 MB, free: 9.227 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009764/0.0009764, allocations: 184.8 kB / 182.2 MB, free: 9.453 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.338/1.338, allocations: 221.5 MB / 436.4 MB, free: 13.33 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.0009232/0.0009231, allocations: 88.11 kB / 0.5074 GB, free: 10.16 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001652/0.001652, allocations: 272.7 kB / 0.5889 GB, free: 54.69 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.734e-05/1.736e-05, allocations: 8 kB / 0.6766 GB, free: 12.74 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3673/0.3673, allocations: 82.78 MB / 0.7575 GB, free: 31.93 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1316/0.499, allocations: 111.6 MB / 0.8665 GB, free: 188 kB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002409/0.4993, allocations: 85 kB / 0.8665 GB, free: 104 kB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.02078/0.5201, allocations: 7.98 MB / 0.8743 GB, free: 8.121 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.162e-06/0.5202, allocations: 0 / 0.8743 GB, free: 8.121 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.477e-05/0.5202, allocations: 7.938 kB / 0.8743 GB, free: 8.113 MB / 0.5417 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.0005327/0.5207, allocations: 490.5 kB / 0.8748 GB, free: 7.59 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.661e-05/0.5208, allocations: 8.031 kB / 0.8748 GB, free: 7.582 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.584e-05/0.5209, allocations: 27.62 kB / 0.8748 GB, free: 7.555 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003641/0.5212, allocations: 271.5 kB / 0.8751 GB, free: 7.246 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.179e-05/0.5213, allocations: 11.89 kB / 0.8751 GB, free: 7.234 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.344e-05/0.5213, allocations: 8 kB / 0.8751 GB, free: 7.227 MB / 0.5417 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008549/0.5222, allocations: 0.7217 MB / 0.8758 GB, free: 6.504 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002759/0.5224, allocations: 196.8 kB / 0.876 GB, free: 6.293 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.5225, allocations: 0 / 0.876 GB, free: 6.293 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.215e-05/0.5225, allocations: 0 / 0.876 GB, free: 6.293 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.095e-06/0.5225, allocations: 4 kB / 0.876 GB, free: 6.289 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007481/0.5232, allocations: 0.5166 MB / 0.8765 GB, free: 5.734 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000296/0.5236, allocations: 216.2 kB / 0.8767 GB, free: 5.516 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001269/0.5237, allocations: 88.83 kB / 0.8768 GB, free: 5.426 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 4.514e-05/0.5237, allocations: 23.97 kB / 0.8768 GB, free: 5.402 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002524/0.524, allocations: 149.3 kB / 0.877 GB, free: 5.242 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=33): time 1.523e-06/0.524, allocations: 0 / 0.877 GB, free: 5.242 MB / 0.5417 GB Notification: Performance of matching and sorting (n=33): time 0.0004475/0.5245, allocations: 263.1 kB / 0.8772 GB, free: 4.98 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.782e-05/0.5245, allocations: 136.5 kB / 0.8774 GB, free: 4.816 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002709/0.5248, allocations: 259.9 kB / 0.8776 GB, free: 4.559 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.687e-05/0.5249, allocations: 25.7 kB / 0.8776 GB, free: 4.527 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 7.784e-05/0.5249, allocations: 120.9 kB / 0.8777 GB, free: 4.402 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 9.394e-05/0.525, allocations: 106.5 kB / 0.8778 GB, free: 4.297 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.136e-05/0.5251, allocations: 0 / 0.8778 GB, free: 4.297 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.000129/0.5252, allocations: 338.8 kB / 0.8782 GB, free: 3.957 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001078/0.5253, allocations: 67.98 kB / 0.8782 GB, free: 3.891 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001398/0.5255, allocations: 119.5 kB / 0.8783 GB, free: 3.762 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001509/0.5256, allocations: 99.94 kB / 0.8784 GB, free: 3.664 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.5256, allocations: 0 / 0.8784 GB, free: 3.664 MB / 0.5417 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003531/0.526, allocations: 245.3 kB / 0.8787 GB, free: 3.418 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.301e-05/0.526, allocations: 7.938 kB / 0.8787 GB, free: 3.41 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-06/0.526, allocations: 0 / 0.8787 GB, free: 3.41 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.036e-05/0.526, allocations: 0 / 0.8787 GB, free: 3.41 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001997/0.5262, allocations: 59.97 kB / 0.8787 GB, free: 3.352 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.258e-06/0.5262, allocations: 0 / 0.8787 GB, free: 3.352 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001411/0.5264, allocations: 31.73 kB / 0.8788 GB, free: 3.32 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.284e-05/0.5264, allocations: 11.94 kB / 0.8788 GB, free: 3.309 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.108e-05/0.5265, allocations: 120.5 kB / 0.8789 GB, free: 3.188 MB / 0.5417 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003686/0.5269, allocations: 265.9 kB / 0.8791 GB, free: 2.922 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.914e-05/0.5269, allocations: 23.72 kB / 0.8792 GB, free: 2.898 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006036/0.5276, allocations: 359.4 kB / 0.8795 GB, free: 2.555 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.5276, allocations: 0 / 0.8795 GB, free: 2.555 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.082e-06/0.5276, allocations: 4 kB / 0.8795 GB, free: 2.551 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.5276, allocations: 0 / 0.8795 GB, free: 2.551 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002867/0.5279, allocations: 305.8 kB / 0.8798 GB, free: 2.215 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.5279, allocations: 7.922 kB / 0.8798 GB, free: 2.207 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000162/0.5281, allocations: 51.92 kB / 0.8799 GB, free: 2.156 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.17e-06/0.5281, allocations: 4 kB / 0.8799 GB, free: 2.152 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.197e-05/0.5281, allocations: 11.98 kB / 0.8799 GB, free: 2.141 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.5281, allocations: 0 / 0.8799 GB, free: 2.141 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.5281, allocations: 0 / 0.8799 GB, free: 2.141 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004104/0.5285, allocations: 302.2 kB / 0.8802 GB, free: 1.828 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001484/0.5287, allocations: 148.7 kB / 0.8803 GB, free: 1.664 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.222e-05/0.5287, allocations: 3.984 kB / 0.8803 GB, free: 1.66 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001491/0.5289, allocations: 15.98 kB / 0.8803 GB, free: 1.645 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.025e-05/0.529, allocations: 23.97 kB / 0.8804 GB, free: 1.621 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.324e-05/0.529, allocations: 12 kB / 0.8804 GB, free: 1.609 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0001912/0.5292, allocations: 212.5 kB / 0.8806 GB, free: 1.402 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5292, allocations: 0 / 0.8806 GB, free: 1.402 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002845/0.5295, allocations: 59.89 kB / 0.8806 GB, free: 1.344 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.001262/0.5307, allocations: 1.085 MB / 0.8817 GB, free: 324 kB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0002985/0.5311, allocations: 199.8 kB / 0.8819 GB, free: 124 kB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.5311, allocations: 0 / 0.8819 GB, free: 124 kB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0001515/0.5312, allocations: 115.8 kB / 0.882 GB, free: 8 kB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002087/0.5314, allocations: 26.89 kB / 0.882 GB, free: 15.98 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007712/0.5322, allocations: 447.9 kB / 0.8824 GB, free: 15.5 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002809/0.5325, allocations: 0.7619 MB / 0.8832 GB, free: 14.71 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0003208/0.5328, allocations: 155.9 kB / 0.8833 GB, free: 14.57 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001329/0.533, allocations: 91.39 kB / 0.8834 GB, free: 14.48 MB / 0.5573 GB Notification: Performance of SimCode: time 2.8e-07/0.533, allocations: 0 / 0.8834 GB, free: 14.48 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2824/0.8154, allocations: 5.041 MB / 0.8883 GB, free: 9.496 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003172/0.8157, allocations: 214.1 kB / 0.8885 GB, free: 9.207 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.851/2.667, allocations: 0 / 0.8885 GB, free: 9.207 MB / 0.5573 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe 2>&1)