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: "" <> 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005541/0.005541, allocations: 102.3 kB / 15.73 MB, free: 6.012 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.001207/0.001207, allocations: 195.2 kB / 16.67 MB, free: 5.949 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.352/1.352, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002242/0.002243, allocations: 282.7 kB / 290.8 MB, free: 1.922 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9453/0.9453, allocations: 169.3 MB / 0.4983 GB, free: 13.82 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001865/0.001865, allocations: 102.3 kB / 0.681 GB, free: 15.96 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1773/0.1792, allocations: 86.98 MB / 0.7659 GB, free: 8.91 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure): time 0.004883/0.1841, allocations: 1.645 MB / 0.7675 GB, free: 7.254 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003156/0.1873, allocations: 1.18 MB / 0.7687 GB, free: 6.066 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001269/0.1875, allocations: 4 kB / 0.7687 GB, free: 6.062 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0003397/0.1879, allocations: 23.84 kB / 0.7687 GB, free: 6.039 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0004787/0.1884, allocations: 67.62 kB / 0.7688 GB, free: 5.973 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007497/0.1892, allocations: 158.4 kB / 0.7689 GB, free: 5.82 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0005039/0.1897, allocations: 249.5 kB / 0.7692 GB, free: 5.578 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001527/0.1899, allocations: 19.98 kB / 0.7692 GB, free: 5.559 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001881/0.1901, allocations: 79.83 kB / 0.7693 GB, free: 5.48 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000373/0.1905, allocations: 91.77 kB / 0.7693 GB, free: 5.391 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 6.821e-05/0.1906, allocations: 23.94 kB / 0.7694 GB, free: 5.367 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002566/0.1908, allocations: 75.97 kB / 0.7694 GB, free: 5.293 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001463/0.191, allocations: 79.75 kB / 0.7695 GB, free: 5.215 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001901/0.1912, allocations: 107.4 kB / 0.7696 GB, free: 5.109 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.000538/0.1918, allocations: 291 kB / 0.7699 GB, free: 4.824 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.1918, allocations: 4 kB / 0.7699 GB, free: 4.82 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.974e-06/0.1918, allocations: 0 / 0.7699 GB, free: 4.82 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.238e-05/0.1918, allocations: 0 / 0.7699 GB, free: 4.82 MB / 0.5606 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.001179/0.193, allocations: 0.5421 MB / 0.7704 GB, free: 4.227 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.775e-05/0.1931, allocations: 12.03 kB / 0.7704 GB, free: 4.215 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.088e-05/0.1932, allocations: 46.73 kB / 0.7705 GB, free: 4.16 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000132/0.1933, allocations: 32.56 kB / 0.7705 GB, free: 4.129 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004483/0.1938, allocations: 260.9 kB / 0.7708 GB, free: 3.832 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.256e-05/0.1938, allocations: 16.38 kB / 0.7708 GB, free: 3.816 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.712e-05/0.1939, allocations: 16.31 kB / 0.7708 GB, free: 3.801 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006022/0.1945, allocations: 225.2 kB / 0.771 GB, free: 3.562 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.159e-05/0.1946, allocations: 4 kB / 0.771 GB, free: 3.559 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.498e-05/0.1946, allocations: 7.938 kB / 0.771 GB, free: 3.551 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.034e-05/0.1946, allocations: 4 kB / 0.771 GB, free: 3.547 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001499/0.1961, allocations: 0.7371 MB / 0.7717 GB, free: 2.809 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001416/0.1976, allocations: 0.5744 MB / 0.7723 GB, free: 2.184 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000644/0.1982, allocations: 231.5 kB / 0.7725 GB, free: 1.949 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002794/0.1985, allocations: 96.81 kB / 0.7726 GB, free: 1.852 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 7.343e-05/0.1986, allocations: 23.95 kB / 0.7726 GB, free: 1.828 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005305/0.1992, allocations: 177.5 kB / 0.7728 GB, free: 1.641 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=33): time 3.316e-06/0.1992, allocations: 3.938 kB / 0.7728 GB, free: 1.637 MB / 0.5606 GB Notification: Performance of matching and sorting (n=33): time 0.001154/0.2003, allocations: 360.2 kB / 0.7732 GB, free: 1.281 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001003/0.2005, allocations: 140.5 kB / 0.7733 GB, free: 1.113 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004616/0.2009, allocations: 304.9 kB / 0.7736 GB, free: 0.8086 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.152e-05/0.201, allocations: 29.7 kB / 0.7736 GB, free: 0.7734 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001135/0.2011, allocations: 132.7 kB / 0.7737 GB, free: 0.6406 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001351/0.2013, allocations: 102.4 kB / 0.7738 GB, free: 0.5391 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001554/0.2014, allocations: 65.69 kB / 0.7739 GB, free: 480 kB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001587/0.2016, allocations: 338.8 kB / 0.7742 GB, free: 132 kB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002088/0.2018, allocations: 79.95 kB / 0.7743 GB, free: 52 kB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3205/0.5224, allocations: 119.8 kB / 0.7744 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003686/0.5228, allocations: 211.8 kB / 0.7746 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.588e-06/0.5228, allocations: 0.5156 kB / 0.7746 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004958/0.5233, allocations: 268.6 kB / 0.7749 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.953e-05/0.5233, allocations: 5.688 kB / 0.7749 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.5233, allocations: 3.938 kB / 0.7749 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.092e-05/0.5234, allocations: 1.312 kB / 0.7749 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002388/0.5236, allocations: 58.39 kB / 0.7749 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.456e-06/0.5236, allocations: 5.844 kB / 0.7749 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001549/0.5238, allocations: 27.08 kB / 0.775 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.72e-05/0.5238, allocations: 10.73 kB / 0.775 GB, free: 14.84 MB / 0.5606 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.0001642/0.524, allocations: 171.1 kB / 0.7751 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.158e-05/0.524, allocations: 27.03 kB / 0.7752 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006404/0.5247, allocations: 373.7 kB / 0.7755 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.663e-06/0.5247, allocations: 4.047 kB / 0.7755 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.5247, allocations: 3.703 kB / 0.7755 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.119e-06/0.5247, allocations: 1.359 kB / 0.7755 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002794/0.525, allocations: 330.9 kB / 0.7758 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.525, allocations: 1.594 kB / 0.7758 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001638/0.5252, allocations: 59.23 kB / 0.7759 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.5252, allocations: 2.094 kB / 0.7759 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.88e-05/0.5252, allocations: 9.766 kB / 0.7759 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.518e-06/0.5252, allocations: 2.891 kB / 0.7759 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.5252, allocations: 3.062 kB / 0.7759 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004212/0.5257, allocations: 317.8 kB / 0.7762 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001299/0.5258, allocations: 146.7 kB / 0.7764 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.03e-05/0.5259, allocations: 5.469 kB / 0.7764 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001528/0.526, allocations: 20.17 kB / 0.7764 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.47e-05/0.5261, allocations: 21.94 kB / 0.7764 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.824e-05/0.5261, allocations: 15.41 kB / 0.7764 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001933/0.5263, allocations: 234.2 kB / 0.7766 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.91e-07/0.5263, allocations: 4.25 kB / 0.7767 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002944/0.5266, allocations: 63.55 kB / 0.7767 GB, free: 14.21 MB / 0.5606 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.001377/0.528, allocations: 1.158 MB / 0.7778 GB, free: 13.56 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004016/0.5284, allocations: 219.9 kB / 0.7781 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.5284, allocations: 1.125 kB / 0.7781 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001834/0.5286, allocations: 130.3 kB / 0.7782 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002645/0.5289, allocations: 42.17 kB / 0.7782 GB, free: 13.49 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002529/0.5314, allocations: 2.443 MB / 0.7806 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001988/0.5317, allocations: 0.756 MB / 0.7813 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0003446/0.532, allocations: 143.4 kB / 0.7815 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001276/0.5321, allocations: 94.66 kB / 0.7816 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of SimCode: time 7.42e-07/0.5321, allocations: 1.5 kB / 0.7816 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02422/0.5564, allocations: 5.497 MB / 0.7869 GB, free: 10.4 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.513/8.069, allocations: 13.61 kB / 0.787 GB, free: 10.39 MB / 0.5606 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/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)