Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure,fileNamePrefix="IDEAS_IDEAS_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.005038/0.005038, allocations: 99.14 kB / 15.73 MB, free: 6.035 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.001142/0.001142, allocations: 194.6 kB / 16.67 MB, free: 5.965 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.312/1.312, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7393/0.7393, allocations: 132.2 MB / 422.7 MB, free: 1.738 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001192/0.001192, allocations: 67.12 kB / 0.5809 GB, free: 1.113 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.177/0.1782, allocations: 80.19 MB / 0.6592 GB, free: 14.03 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure): time 0.003153/0.1814, allocations: 1.647 MB / 0.6608 GB, free: 12.37 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001984/0.1834, allocations: 1.167 MB / 0.6619 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001021/0.1835, allocations: 0 / 0.6619 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002632/0.1839, allocations: 27.86 kB / 0.662 GB, free: 11.17 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0003976/0.1843, allocations: 70.73 kB / 0.662 GB, free: 11.1 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004773/0.1848, allocations: 156.3 kB / 0.6622 GB, free: 10.95 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0003431/0.1851, allocations: 241.6 kB / 0.6624 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001255/0.1852, allocations: 15.05 kB / 0.6624 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001685/0.1854, allocations: 91.73 kB / 0.6625 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002738/0.1857, allocations: 91.77 kB / 0.6626 GB, free: 10.52 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 4.95e-05/0.1858, allocations: 20 kB / 0.6626 GB, free: 10.5 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002083/0.186, allocations: 71.98 kB / 0.6627 GB, free: 10.43 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001009/0.1861, allocations: 87.73 kB / 0.6628 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001048/0.1862, allocations: 99.39 kB / 0.6629 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003633/0.1866, allocations: 287.1 kB / 0.6631 GB, free: 9.965 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.638e-06/0.1866, allocations: 0 / 0.6631 GB, free: 9.965 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.383e-06/0.1866, allocations: 0 / 0.6631 GB, free: 9.965 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.805e-06/0.1866, allocations: 0 / 0.6631 GB, free: 9.965 MB / 0.4981 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.0008053/0.1874, allocations: 0.5391 MB / 0.6637 GB, free: 9.379 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.048e-05/0.1875, allocations: 12.03 kB / 0.6637 GB, free: 9.367 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.981e-05/0.1875, allocations: 46.75 kB / 0.6637 GB, free: 9.312 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.491e-05/0.1876, allocations: 28.64 kB / 0.6638 GB, free: 9.285 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002744/0.1879, allocations: 262 kB / 0.664 GB, free: 8.988 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.027e-05/0.1879, allocations: 12.38 kB / 0.664 GB, free: 8.977 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.68e-05/0.1879, allocations: 12.38 kB / 0.664 GB, free: 8.965 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000341/0.1883, allocations: 212.8 kB / 0.6642 GB, free: 8.738 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.798e-06/0.1883, allocations: 4 kB / 0.6642 GB, free: 8.734 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.226e-05/0.1883, allocations: 4 kB / 0.6642 GB, free: 8.73 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.131e-06/0.1883, allocations: 4 kB / 0.6642 GB, free: 8.727 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007963/0.1891, allocations: 0.7411 MB / 0.665 GB, free: 7.984 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009197/0.1901, allocations: 0.5626 MB / 0.6655 GB, free: 7.371 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003522/0.1904, allocations: 228 kB / 0.6657 GB, free: 7.141 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001554/0.1906, allocations: 108.8 kB / 0.6658 GB, free: 7.031 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.562e-05/0.1907, allocations: 15.97 kB / 0.6659 GB, free: 7.016 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003903/0.1911, allocations: 173.5 kB / 0.666 GB, free: 6.832 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=33): time 3.436e-06/0.1911, allocations: 3.984 kB / 0.666 GB, free: 6.828 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33): time 0.0006561/0.1917, allocations: 372.7 kB / 0.6664 GB, free: 6.461 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.371e-05/0.1918, allocations: 132.5 kB / 0.6665 GB, free: 6.301 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002936/0.1921, allocations: 308.9 kB / 0.6668 GB, free: 5.988 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.165e-05/0.1922, allocations: 37.7 kB / 0.6668 GB, free: 5.945 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.712e-05/0.1922, allocations: 116.8 kB / 0.6669 GB, free: 5.824 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 9.69e-05/0.1923, allocations: 114.4 kB / 0.6671 GB, free: 5.711 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.038e-05/0.1924, allocations: 61.69 kB / 0.6671 GB, free: 5.645 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001332/0.1926, allocations: 338.8 kB / 0.6674 GB, free: 5.305 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001367/0.1927, allocations: 83.89 kB / 0.6675 GB, free: 5.223 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001814/0.1929, allocations: 131.6 kB / 0.6676 GB, free: 5.082 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002966/0.1932, allocations: 201.3 kB / 0.6678 GB, free: 4.883 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/0.1932, allocations: 4 kB / 0.6678 GB, free: 4.879 MB / 0.4981 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004379/0.1937, allocations: 281 kB / 0.6681 GB, free: 4.598 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/0.1937, allocations: 4 kB / 0.6681 GB, free: 4.594 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.1937, allocations: 0 / 0.6681 GB, free: 4.594 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.073e-05/0.1937, allocations: 7.984 kB / 0.6681 GB, free: 4.586 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002104/0.1939, allocations: 51.97 kB / 0.6682 GB, free: 4.535 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.113e-05/0.194, allocations: 7.938 kB / 0.6682 GB, free: 4.527 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000155/0.1941, allocations: 35.72 kB / 0.6682 GB, free: 4.492 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.375e-05/0.1942, allocations: 11.98 kB / 0.6682 GB, free: 4.48 MB / 0.4981 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.0001882/0.1943, allocations: 158.5 kB / 0.6684 GB, free: 4.316 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.119e-05/0.1944, allocations: 23.72 kB / 0.6684 GB, free: 4.293 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006543/0.1951, allocations: 376.7 kB / 0.6688 GB, free: 3.914 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.2e-06/0.1951, allocations: 4 kB / 0.6688 GB, free: 3.91 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.1951, allocations: 0 / 0.6688 GB, free: 3.91 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.902e-06/0.1951, allocations: 7.922 kB / 0.6688 GB, free: 3.902 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003073/0.1954, allocations: 325.2 kB / 0.6691 GB, free: 3.535 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.1954, allocations: 4 kB / 0.6691 GB, free: 3.531 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001644/0.1956, allocations: 51.91 kB / 0.6691 GB, free: 3.48 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.639e-06/0.1956, allocations: 8 kB / 0.6691 GB, free: 3.473 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.197e-05/0.1956, allocations: 11.98 kB / 0.6692 GB, free: 3.461 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.1956, allocations: 0 / 0.6692 GB, free: 3.461 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1956, allocations: 0 / 0.6692 GB, free: 3.461 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004663/0.1961, allocations: 318.2 kB / 0.6695 GB, free: 3.133 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001435/0.1963, allocations: 140.7 kB / 0.6696 GB, free: 2.977 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.141e-05/0.1963, allocations: 8 kB / 0.6696 GB, free: 2.969 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001526/0.1965, allocations: 23.97 kB / 0.6696 GB, free: 2.945 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.8e-05/0.1965, allocations: 27.91 kB / 0.6696 GB, free: 2.918 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.927e-05/0.1966, allocations: 19.94 kB / 0.6697 GB, free: 2.898 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002139/0.1968, allocations: 236.4 kB / 0.6699 GB, free: 2.668 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1968, allocations: 0 / 0.6699 GB, free: 2.668 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002874/0.1971, allocations: 56 kB / 0.6699 GB, free: 2.613 MB / 0.4981 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.001574/0.1987, allocations: 1.146 MB / 0.6711 GB, free: 1.617 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004156/0.1991, allocations: 228.3 kB / 0.6713 GB, free: 1.395 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.1991, allocations: 0 / 0.6713 GB, free: 1.395 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001851/0.1993, allocations: 127.8 kB / 0.6714 GB, free: 1.27 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002711/0.1996, allocations: 41 kB / 0.6714 GB, free: 1.23 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002753/0.2024, allocations: 2.431 MB / 0.6738 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003488/0.2027, allocations: 0.7581 MB / 0.6746 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0003363/0.2031, allocations: 146.8 kB / 0.6747 GB, free: 13.8 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001382/0.2032, allocations: 87.39 kB / 0.6748 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of SimCode: time 3.21e-07/0.2032, allocations: 0 / 0.6748 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0248/0.228, allocations: 5.571 MB / 0.6802 GB, free: 8.285 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.436/7.664, allocations: 7.188 kB / 0.6802 GB, free: 8.281 MB / 0.5137 GB (rm -f IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure.fmu > IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe 2>&1)