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.005408/0.005407, allocations: 104.6 kB / 15.74 MB, free: 6.484 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.001169/0.001169, allocations: 189.1 kB / 16.67 MB, free: 6.379 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.295/1.295, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002194/0.002194, allocations: 282.5 kB / 290.8 MB, free: 1.898 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9272/0.9272, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00301/0.00301, allocations: 96.19 kB / 0.681 GB, free: 15.96 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1814/0.1845, allocations: 86.98 MB / 0.7659 GB, free: 8.914 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure): time 0.003127/0.1876, allocations: 1.659 MB / 0.7675 GB, free: 7.246 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001903/0.1896, allocations: 1.18 MB / 0.7687 GB, free: 6.059 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.82e-05/0.1897, allocations: 4 kB / 0.7687 GB, free: 6.055 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0002429/0.1899, allocations: 31.77 kB / 0.7687 GB, free: 6.023 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0003585/0.1903, allocations: 67.69 kB / 0.7688 GB, free: 5.957 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004344/0.1908, allocations: 145.1 kB / 0.7689 GB, free: 5.82 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.000314/0.1911, allocations: 249.5 kB / 0.7692 GB, free: 5.578 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001157/0.1912, allocations: 19.98 kB / 0.7692 GB, free: 5.559 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001468/0.1914, allocations: 83.81 kB / 0.7693 GB, free: 5.477 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002493/0.1916, allocations: 99.7 kB / 0.7694 GB, free: 5.379 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 4.715e-05/0.1917, allocations: 20 kB / 0.7694 GB, free: 5.359 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001833/0.1919, allocations: 71.97 kB / 0.7694 GB, free: 5.289 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 9.848e-05/0.192, allocations: 87.73 kB / 0.7695 GB, free: 5.203 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.000115/0.1921, allocations: 103.4 kB / 0.7696 GB, free: 5.102 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003924/0.1925, allocations: 287 kB / 0.7699 GB, free: 4.82 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.1925, allocations: 0 / 0.7699 GB, free: 4.82 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.793e-06/0.1925, allocations: 0 / 0.7699 GB, free: 4.82 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.047e-06/0.1926, 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.0008327/0.1934, allocations: 0.546 MB / 0.7704 GB, free: 4.223 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.201e-05/0.1934, allocations: 12.03 kB / 0.7704 GB, free: 4.211 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.184e-05/0.1935, allocations: 50.67 kB / 0.7705 GB, free: 4.152 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.87e-05/0.1936, allocations: 32.56 kB / 0.7705 GB, free: 4.121 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002893/0.1939, allocations: 264.9 kB / 0.7708 GB, free: 3.82 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.876e-05/0.1939, allocations: 8.375 kB / 0.7708 GB, free: 3.812 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.52e-05/0.194, allocations: 16.38 kB / 0.7708 GB, free: 3.797 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003674/0.1943, allocations: 221.3 kB / 0.771 GB, free: 3.562 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/0.1943, allocations: 7.938 kB / 0.771 GB, free: 3.555 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.682e-05/0.1944, allocations: 7.984 kB / 0.771 GB, free: 3.547 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.114e-06/0.1944, allocations: 4 kB / 0.771 GB, free: 3.543 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007982/0.1952, allocations: 0.7409 MB / 0.7718 GB, free: 2.801 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008953/0.1961, allocations: 0.5705 MB / 0.7723 GB, free: 2.18 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003453/0.1965, allocations: 223.5 kB / 0.7725 GB, free: 1.953 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000151/0.1966, allocations: 112.8 kB / 0.7726 GB, free: 1.84 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 4.428e-05/0.1967, allocations: 23.91 kB / 0.7727 GB, free: 1.816 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003547/0.197, allocations: 169.5 kB / 0.7728 GB, free: 1.637 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=33): time 2.014e-06/0.197, allocations: 0 / 0.7728 GB, free: 1.637 MB / 0.5606 GB Notification: Performance of matching and sorting (n=33): time 0.000656/0.1977, allocations: 364.1 kB / 0.7732 GB, free: 1.277 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.919e-05/0.1978, allocations: 132.5 kB / 0.7733 GB, free: 1.117 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002919/0.1981, allocations: 316.9 kB / 0.7736 GB, free: 0.8008 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.822e-05/0.1981, allocations: 33.64 kB / 0.7736 GB, free: 0.7617 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 8.514e-05/0.1982, allocations: 128.7 kB / 0.7737 GB, free: 0.6328 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 8.724e-05/0.1983, allocations: 106.4 kB / 0.7738 GB, free: 0.5273 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.177e-05/0.1984, allocations: 65.69 kB / 0.7739 GB, free: 468 kB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001129/0.1985, allocations: 334.8 kB / 0.7742 GB, free: 124 kB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001325/0.1987, allocations: 83.95 kB / 0.7743 GB, free: 40 kB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3702/0.5689, allocations: 120.6 kB / 0.7744 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004912/0.5694, allocations: 210.7 kB / 0.7746 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.621e-06/0.5695, allocations: 0.7812 kB / 0.7746 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006376/0.5701, allocations: 269.3 kB / 0.7749 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.72e-05/0.5701, allocations: 8.25 kB / 0.7749 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.908e-06/0.5702, allocations: 1.188 kB / 0.7749 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.573e-05/0.5702, allocations: 1.375 kB / 0.7749 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002799/0.5705, allocations: 59.94 kB / 0.775 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.258e-05/0.5705, allocations: 5.484 kB / 0.775 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001949/0.5707, allocations: 25.94 kB / 0.775 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.582e-05/0.5707, allocations: 11.06 kB / 0.775 GB, free: 14.83 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.0002101/0.571, allocations: 163.5 kB / 0.7751 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.751e-05/0.571, allocations: 27.41 kB / 0.7752 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00074/0.5718, allocations: 373.7 kB / 0.7755 GB, free: 14.67 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.235e-06/0.5718, allocations: 4.422 kB / 0.7755 GB, free: 14.67 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.105e-06/0.5718, allocations: 2.281 kB / 0.7755 GB, free: 14.67 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.095e-06/0.5718, allocations: 2.016 kB / 0.7755 GB, free: 14.67 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003826/0.5722, allocations: 340.4 kB / 0.7759 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.388e-06/0.5722, allocations: 1.406 kB / 0.7759 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001821/0.5724, allocations: 54.19 kB / 0.7759 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.582e-06/0.5724, allocations: 3.422 kB / 0.7759 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.447e-05/0.5725, allocations: 9.453 kB / 0.7759 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.288e-06/0.5725, allocations: 1.031 kB / 0.7759 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.5725, allocations: 1 kB / 0.7759 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005439/0.573, allocations: 321.4 kB / 0.7762 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001427/0.5732, allocations: 142.1 kB / 0.7764 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.796e-05/0.5733, allocations: 7.953 kB / 0.7764 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001632/0.5734, allocations: 16.16 kB / 0.7764 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.53e-05/0.5735, allocations: 25.62 kB / 0.7764 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.617e-05/0.5735, allocations: 15.36 kB / 0.7764 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002616/0.5738, allocations: 234.6 kB / 0.7767 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.4e-07/0.5738, allocations: 0 / 0.7767 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003679/0.5742, allocations: 70.11 kB / 0.7767 GB, free: 14.2 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.001614/0.5758, allocations: 1.147 MB / 0.7778 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005141/0.5764, allocations: 224.8 kB / 0.7781 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.519e-06/0.5764, allocations: 0 / 0.7781 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002354/0.5766, allocations: 128.4 kB / 0.7782 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002884/0.5769, allocations: 37.56 kB / 0.7782 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003196/0.5801, allocations: 2.437 MB / 0.7806 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002476/0.5804, allocations: 0.7616 MB / 0.7813 GB, free: 11.24 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0003692/0.5808, allocations: 150.4 kB / 0.7815 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001549/0.5809, allocations: 87.64 kB / 0.7816 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of SimCode: time 4.41e-07/0.5809, allocations: 0 / 0.7816 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02901/0.6099, allocations: 5.609 MB / 0.787 GB, free: 10.34 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.688/8.298, allocations: 15.84 kB / 0.7871 GB, free: 10.34 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)