Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.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.MultiMax,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001074/0.001079, allocations: 107.5 kB / 16.36 MB, free: 5.996 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.001129/0.001129, allocations: 194 kB / 17.3 MB, free: 5.605 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.462/1.462, allocations: 205.1 MB / 223.2 MB, free: 12.24 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.861/1.861, allocations: 292.3 MB / 0.5496 GB, free: 17.52 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.001438/0.001438, allocations: 63.91 kB / 0.6729 GB, free: 5.879 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2314/0.2328, allocations: 114.6 MB / 0.7848 GB, free: 3.199 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax): time 0.002008/0.2349, allocations: 0.6442 MB / 0.7854 GB, free: 2.547 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0001327/0.235, allocations: 7.938 kB / 0.7854 GB, free: 2.539 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.348e-05/0.2351, allocations: 4 kB / 0.7854 GB, free: 2.535 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 9.085e-05/0.2352, allocations: 7.938 kB / 0.7855 GB, free: 2.527 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 3.263e-05/0.2352, allocations: 3.984 kB / 0.7855 GB, free: 2.523 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 6.825e-05/0.2353, allocations: 0 / 0.7855 GB, free: 2.523 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 9.076e-05/0.2354, allocations: 31.91 kB / 0.7855 GB, free: 2.492 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001424/0.2355, allocations: 31.98 kB / 0.7855 GB, free: 2.461 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 2.616e-05/0.2356, allocations: 11.94 kB / 0.7855 GB, free: 2.449 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 3.478e-05/0.2356, allocations: 15.92 kB / 0.7855 GB, free: 2.434 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.431e-05/0.2356, allocations: 0 / 0.7855 GB, free: 2.434 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 1.392e-05/0.2356, allocations: 4 kB / 0.7856 GB, free: 2.43 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 3.315e-05/0.2357, allocations: 11.94 kB / 0.7856 GB, free: 2.418 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.806e-05/0.2357, allocations: 19.88 kB / 0.7856 GB, free: 2.398 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 9.86e-05/0.2358, allocations: 63.78 kB / 0.7856 GB, free: 2.336 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.2358, allocations: 0 / 0.7856 GB, free: 2.336 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.323e-06/0.2358, allocations: 0 / 0.7856 GB, free: 2.336 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.625e-06/0.2359, allocations: 0 / 0.7856 GB, free: 2.336 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.0003074/0.2362, allocations: 351.4 kB / 0.786 GB, free: 1.941 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 2.884e-05/0.2362, allocations: 8.031 kB / 0.786 GB, free: 1.934 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.768e-05/0.2362, allocations: 8.844 kB / 0.786 GB, free: 1.926 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001548/0.2364, allocations: 184.2 kB / 0.7862 GB, free: 1.707 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.518e-06/0.2364, allocations: 4.375 kB / 0.7862 GB, free: 1.703 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.396e-05/0.2364, allocations: 4.375 kB / 0.7862 GB, free: 1.699 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001625/0.2366, allocations: 86.09 kB / 0.7863 GB, free: 1.609 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.051e-06/0.2366, allocations: 192 / 0.7863 GB, free: 1.609 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.528e-06/0.2366, allocations: 3.938 kB / 0.7863 GB, free: 1.605 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.2367, allocations: 4 kB / 0.7863 GB, free: 1.602 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.881e-05/0.2367, allocations: 51.91 kB / 0.7863 GB, free: 1.551 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004723/0.2372, allocations: 479.1 kB / 0.7868 GB, free: 1.031 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 8.4e-05/0.2373, allocations: 181.1 kB / 0.7869 GB, free: 0.8438 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.832e-05/0.2373, allocations: 80.14 kB / 0.787 GB, free: 0.7617 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.437e-05/0.2374, allocations: 75.28 kB / 0.7871 GB, free: 0.6875 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.923e-05/0.2374, allocations: 105.8 kB / 0.7872 GB, free: 0.5742 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=0): time 9.42e-07/0.2374, allocations: 0 / 0.7872 GB, free: 0.5742 MB / 0.6544 GB Notification: Performance of matching and sorting (n=0): time 7.17e-05/0.2375, allocations: 37.61 kB / 0.7872 GB, free: 0.5312 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.131e-05/0.2376, allocations: 130.7 kB / 0.7874 GB, free: 400 kB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001425/0.2377, allocations: 173.7 kB / 0.7875 GB, free: 216 kB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.691e-05/0.2377, allocations: 25.7 kB / 0.7875 GB, free: 184 kB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 5.286e-05/0.2378, allocations: 96.12 kB / 0.7876 GB, free: 84 kB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 4.238e-06/0.2378, allocations: 0 / 0.7876 GB, free: 84 kB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.581e-05/0.2378, allocations: 13.66 kB / 0.7877 GB, free: 64 kB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.4574/0.6952, allocations: 322.8 kB / 0.788 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.282e-05/0.6953, allocations: 2.188 kB / 0.788 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.13e-05/0.6954, allocations: 13.08 kB / 0.788 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.74e-05/0.6954, allocations: 15.45 kB / 0.788 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.6954, allocations: 0 / 0.788 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001666/0.6956, allocations: 53.5 kB / 0.788 GB, free: 48.29 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.144e-05/0.6956, allocations: 9.938 kB / 0.788 GB, free: 48.29 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/0.6956, allocations: 0 / 0.788 GB, free: 48.29 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.724e-05/0.6957, allocations: 0.75 kB / 0.7881 GB, free: 48.29 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.559e-05/0.6958, allocations: 3.375 kB / 0.7881 GB, free: 48.29 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.205e-06/0.6958, allocations: 5.812 kB / 0.7881 GB, free: 48.29 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.666e-05/0.6958, allocations: 10.58 kB / 0.7881 GB, free: 48.29 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.959e-06/0.6958, allocations: 3 kB / 0.7881 GB, free: 48.29 MB / 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 9.525e-05/0.6959, allocations: 195.3 kB / 0.7883 GB, free: 48.1 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.921e-05/0.696, allocations: 109.7 kB / 0.7884 GB, free: 47.99 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.398e-05/0.696, allocations: 110.5 kB / 0.7885 GB, free: 47.89 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.718e-05/0.6961, allocations: 190.1 kB / 0.7886 GB, free: 47.71 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.659e-05/0.6961, allocations: 179.5 kB / 0.7888 GB, free: 47.53 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.813e-05/0.6961, allocations: 178 kB / 0.789 GB, free: 47.35 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001721/0.6963, allocations: 421.6 kB / 0.7894 GB, free: 46.91 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.496e-05/0.6963, allocations: 107.4 kB / 0.7895 GB, free: 46.8 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.557e-05/0.6963, allocations: 106.2 kB / 0.7896 GB, free: 46.7 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.544e-05/0.6964, allocations: 180 kB / 0.7898 GB, free: 46.52 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.887e-05/0.6964, allocations: 183.9 kB / 0.7899 GB, free: 46.34 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.84e-05/0.6964, allocations: 190.6 kB / 0.7901 GB, free: 46.15 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.977e-05/0.6965, allocations: 187.8 kB / 0.7903 GB, free: 45.97 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.922e-05/0.6966, allocations: 306.6 kB / 0.7906 GB, free: 45.66 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 4.536e-05/0.6967, allocations: 190.7 kB / 0.7908 GB, free: 45.46 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.805e-05/0.6967, allocations: 180.5 kB / 0.791 GB, free: 45.29 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.687e-05/0.6968, allocations: 108.4 kB / 0.7911 GB, free: 45.18 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.01e-05/0.6968, allocations: 180.2 kB / 0.7912 GB, free: 45 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.766e-05/0.6968, allocations: 110.9 kB / 0.7913 GB, free: 44.89 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 7.514e-05/0.6969, allocations: 130.1 kB / 0.7915 GB, free: 44.82 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6969, allocations: 0 / 0.7915 GB, free: 44.82 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002474/0.6972, allocations: 6.812 kB / 0.7915 GB, free: 44.82 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.0001326/0.6973, allocations: 177.5 kB / 0.7916 GB, free: 44.66 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 7.748e-05/0.6974, allocations: 10.94 kB / 0.7916 GB, free: 44.66 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.6974, allocations: 0.5312 kB / 0.7916 GB, free: 44.66 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 2.976e-06/0.6974, allocations: 1.812 kB / 0.7916 GB, free: 44.66 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003936/0.6978, allocations: 464.8 kB / 0.7921 GB, free: 44.21 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002545/0.6981, allocations: 210.4 kB / 0.7923 GB, free: 44.03 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001453/0.6982, allocations: 0.6945 MB / 0.793 GB, free: 43.34 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 2.757e-05/0.6983, allocations: 3.844 kB / 0.793 GB, free: 43.34 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.446e-05/0.6983, allocations: 11.38 kB / 0.793 GB, free: 43.33 MB / 0.6544 GB Notification: Performance of SimCode: time 7.41e-07/0.6983, allocations: 1.906 kB / 0.793 GB, free: 43.33 MB / 0.6544 GB Notification: Performance of Templates: time 0.002421/0.7007, allocations: 464.3 kB / 0.7934 GB, free: 43.33 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.pipe 2>&1)