Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.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: translateModel(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin") translateModel(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007755/0.007755, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.001415/0.001415, allocations: 196.2 kB / 16.67 MB, free: 5.52 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.428/1.428, allocations: 222.9 MB / 240.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8817/0.8817, allocations: 132.2 MB / 422.7 MB, free: 6.594 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001315/0.001315, allocations: 67.09 kB / 0.5814 GB, free: 23.78 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.188/0.1893, allocations: 80.2 MB / 0.6597 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.003102/0.1925, allocations: 1.619 MB / 0.6613 GB, free: 8.621 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001928/0.1944, allocations: 1.164 MB / 0.6624 GB, free: 7.449 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.017e-05/0.1945, allocations: 4 kB / 0.6624 GB, free: 7.445 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002818/0.1948, allocations: 23.86 kB / 0.6624 GB, free: 7.422 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0003354/0.1951, allocations: 67.62 kB / 0.6625 GB, free: 7.355 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003722/0.1955, allocations: 126.9 kB / 0.6626 GB, free: 7.234 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0003124/0.1959, allocations: 229.6 kB / 0.6628 GB, free: 7.008 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001299/0.196, allocations: 23.92 kB / 0.6629 GB, free: 6.984 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001013/0.1961, allocations: 79.77 kB / 0.6629 GB, free: 6.906 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002468/0.1963, allocations: 91.77 kB / 0.663 GB, free: 6.816 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.288e-05/0.1964, allocations: 16 kB / 0.663 GB, free: 6.801 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001374/0.1965, allocations: 83.95 kB / 0.6631 GB, free: 6.719 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001028/0.1966, allocations: 75.81 kB / 0.6632 GB, free: 6.645 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001028/0.1968, allocations: 99.39 kB / 0.6633 GB, free: 6.547 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003216/0.1971, allocations: 271.1 kB / 0.6635 GB, free: 6.281 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.301e-06/0.1971, allocations: 4 kB / 0.6635 GB, free: 6.277 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.483e-06/0.1971, allocations: 3.938 kB / 0.6636 GB, free: 6.273 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.382e-06/0.1971, allocations: 0 / 0.6636 GB, free: 6.273 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.0008174/0.1979, allocations: 0.5306 MB / 0.6641 GB, free: 5.695 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.812e-05/0.198, allocations: 12.03 kB / 0.6641 GB, free: 5.684 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.403e-05/0.1981, allocations: 24.66 kB / 0.6641 GB, free: 5.66 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003084/0.1984, allocations: 260.7 kB / 0.6644 GB, free: 5.367 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.357e-05/0.1984, allocations: 16.38 kB / 0.6644 GB, free: 5.352 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.97e-05/0.1985, allocations: 16.36 kB / 0.6644 GB, free: 5.336 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003785/0.1988, allocations: 210.2 kB / 0.6646 GB, free: 5.113 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.244e-05/0.1989, allocations: 0 / 0.6646 GB, free: 5.113 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.727e-05/0.1989, allocations: 8 kB / 0.6646 GB, free: 5.105 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.556e-06/0.1989, allocations: 4 kB / 0.6646 GB, free: 5.102 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008809/0.1998, allocations: 0.7372 MB / 0.6653 GB, free: 4.363 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000919/0.2007, allocations: 0.5668 MB / 0.6659 GB, free: 3.742 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004816/0.2012, allocations: 303.6 kB / 0.6662 GB, free: 3.438 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001479/0.2014, allocations: 101.4 kB / 0.6663 GB, free: 3.336 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.69e-05/0.2014, allocations: 20.25 kB / 0.6663 GB, free: 3.316 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003365/0.2018, allocations: 172.9 kB / 0.6664 GB, free: 3.137 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=34): time 1.784e-06/0.2018, allocations: 0 / 0.6664 GB, free: 3.137 MB / 0.4981 GB Notification: Performance of matching and sorting (n=34): time 0.0006818/0.2025, allocations: 369.1 kB / 0.6668 GB, free: 2.77 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.571e-05/0.2025, allocations: 140.5 kB / 0.6669 GB, free: 2.602 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002891/0.2028, allocations: 300.1 kB / 0.6672 GB, free: 2.297 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.999e-05/0.2029, allocations: 33.7 kB / 0.6672 GB, free: 2.258 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.625e-05/0.203, allocations: 124.7 kB / 0.6674 GB, free: 2.129 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 9.617e-05/0.2031, allocations: 110.4 kB / 0.6675 GB, free: 2.02 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.834e-05/0.2032, allocations: 69.62 kB / 0.6675 GB, free: 1.945 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001291/0.2033, allocations: 338.8 kB / 0.6679 GB, free: 1.605 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001465/0.2034, allocations: 79.95 kB / 0.6679 GB, free: 1.527 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001787/0.2036, allocations: 135.2 kB / 0.6681 GB, free: 1.383 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003219/0.204, allocations: 213.3 kB / 0.6683 GB, free: 1.172 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.204, allocations: 0 / 0.6683 GB, free: 1.172 MB / 0.4981 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004381/0.2044, allocations: 273.2 kB / 0.6685 GB, free: 0.8984 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/0.2044, allocations: 11.94 kB / 0.6685 GB, free: 0.8867 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.2044, allocations: 0 / 0.6685 GB, free: 0.8867 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.532e-05/0.2045, allocations: 0 / 0.6685 GB, free: 0.8867 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002236/0.2047, allocations: 63.91 kB / 0.6686 GB, free: 0.8242 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.426e-06/0.2047, allocations: 8 kB / 0.6686 GB, free: 0.8164 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000146/0.2049, allocations: 27.73 kB / 0.6686 GB, free: 0.7891 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.328e-05/0.2049, allocations: 12 kB / 0.6686 GB, free: 0.7773 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 (35): * Single equations (assignments): 35 * 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.0001571/0.2051, allocations: 162.6 kB / 0.6688 GB, free: 0.6094 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.906e-05/0.2051, allocations: 27.7 kB / 0.6688 GB, free: 0.582 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006633/0.2058, allocations: 384.4 kB / 0.6692 GB, free: 204 kB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.632e-06/0.2058, allocations: 7.938 kB / 0.6692 GB, free: 196 kB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.159e-06/0.2058, allocations: 0 / 0.6692 GB, free: 196 kB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.2058, allocations: 0 / 0.6692 GB, free: 196 kB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003031/0.2061, allocations: 329.2 kB / 0.6695 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.704e-06/0.2061, allocations: 4 kB / 0.6695 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001918/0.2063, allocations: 55.91 kB / 0.6696 GB, free: 15.76 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.2063, allocations: 4 kB / 0.6696 GB, free: 15.76 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.117e-05/0.2064, allocations: 11.98 kB / 0.6696 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.2064, allocations: 0 / 0.6696 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.2064, allocations: 0 / 0.6696 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004553/0.2068, allocations: 327.1 kB / 0.6699 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001259/0.207, allocations: 144.6 kB / 0.67 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.012e-05/0.207, allocations: 12 kB / 0.67 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001355/0.2072, allocations: 11.98 kB / 0.6701 GB, free: 15.22 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.271e-05/0.2072, allocations: 31.91 kB / 0.6701 GB, free: 15.19 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.364e-05/0.2073, allocations: 8 kB / 0.6701 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.000197/0.2075, allocations: 233.6 kB / 0.6703 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.7e-07/0.2075, allocations: 4 kB / 0.6703 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002773/0.2078, allocations: 51.94 kB / 0.6704 GB, free: 14.9 MB / 0.5137 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 (34): * Single equations (assignments): 33 * 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.0009547/0.2087, allocations: 410 kB / 0.6708 GB, free: 14.67 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.000401/0.2091, allocations: 231.7 kB / 0.671 GB, free: 14.44 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.2091, allocations: 0 / 0.671 GB, free: 14.44 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001965/0.2093, allocations: 123.9 kB / 0.6711 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002652/0.2096, allocations: 38.86 kB / 0.6711 GB, free: 14.28 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008001/0.2104, allocations: 0.4893 MB / 0.6716 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003416/0.2108, allocations: 0.7574 MB / 0.6724 GB, free: 12.99 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0003306/0.2111, allocations: 150.8 kB / 0.6725 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.327e-05/0.2112, allocations: 43.42 kB / 0.6725 GB, free: 12.79 MB / 0.5137 GB Notification: Performance of SimCode: time 2.61e-07/0.2112, allocations: 0 / 0.6725 GB, free: 12.79 MB / 0.5137 GB Notification: Performance of Templates: time 0.006612/0.2178, allocations: 3.015 MB / 0.6755 GB, free: 9.816 MB / 0.5137 GB make -j1 -f IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.makefile (rm -f IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.sim & ./IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe 2>&1)