Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-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: translateModel(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin") translateModel(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.008464/0.008464, allocations: 99.81 kB / 15.73 MB, free: 6.055 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.001624/0.001624, allocations: 192.4 kB / 16.67 MB, free: 5.969 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.391/1.391, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8339/0.8339, allocations: 135.1 MB / 425.7 MB, free: 4.051 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001202/0.001202, allocations: 59.78 kB / 0.5856 GB, free: 21.61 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1946/0.1958, allocations: 80.92 MB / 0.6647 GB, free: 5.785 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.003145/0.199, allocations: 1.617 MB / 0.6662 GB, free: 4.16 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001871/0.2009, allocations: 1.16 MB / 0.6674 GB, free: 2.992 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.03e-05/0.201, allocations: 0 / 0.6674 GB, free: 2.992 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002712/0.2013, allocations: 23.84 kB / 0.6674 GB, free: 2.969 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0003239/0.2016, allocations: 67.69 kB / 0.6675 GB, free: 2.902 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003876/0.202, allocations: 143.1 kB / 0.6676 GB, free: 2.766 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0003935/0.2024, allocations: 229.6 kB / 0.6678 GB, free: 2.539 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001214/0.2026, allocations: 19.98 kB / 0.6678 GB, free: 2.52 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001048/0.2027, allocations: 75.88 kB / 0.6679 GB, free: 2.445 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000237/0.2029, allocations: 95.66 kB / 0.668 GB, free: 2.352 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 4.008e-05/0.203, allocations: 20 kB / 0.668 GB, free: 2.332 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001499/0.2031, allocations: 71.95 kB / 0.6681 GB, free: 2.262 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001134/0.2032, allocations: 79.81 kB / 0.6682 GB, free: 2.184 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001116/0.2034, allocations: 99.39 kB / 0.6682 GB, free: 2.086 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003897/0.2038, allocations: 278.8 kB / 0.6685 GB, free: 1.812 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.2038, allocations: 0 / 0.6685 GB, free: 1.812 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.844e-06/0.2038, allocations: 0 / 0.6685 GB, free: 1.812 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.09e-05/0.2038, allocations: 0 / 0.6685 GB, free: 1.812 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.0007909/0.2046, allocations: 0.534 MB / 0.669 GB, free: 1.23 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.578e-05/0.2046, allocations: 13.11 kB / 0.669 GB, free: 1.219 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.86e-05/0.2047, allocations: 32.75 kB / 0.6691 GB, free: 1.188 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002767/0.205, allocations: 271.8 kB / 0.6693 GB, free: 0.8828 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.799e-05/0.205, allocations: 8.375 kB / 0.6693 GB, free: 0.875 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.463e-05/0.2051, allocations: 16.38 kB / 0.6694 GB, free: 0.8594 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003528/0.2054, allocations: 213.4 kB / 0.6696 GB, free: 0.6328 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.258e-05/0.2054, allocations: 0 / 0.6696 GB, free: 0.6328 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.503e-05/0.2055, allocations: 12 kB / 0.6696 GB, free: 0.6211 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.571e-06/0.2055, allocations: 4 kB / 0.6696 GB, free: 0.6172 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008836/0.2064, allocations: 0.7295 MB / 0.6703 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009055/0.2073, allocations: 0.5668 MB / 0.6708 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005255/0.2078, allocations: 297 kB / 0.6711 GB, free: 14.97 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001703/0.208, allocations: 105.4 kB / 0.6712 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 5.935e-05/0.2081, allocations: 20.25 kB / 0.6713 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004329/0.2085, allocations: 176.9 kB / 0.6714 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=34): time 1.954e-06/0.2085, allocations: 0 / 0.6714 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of matching and sorting (n=34): time 0.0007327/0.2093, allocations: 370.7 kB / 0.6718 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.489e-05/0.2094, allocations: 132.5 kB / 0.6719 GB, free: 14.13 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003113/0.2097, allocations: 304 kB / 0.6722 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.903e-05/0.2097, allocations: 29.7 kB / 0.6722 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 8.943e-05/0.2098, allocations: 124.8 kB / 0.6723 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.000108/0.2099, allocations: 123 kB / 0.6725 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.763e-05/0.21, allocations: 61.69 kB / 0.6725 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001785/0.2102, allocations: 346.7 kB / 0.6728 GB, free: 13.13 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001455/0.2104, allocations: 83.94 kB / 0.6729 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002022/0.2106, allocations: 119.4 kB / 0.673 GB, free: 12.92 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003326/0.2109, allocations: 217.3 kB / 0.6732 GB, free: 12.7 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.685e-05/0.2109, allocations: 11.98 kB / 0.6733 GB, free: 12.69 MB / 0.5137 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.00043/0.2114, allocations: 273.3 kB / 0.6735 GB, free: 12.42 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.857e-05/0.2114, allocations: 5.875 kB / 0.6735 GB, free: 12.41 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.2114, allocations: 0 / 0.6735 GB, free: 12.41 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.776e-05/0.2114, allocations: 4 kB / 0.6735 GB, free: 12.41 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002292/0.2117, allocations: 63.84 kB / 0.6736 GB, free: 12.35 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.673e-06/0.2117, allocations: 0 / 0.6736 GB, free: 12.35 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001431/0.2118, allocations: 27.88 kB / 0.6736 GB, free: 12.32 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.422e-05/0.2119, allocations: 8 kB / 0.6736 GB, free: 12.31 MB / 0.5137 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.000172/0.2121, allocations: 173.7 kB / 0.6738 GB, free: 12.13 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.043e-05/0.2121, allocations: 27.81 kB / 0.6738 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007001/0.2128, allocations: 380.7 kB / 0.6742 GB, free: 11.73 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/0.2128, allocations: 4 kB / 0.6742 GB, free: 11.72 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.2128, allocations: 0 / 0.6742 GB, free: 11.72 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.029e-06/0.2128, allocations: 0 / 0.6742 GB, free: 11.72 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003501/0.2132, allocations: 333.3 kB / 0.6745 GB, free: 11.35 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.2132, allocations: 0 / 0.6745 GB, free: 11.35 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001848/0.2134, allocations: 59.91 kB / 0.6746 GB, free: 11.29 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.2134, allocations: 0 / 0.6746 GB, free: 11.29 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.178e-05/0.2134, allocations: 16 kB / 0.6746 GB, free: 11.27 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.2135, allocations: 0 / 0.6746 GB, free: 11.27 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.2135, allocations: 48 / 0.6746 GB, free: 11.27 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004948/0.214, allocations: 329.8 kB / 0.6749 GB, free: 10.93 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001535/0.2141, allocations: 140.8 kB / 0.675 GB, free: 10.77 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.182e-05/0.2142, allocations: 8 kB / 0.675 GB, free: 10.77 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001294/0.2143, allocations: 19.92 kB / 0.675 GB, free: 10.75 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.619e-05/0.2144, allocations: 23.97 kB / 0.6751 GB, free: 10.72 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.16e-05/0.2144, allocations: 23.92 kB / 0.6751 GB, free: 10.7 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.000229/0.2147, allocations: 229.6 kB / 0.6753 GB, free: 10.48 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2147, allocations: 0 / 0.6753 GB, free: 10.48 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003072/0.215, allocations: 63.92 kB / 0.6754 GB, free: 10.41 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.001053/0.216, allocations: 393.3 kB / 0.6757 GB, free: 10.16 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0004138/0.2165, allocations: 232.6 kB / 0.676 GB, free: 9.938 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.2165, allocations: 0 / 0.676 GB, free: 9.938 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002032/0.2167, allocations: 127.8 kB / 0.6761 GB, free: 9.812 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002628/0.217, allocations: 41.23 kB / 0.6761 GB, free: 9.773 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007882/0.2178, allocations: 0.5073 MB / 0.6766 GB, free: 9.246 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003345/0.2181, allocations: 0.7574 MB / 0.6774 GB, free: 8.465 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0002968/0.2184, allocations: 138.9 kB / 0.6775 GB, free: 8.328 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.189e-05/0.2185, allocations: 39.42 kB / 0.6775 GB, free: 8.289 MB / 0.5137 GB Notification: Performance of SimCode: time 2.7e-07/0.2185, allocations: 7.938 kB / 0.6775 GB, free: 8.281 MB / 0.5137 GB Notification: Performance of Templates: time 0.00649/0.225, allocations: 3.011 MB / 0.6805 GB, free: 5.277 MB / 0.5137 GB make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.makefile (rm -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.sim & ./IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe 2>&1)