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.001091/0.001091, allocations: 105.3 kB / 16.36 MB, free: 6.305 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.001139/0.001139, allocations: 192.1 kB / 17.29 MB, free: 5.875 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.487/1.487, 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.761/1.761, 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.001441/0.001441, allocations: 71.89 kB / 0.6729 GB, free: 5.832 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.231/0.2324, allocations: 114.6 MB / 0.7848 GB, free: 3.164 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax): time 0.00223/0.2347, allocations: 0.6507 MB / 0.7854 GB, free: 2.512 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0001614/0.2349, allocations: 15.92 kB / 0.7854 GB, free: 2.496 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.58e-05/0.235, allocations: 0 / 0.7854 GB, free: 2.496 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0001086/0.2351, allocations: 3.938 kB / 0.7855 GB, free: 2.492 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 4.001e-05/0.2352, allocations: 4 kB / 0.7855 GB, free: 2.488 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 7.634e-05/0.2352, allocations: 4 kB / 0.7855 GB, free: 2.484 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 9.272e-05/0.2353, allocations: 27.92 kB / 0.7855 GB, free: 2.457 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001654/0.2355, allocations: 31.97 kB / 0.7855 GB, free: 2.426 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 3.065e-05/0.2356, allocations: 11.98 kB / 0.7855 GB, free: 2.414 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 3.346e-05/0.2356, allocations: 15.88 kB / 0.7855 GB, free: 2.398 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.813e-05/0.2356, allocations: 7.938 kB / 0.7855 GB, free: 2.391 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 1.377e-05/0.2356, allocations: 4 kB / 0.7856 GB, free: 2.387 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 3.439e-05/0.2357, allocations: 12 kB / 0.7856 GB, free: 2.375 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.959e-05/0.2357, allocations: 19.86 kB / 0.7856 GB, free: 2.355 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001198/0.2358, allocations: 51.8 kB / 0.7856 GB, free: 2.305 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.421e-06/0.2359, allocations: 4 kB / 0.7856 GB, free: 2.301 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.713e-06/0.2359, allocations: 0 / 0.7856 GB, free: 2.301 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.114e-06/0.2359, allocations: 0 / 0.7856 GB, free: 2.301 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.0004254/0.2363, allocations: 343.4 kB / 0.786 GB, free: 1.914 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.274e-05/0.2364, allocations: 15.97 kB / 0.786 GB, free: 1.898 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.785e-05/0.2364, allocations: 4.844 kB / 0.786 GB, free: 1.895 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001944/0.2366, allocations: 184.2 kB / 0.7862 GB, free: 1.676 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.391e-05/0.2366, allocations: 12.36 kB / 0.7862 GB, free: 1.664 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.526e-05/0.2366, allocations: 4.375 kB / 0.7862 GB, free: 1.66 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001948/0.2368, allocations: 82.16 kB / 0.7863 GB, free: 1.574 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.2369, allocations: 192 / 0.7863 GB, free: 1.574 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.189e-05/0.2369, allocations: 3.938 kB / 0.7863 GB, free: 1.57 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.945e-06/0.2369, allocations: 4 kB / 0.7863 GB, free: 1.566 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.675e-05/0.237, allocations: 47.97 kB / 0.7863 GB, free: 1.52 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005518/0.2375, allocations: 483.1 kB / 0.7868 GB, free: 0.9961 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001009/0.2376, allocations: 169.1 kB / 0.7869 GB, free: 0.8203 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.893e-05/0.2377, allocations: 84.14 kB / 0.787 GB, free: 0.7344 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 3.879e-05/0.2377, allocations: 75.28 kB / 0.7871 GB, free: 0.6602 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.039e-05/0.2378, allocations: 109.8 kB / 0.7872 GB, free: 0.543 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=0): time 1.032e-06/0.2378, allocations: 4 kB / 0.7872 GB, free: 0.5391 MB / 0.6544 GB Notification: Performance of matching and sorting (n=0): time 8.306e-05/0.2379, allocations: 37.55 kB / 0.7872 GB, free: 0.4961 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001009/0.238, allocations: 126.8 kB / 0.7873 GB, free: 368 kB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001924/0.2382, allocations: 180.5 kB / 0.7875 GB, free: 180 kB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.233e-05/0.2382, allocations: 29.7 kB / 0.7875 GB, free: 144 kB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 6.432e-05/0.2383, allocations: 88.14 kB / 0.7876 GB, free: 52 kB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.875e-06/0.2383, allocations: 0 / 0.7876 GB, free: 52 kB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.11e-05/0.2383, allocations: 17.72 kB / 0.7876 GB, free: 28 kB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.3812/0.6195, allocations: 322.8 kB / 0.788 GB, free: 48.46 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.828e-05/0.6196, allocations: 6.656 kB / 0.788 GB, free: 48.46 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.024e-05/0.6197, allocations: 5.406 kB / 0.788 GB, free: 48.46 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.465e-05/0.6197, allocations: 18.11 kB / 0.788 GB, free: 48.45 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.6197, allocations: 0 / 0.788 GB, free: 48.45 MB / 0.6544 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001605/0.6199, allocations: 53.22 kB / 0.788 GB, free: 48.42 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.924e-05/0.6199, allocations: 5.938 kB / 0.788 GB, free: 48.42 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.6199, allocations: 1.969 kB / 0.788 GB, free: 48.42 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.485e-05/0.62, allocations: 0 / 0.788 GB, free: 48.42 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.078e-05/0.62, allocations: 3.062 kB / 0.788 GB, free: 48.42 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.542e-06/0.6201, allocations: 5.969 kB / 0.7881 GB, free: 48.42 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.419e-05/0.6201, allocations: 11.81 kB / 0.7881 GB, free: 48.42 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.155e-05/0.6201, allocations: 6.969 kB / 0.7881 GB, free: 48.42 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 7.339e-05/0.6202, allocations: 193.3 kB / 0.7883 GB, free: 48.23 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.784e-05/0.6202, allocations: 109.3 kB / 0.7884 GB, free: 48.12 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.663e-05/0.6203, allocations: 117.3 kB / 0.7885 GB, free: 48.02 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.593e-05/0.6203, allocations: 181.8 kB / 0.7886 GB, free: 47.84 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.281e-05/0.6203, allocations: 180.4 kB / 0.7888 GB, free: 47.66 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.035e-05/0.6204, allocations: 183.8 kB / 0.789 GB, free: 47.48 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001721/0.6206, allocations: 421.4 kB / 0.7894 GB, free: 47.04 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.532e-05/0.6206, allocations: 104.2 kB / 0.7895 GB, free: 46.93 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.655e-05/0.6206, allocations: 106.3 kB / 0.7896 GB, free: 46.83 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-05/0.6206, allocations: 182.7 kB / 0.7898 GB, free: 46.65 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.968e-05/0.6207, allocations: 180 kB / 0.7899 GB, free: 46.47 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.12e-05/0.6207, allocations: 192.9 kB / 0.7901 GB, free: 46.29 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.843e-05/0.6207, allocations: 178.9 kB / 0.7903 GB, free: 46.11 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.074e-05/0.6208, allocations: 311.2 kB / 0.7906 GB, free: 45.8 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 4.581e-05/0.6209, allocations: 189.7 kB / 0.7908 GB, free: 45.6 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.077e-05/0.6209, allocations: 183.2 kB / 0.7909 GB, free: 45.42 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.39e-05/0.621, allocations: 109.1 kB / 0.7911 GB, free: 45.31 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.471e-05/0.621, allocations: 179.9 kB / 0.7912 GB, free: 45.13 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.516e-05/0.6211, allocations: 105.1 kB / 0.7913 GB, free: 45.02 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 8.335e-05/0.6211, allocations: 131.3 kB / 0.7914 GB, free: 44.95 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.61e-07/0.6212, allocations: 0 / 0.7914 GB, free: 44.95 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002344/0.6214, allocations: 5.312 kB / 0.7915 GB, free: 44.95 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.0001248/0.6215, allocations: 177.9 kB / 0.7916 GB, free: 44.79 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 8e-05/0.6216, allocations: 16.28 kB / 0.7916 GB, free: 44.79 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.6216, allocations: 2.688 kB / 0.7916 GB, free: 44.79 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 2.394e-06/0.6216, allocations: 0 / 0.7916 GB, free: 44.79 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003531/0.622, allocations: 462.4 kB / 0.7921 GB, free: 44.34 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002761/0.6223, allocations: 237.6 kB / 0.7923 GB, free: 44.13 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001274/0.6224, allocations: 0.6896 MB / 0.793 GB, free: 43.44 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.656e-05/0.6224, allocations: 11.44 kB / 0.793 GB, free: 43.43 MB / 0.6544 GB Notification: Performance of SimCode: time 2.01e-07/0.6224, allocations: 0 / 0.793 GB, free: 43.43 MB / 0.6544 GB Notification: Performance of Templates: time 0.002048/0.6245, allocations: 0.7678 MB / 0.7937 GB, free: 43.43 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 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.pipe 2>&1)