Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001408/0.001408, allocations: 102.1 kB / 16.27 MB, free: 6.359 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.001618/0.001618, allocations: 193.9 kB / 17.2 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.473/1.473, allocations: 205.1 MB / 223.1 MB, free: 12.29 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.765/1.765, allocations: 292.3 MB / 0.5495 GB, free: 17.5 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001419/0.001419, allocations: 70.86 kB / 0.6722 GB, free: 6.559 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2524/0.2538, allocations: 114.6 MB / 0.784 GB, free: 3.887 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin): time 0.00195/0.2558, allocations: 0.6431 MB / 0.7847 GB, free: 3.238 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0001612/0.256, allocations: 11.98 kB / 0.7847 GB, free: 3.227 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.554e-05/0.2561, allocations: 3.938 kB / 0.7847 GB, free: 3.223 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 9.287e-05/0.2562, allocations: 4 kB / 0.7847 GB, free: 3.219 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 3.364e-05/0.2562, allocations: 3.938 kB / 0.7847 GB, free: 3.215 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 8.613e-05/0.2563, allocations: 7.984 kB / 0.7847 GB, free: 3.207 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001133/0.2564, allocations: 39.91 kB / 0.7847 GB, free: 3.168 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001354/0.2566, allocations: 35.98 kB / 0.7848 GB, free: 3.133 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 2.304e-05/0.2566, allocations: 8 kB / 0.7848 GB, free: 3.125 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 2.896e-05/0.2566, allocations: 19.86 kB / 0.7848 GB, free: 3.105 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.566e-05/0.2567, allocations: 4 kB / 0.7848 GB, free: 3.102 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 1.344e-05/0.2567, allocations: 4 kB / 0.7848 GB, free: 3.098 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 3.139e-05/0.2567, allocations: 8 kB / 0.7848 GB, free: 3.09 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.478e-05/0.2568, allocations: 15.88 kB / 0.7848 GB, free: 3.074 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 8.97e-05/0.2568, allocations: 47.8 kB / 0.7849 GB, free: 3.027 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.2569, allocations: 4 kB / 0.7849 GB, free: 3.023 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.192e-06/0.2569, allocations: 0 / 0.7849 GB, free: 3.023 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.21e-06/0.2569, allocations: 0 / 0.7849 GB, free: 3.023 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0003545/0.2572, allocations: 355.7 kB / 0.7852 GB, free: 2.625 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.57e-05/0.2573, allocations: 11.97 kB / 0.7852 GB, free: 2.613 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.831e-05/0.2573, allocations: 12.78 kB / 0.7852 GB, free: 2.602 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001576/0.2575, allocations: 184.2 kB / 0.7854 GB, free: 2.383 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.217e-05/0.2575, allocations: 4.375 kB / 0.7854 GB, free: 2.379 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.214e-05/0.2575, allocations: 384 / 0.7854 GB, free: 2.379 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001534/0.2577, allocations: 90.16 kB / 0.7855 GB, free: 2.285 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.2577, allocations: 192 / 0.7855 GB, free: 2.285 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.041e-05/0.2577, allocations: 3.938 kB / 0.7855 GB, free: 2.281 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-06/0.2577, allocations: 0 / 0.7855 GB, free: 2.281 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.831e-05/0.2578, allocations: 59.89 kB / 0.7856 GB, free: 2.223 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004702/0.2583, allocations: 471.2 kB / 0.786 GB, free: 1.711 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001001/0.2584, allocations: 177.1 kB / 0.7862 GB, free: 1.527 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.624e-05/0.2584, allocations: 80.14 kB / 0.7863 GB, free: 1.445 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 3.144e-05/0.2585, allocations: 75.28 kB / 0.7863 GB, free: 1.371 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.227e-05/0.2585, allocations: 113.8 kB / 0.7865 GB, free: 1.25 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=0): time 1.052e-06/0.2585, allocations: 0 / 0.7865 GB, free: 1.25 MB / 0.6544 GB Notification: Performance of matching and sorting (n=0): time 7.637e-05/0.2586, allocations: 29.61 kB / 0.7865 GB, free: 1.215 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.308e-05/0.2587, allocations: 138.6 kB / 0.7866 GB, free: 1.066 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001732/0.2589, allocations: 171.9 kB / 0.7868 GB, free: 0.8906 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.297e-05/0.2589, allocations: 25.7 kB / 0.7868 GB, free: 0.8594 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 7.194e-05/0.259, allocations: 100.1 kB / 0.7869 GB, free: 0.7578 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.506e-06/0.259, allocations: 0 / 0.7869 GB, free: 0.7578 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.431e-05/0.259, allocations: 17.72 kB / 0.7869 GB, free: 0.7344 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001154/0.2591, allocations: 314.8 kB / 0.7872 GB, free: 428 kB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.933e-05/0.2592, allocations: 11.98 kB / 0.7872 GB, free: 416 kB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.317e-05/0.2592, allocations: 11.98 kB / 0.7872 GB, free: 404 kB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.822e-05/0.2592, allocations: 12.86 kB / 0.7872 GB, free: 388 kB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.2592, allocations: 112 / 0.7872 GB, free: 388 kB / 0.6544 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001182/0.2594, allocations: 57.47 kB / 0.7873 GB, free: 324 kB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.462e-05/0.2594, allocations: 7.984 kB / 0.7873 GB, free: 316 kB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.2594, allocations: 0 / 0.7873 GB, free: 316 kB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.393e-05/0.2594, allocations: 0 / 0.7873 GB, free: 316 kB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.649e-05/0.2595, allocations: 4 kB / 0.7873 GB, free: 312 kB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/0.2595, allocations: 4.031 kB / 0.7873 GB, free: 308 kB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.642e-05/0.2595, allocations: 15.94 kB / 0.7873 GB, free: 292 kB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.826e-06/0.2595, allocations: 0 / 0.7873 GB, free: 292 kB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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.000112/0.2597, allocations: 193.1 kB / 0.7875 GB, free: 88 kB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.5089/0.7685, allocations: 108.9 kB / 0.7876 GB, free: 49.05 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.781e-05/0.7687, allocations: 112.8 kB / 0.7877 GB, free: 48.95 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.993e-05/0.7687, allocations: 180.3 kB / 0.7879 GB, free: 48.77 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.531e-05/0.7687, allocations: 184.4 kB / 0.7881 GB, free: 48.59 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.803e-05/0.7688, allocations: 180.8 kB / 0.7882 GB, free: 48.41 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002027/0.769, allocations: 425.7 kB / 0.7887 GB, free: 47.97 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.922e-05/0.769, allocations: 103.9 kB / 0.7888 GB, free: 47.86 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.951e-05/0.769, allocations: 103.8 kB / 0.7889 GB, free: 47.76 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.072e-05/0.7691, allocations: 180.4 kB / 0.789 GB, free: 47.58 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.167e-05/0.7691, allocations: 182.7 kB / 0.7892 GB, free: 47.4 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.871e-05/0.7691, allocations: 189.8 kB / 0.7894 GB, free: 47.22 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.808e-05/0.7692, allocations: 181.6 kB / 0.7896 GB, free: 47.04 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001106/0.7693, allocations: 315.1 kB / 0.7899 GB, free: 46.73 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 5.103e-05/0.7694, allocations: 189.8 kB / 0.79 GB, free: 46.53 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.251e-05/0.7694, allocations: 179.2 kB / 0.7902 GB, free: 46.35 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.721e-05/0.7695, allocations: 110.6 kB / 0.7903 GB, free: 46.25 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.354e-05/0.7695, allocations: 180.4 kB / 0.7905 GB, free: 46.07 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.548e-05/0.7696, allocations: 103.4 kB / 0.7906 GB, free: 45.96 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 9.79e-05/0.7697, allocations: 134 kB / 0.7907 GB, free: 45.89 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7697, allocations: 0.6875 kB / 0.7907 GB, free: 45.89 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002965/0.77, allocations: 5.25 kB / 0.7907 GB, free: 45.89 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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 Backend phase and start with SimCode phase: time 0.0001521/0.7701, allocations: 174.8 kB / 0.7909 GB, free: 45.73 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 8.483e-05/0.7702, allocations: 13.45 kB / 0.7909 GB, free: 45.73 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.7702, allocations: 0.5938 kB / 0.7909 GB, free: 45.73 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 2.285e-06/0.7702, allocations: 3.5 kB / 0.7909 GB, free: 45.73 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000425/0.7707, allocations: 466.3 kB / 0.7913 GB, free: 45.28 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002638/0.7709, allocations: 233.6 kB / 0.7916 GB, free: 45.07 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001282/0.7711, allocations: 0.6915 MB / 0.7922 GB, free: 44.37 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.548e-05/0.7711, allocations: 12.19 kB / 0.7923 GB, free: 44.37 MB / 0.6544 GB Notification: Performance of SimCode: time 3.81e-07/0.7711, allocations: 0 / 0.7923 GB, free: 44.37 MB / 0.6544 GB Notification: Performance of Templates: time 0.002056/0.7732, allocations: 0.7648 MB / 0.793 GB, free: 44.36 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin.pipe 2>&1)