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.005548/0.005548, allocations: 101.1 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.00119/0.00119, allocations: 186.8 kB / 16.67 MB, free: 5.973 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.45/1.45, allocations: 222.9 MB / 240.4 MB, free: 4.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9721/0.9721, allocations: 135.1 MB / 425.7 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001178/0.001179, allocations: 59.91 kB / 0.5856 GB, free: 3.375 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4833/0.4845, allocations: 80.91 MB / 0.6647 GB, free: 7.621 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.003325/0.4879, allocations: 1.625 MB / 0.6662 GB, free: 6.355 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001774/0.4897, allocations: 1.158 MB / 0.6674 GB, free: 5.445 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001119/0.4898, allocations: 1.094 kB / 0.6674 GB, free: 5.445 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002841/0.4901, allocations: 28.19 kB / 0.6674 GB, free: 5.422 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0003915/0.4905, allocations: 61.42 kB / 0.6675 GB, free: 5.379 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000441/0.491, allocations: 135.1 kB / 0.6676 GB, free: 5.289 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002957/0.4913, allocations: 231.5 kB / 0.6678 GB, free: 5.152 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001183/0.4914, allocations: 21.61 kB / 0.6678 GB, free: 5.141 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000134/0.4916, allocations: 74.7 kB / 0.6679 GB, free: 5.102 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002344/0.4918, allocations: 92.3 kB / 0.668 GB, free: 5.043 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 5.258e-05/0.4919, allocations: 19.94 kB / 0.668 GB, free: 5.039 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001786/0.492, allocations: 79.11 kB / 0.6681 GB, free: 5.012 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.686e-05/0.4922, allocations: 77.53 kB / 0.6682 GB, free: 4.965 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001399/0.4923, allocations: 98.17 kB / 0.6682 GB, free: 4.891 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003754/0.4927, allocations: 281.5 kB / 0.6685 GB, free: 4.703 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.4927, allocations: 0 / 0.6685 GB, free: 4.703 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.523e-06/0.4927, allocations: 0 / 0.6685 GB, free: 4.703 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.066e-05/0.4927, allocations: 0 / 0.6685 GB, free: 4.703 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.000788/0.4935, allocations: 0.5247 MB / 0.669 GB, free: 4.203 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.724e-05/0.4936, allocations: 13.66 kB / 0.669 GB, free: 4.199 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001099/0.4937, allocations: 28.72 kB / 0.6691 GB, free: 4.184 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003052/0.494, allocations: 255.4 kB / 0.6693 GB, free: 3.922 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.148e-05/0.494, allocations: 15.06 kB / 0.6693 GB, free: 3.914 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.088e-05/0.4941, allocations: 13.78 kB / 0.6693 GB, free: 3.91 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003799/0.4944, allocations: 211.3 kB / 0.6695 GB, free: 3.758 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.449e-05/0.4945, allocations: 0 / 0.6695 GB, free: 3.758 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.683e-05/0.4945, allocations: 13.48 kB / 0.6696 GB, free: 3.746 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.077e-06/0.4945, allocations: 4.438 kB / 0.6696 GB, free: 3.746 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009511/0.4955, allocations: 0.7361 MB / 0.6703 GB, free: 3.406 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008462/0.4963, allocations: 0.561 MB / 0.6708 GB, free: 2.918 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004956/0.4968, allocations: 293.1 kB / 0.6711 GB, free: 2.785 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001618/0.497, allocations: 110.6 kB / 0.6712 GB, free: 2.727 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 5.111e-05/0.4971, allocations: 24.55 kB / 0.6712 GB, free: 2.711 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003092/0.4974, allocations: 184.6 kB / 0.6714 GB, free: 2.582 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=34): time 1.583e-06/0.4974, allocations: 0 / 0.6714 GB, free: 2.582 MB / 0.4981 GB Notification: Performance of matching and sorting (n=34): time 0.0007442/0.4981, allocations: 367.9 kB / 0.6718 GB, free: 2.406 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.182e-05/0.4982, allocations: 132.9 kB / 0.6719 GB, free: 2.25 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003263/0.4985, allocations: 292.6 kB / 0.6722 GB, free: 2.066 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.072e-05/0.4986, allocations: 36.11 kB / 0.6722 GB, free: 2.027 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.929e-05/0.4987, allocations: 128.8 kB / 0.6723 GB, free: 1.906 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 8.164e-05/0.4988, allocations: 105.2 kB / 0.6724 GB, free: 1.816 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001149/0.4989, allocations: 65.09 kB / 0.6725 GB, free: 1.773 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.894e-05/0.499, allocations: 342.6 kB / 0.6728 GB, free: 1.438 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001714/0.4992, allocations: 83.77 kB / 0.6729 GB, free: 1.398 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000249/0.4994, allocations: 121.5 kB / 0.673 GB, free: 1.324 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004319/0.4999, allocations: 224.5 kB / 0.6732 GB, free: 1.211 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.42e-06/0.4999, allocations: 1.156 kB / 0.6732 GB, free: 1.211 MB / 0.4981 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0007112/0.5006, allocations: 270.8 kB / 0.6735 GB, free: 1.078 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.715e-05/0.5006, allocations: 9.391 kB / 0.6735 GB, free: 1.074 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.237e-05/0.5007, allocations: 0 / 0.6735 GB, free: 1.074 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.884e-05/0.5007, allocations: 2.625 kB / 0.6735 GB, free: 1.074 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003066/0.501, allocations: 58.25 kB / 0.6736 GB, free: 1.062 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.667e-05/0.501, allocations: 2.188 kB / 0.6736 GB, free: 1.062 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001958/0.5012, allocations: 32.39 kB / 0.6736 GB, free: 1.039 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.447e-05/0.5013, allocations: 12.44 kB / 0.6736 GB, free: 1.035 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.0002532/0.5016, allocations: 166.2 kB / 0.6738 GB, free: 0.8867 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.132e-05/0.5016, allocations: 28.31 kB / 0.6738 GB, free: 0.8711 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008692/0.5025, allocations: 383.9 kB / 0.6741 GB, free: 0.6562 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.143e-05/0.5025, allocations: 3.344 kB / 0.6742 GB, free: 0.6562 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.819e-06/0.5026, allocations: 1.062 kB / 0.6742 GB, free: 0.6562 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.446e-06/0.5026, allocations: 0 / 0.6742 GB, free: 0.6562 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004304/0.503, allocations: 327.2 kB / 0.6745 GB, free: 364 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.952e-06/0.503, allocations: 0 / 0.6745 GB, free: 364 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002218/0.5032, allocations: 61.91 kB / 0.6745 GB, free: 348 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.893e-06/0.5033, allocations: 4 kB / 0.6745 GB, free: 344 kB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.217e-05/0.5033, allocations: 12.61 kB / 0.6745 GB, free: 336 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.761e-06/0.5033, allocations: 1.438 kB / 0.6745 GB, free: 336 kB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.55e-06/0.5033, allocations: 5.391 kB / 0.6745 GB, free: 332 kB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006675/0.504, allocations: 320.7 kB / 0.6749 GB, free: 140 kB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002078/0.5042, allocations: 141.7 kB / 0.675 GB, free: 15.99 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.074e-05/0.5043, allocations: 6.438 kB / 0.675 GB, free: 15.99 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001544/0.5045, allocations: 16.62 kB / 0.675 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.092e-05/0.5046, allocations: 28.75 kB / 0.675 GB, free: 15.97 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.637e-05/0.5046, allocations: 13.09 kB / 0.675 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0002968/0.5049, allocations: 235.9 kB / 0.6753 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.7e-07/0.5049, allocations: 7.875 kB / 0.6753 GB, free: 15.81 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0004613/0.5054, allocations: 58.97 kB / 0.6753 GB, free: 15.79 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.001267/0.5067, allocations: 403.5 kB / 0.6757 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0005107/0.5072, allocations: 230 kB / 0.6759 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.5072, allocations: 4.969 kB / 0.6759 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.000216/0.5074, allocations: 125 kB / 0.6761 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003457/0.5078, allocations: 33.94 kB / 0.6761 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001109/0.5089, allocations: 0.5001 MB / 0.6766 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006849/0.5096, allocations: 0.757 MB / 0.6773 GB, free: 14.38 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0004365/0.5101, allocations: 139.5 kB / 0.6775 GB, free: 14.31 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001143/0.5102, allocations: 44.27 kB / 0.6775 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of SimCode: time 4e-07/0.5102, allocations: 1 kB / 0.6775 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of Templates: time 0.01076/0.521, allocations: 3.022 MB / 0.6805 GB, free: 12.79 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)