Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.Continuous.Examples.OffTimer.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.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.Continuous.Examples.OffTimer") translateModel(Buildings.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.Continuous.Examples.OffTimer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00124/0.00124, allocations: 107.3 kB / 16.29 MB, free: 6.43 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.001137/0.001137, allocations: 184 kB / 17.22 MB, free: 5.934 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.6/1.6, allocations: 205.1 MB / 223.1 MB, free: 12.31 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.949/1.949, allocations: 292.3 MB / 0.5495 GB, free: 17.47 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.001475/0.001475, allocations: 63.91 kB / 0.6722 GB, free: 6.504 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2681/0.2696, allocations: 114.6 MB / 0.7841 GB, free: 3.832 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.OffTimer): time 0.002897/0.2726, allocations: 1.462 MB / 0.7855 GB, free: 2.352 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0007838/0.2734, allocations: 483.7 kB / 0.7859 GB, free: 1.871 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.137e-05/0.2734, allocations: 4 kB / 0.786 GB, free: 1.867 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.091e-05/0.2735, allocations: 7.922 kB / 0.786 GB, free: 1.859 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 8.193e-05/0.2736, allocations: 11.92 kB / 0.786 GB, free: 1.848 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001501/0.2737, allocations: 19.92 kB / 0.786 GB, free: 1.828 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 8.579e-05/0.2738, allocations: 51.84 kB / 0.786 GB, free: 1.777 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001143/0.2739, allocations: 15.97 kB / 0.7861 GB, free: 1.762 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 4.885e-05/0.274, allocations: 15.94 kB / 0.7861 GB, free: 1.746 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 6.243e-05/0.2741, allocations: 27.89 kB / 0.7861 GB, free: 1.719 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.952e-05/0.2741, allocations: 12 kB / 0.7861 GB, free: 1.707 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 1.333e-05/0.2741, allocations: 7.938 kB / 0.7861 GB, free: 1.699 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.289e-05/0.2741, allocations: 7.984 kB / 0.7861 GB, free: 1.691 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 5.221e-05/0.2742, allocations: 27.88 kB / 0.7862 GB, free: 1.664 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 9.493e-05/0.2743, allocations: 44.14 kB / 0.7862 GB, free: 1.621 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.2743, allocations: 0 / 0.7862 GB, free: 1.621 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.623e-06/0.2743, allocations: 0 / 0.7862 GB, free: 1.621 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 8.315e-06/0.2743, allocations: 0 / 0.7862 GB, free: 1.621 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0004841/0.2748, allocations: 359.3 kB / 0.7865 GB, free: 1.223 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.396e-05/0.2749, allocations: 16.03 kB / 0.7866 GB, free: 1.207 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.044e-05/0.2749, allocations: 4.844 kB / 0.7866 GB, free: 1.203 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001252/0.275, allocations: 168.3 kB / 0.7867 GB, free: 1 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.785e-05/0.2751, allocations: 8.375 kB / 0.7867 GB, free: 0.9922 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.486e-05/0.2751, allocations: 4.375 kB / 0.7867 GB, free: 0.9883 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001301/0.2752, allocations: 65.86 kB / 0.7868 GB, free: 0.918 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.2752, allocations: 0 / 0.7868 GB, free: 0.918 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.046e-05/0.2752, allocations: 0 / 0.7868 GB, free: 0.918 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.011e-05/0.2753, allocations: 4 kB / 0.7868 GB, free: 0.9141 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.971e-05/0.2753, allocations: 23.98 kB / 0.7868 GB, free: 0.8906 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004654/0.2758, allocations: 304.6 kB / 0.7871 GB, free: 0.543 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001115/0.2759, allocations: 54.56 kB / 0.7872 GB, free: 492 kB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.354e-05/0.276, allocations: 24.95 kB / 0.7872 GB, free: 464 kB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.134e-05/0.276, allocations: 0 / 0.7872 GB, free: 464 kB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002017/0.2762, allocations: 87.41 kB / 0.7873 GB, free: 364 kB / 0.6544 GB Notification: Performance of pre-optimization done (n=9): time 1.453e-06/0.2762, allocations: 0 / 0.7873 GB, free: 364 kB / 0.6544 GB Notification: Performance of matching and sorting (n=9): time 0.0002237/0.2764, allocations: 97.61 kB / 0.7874 GB, free: 260 kB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.424e-05/0.2765, allocations: 55.41 kB / 0.7874 GB, free: 192 kB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.861e-05/0.2766, allocations: 113.8 kB / 0.7875 GB, free: 68 kB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.127e-05/0.2766, allocations: 25.7 kB / 0.7875 GB, free: 36 kB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.4091/0.6857, allocations: 82.39 kB / 0.7876 GB, free: 48.89 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 4.544e-05/0.6858, allocations: 22.28 kB / 0.7876 GB, free: 48.89 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.605e-05/0.6859, allocations: 30.88 kB / 0.7877 GB, free: 48.87 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.066e-05/0.6859, allocations: 321.2 kB / 0.788 GB, free: 48.56 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.901e-05/0.686, allocations: 20.2 kB / 0.788 GB, free: 48.56 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.135e-05/0.686, allocations: 42.12 kB / 0.788 GB, free: 48.53 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.443e-05/0.6861, allocations: 67.73 kB / 0.7881 GB, free: 48.5 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.6861, allocations: 0.875 kB / 0.7881 GB, free: 48.5 MB / 0.6544 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001531/0.6863, allocations: 97.66 kB / 0.7882 GB, free: 48.46 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.691e-05/0.6863, allocations: 8.781 kB / 0.7882 GB, free: 48.46 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.6863, allocations: 0.6562 kB / 0.7882 GB, free: 48.46 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.912e-05/0.6863, allocations: 2.625 kB / 0.7882 GB, free: 48.46 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.053e-05/0.6864, allocations: 17.62 kB / 0.7882 GB, free: 48.46 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.664e-06/0.6865, allocations: 0 / 0.7882 GB, free: 48.46 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.627e-05/0.6865, allocations: 14.06 kB / 0.7882 GB, free: 48.46 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.148e-06/0.6866, allocations: 5.953 kB / 0.7882 GB, free: 48.46 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,not1.y,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,$whenCondition2,$whenCondition3,offTim1.entryTime,$PRE.offTim1.entryTime,offTim2.entryTime,$PRE.offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * 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 6.744e-05/0.6866, allocations: 116.7 kB / 0.7884 GB, free: 48.35 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.523e-05/0.6866, allocations: 7.375 kB / 0.7884 GB, free: 48.35 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.018e-05/0.6867, allocations: 8.906 kB / 0.7884 GB, free: 48.35 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.408e-06/0.6867, allocations: 7.078 kB / 0.7884 GB, free: 48.34 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.6867, allocations: 0 / 0.7884 GB, free: 48.34 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/0.6867, allocations: 2.453 kB / 0.7884 GB, free: 48.34 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003476/0.6871, allocations: 358.2 kB / 0.7887 GB, free: 48.05 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.6871, allocations: 3.938 kB / 0.7887 GB, free: 48.05 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.386e-05/0.6871, allocations: 3.156 kB / 0.7887 GB, free: 48.05 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.6871, allocations: 2.375 kB / 0.7887 GB, free: 48.05 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.157e-06/0.6871, allocations: 4.531 kB / 0.7887 GB, free: 48.05 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.6871, allocations: 3.828 kB / 0.7887 GB, free: 48.05 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.6871, allocations: 2.344 kB / 0.7887 GB, free: 48.05 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001205/0.6873, allocations: 183.3 kB / 0.7889 GB, free: 47.91 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.403e-05/0.6873, allocations: 89.14 kB / 0.789 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.433e-05/0.6873, allocations: 0 / 0.789 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.182e-05/0.6874, allocations: 8.375 kB / 0.789 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.833e-05/0.6875, allocations: 11.19 kB / 0.789 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.77e-06/0.6875, allocations: 3.094 kB / 0.789 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 2.912e-05/0.6875, allocations: 82.34 kB / 0.7891 GB, free: 47.74 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.01e-07/0.6875, allocations: 0 / 0.7891 GB, free: 47.74 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002499/0.6878, allocations: 15.75 kB / 0.7891 GB, free: 47.74 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: 7 (not1.y,$whenCondition3,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,offTim1.entryTime,offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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 8.756e-05/0.6879, allocations: 101.3 kB / 0.7892 GB, free: 47.66 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001285/0.688, allocations: 55.52 kB / 0.7893 GB, free: 47.66 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.688, allocations: 0 / 0.7893 GB, free: 47.66 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 4.667e-05/0.6881, allocations: 27.61 kB / 0.7893 GB, free: 47.66 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002824/0.6883, allocations: 22.36 kB / 0.7893 GB, free: 47.65 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003596/0.6887, allocations: 157 kB / 0.7895 GB, free: 47.54 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001096/0.6888, allocations: 0.6858 MB / 0.7901 GB, free: 46.85 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 2.444e-05/0.6889, allocations: 5.281 kB / 0.7901 GB, free: 46.85 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.056e-05/0.6889, allocations: 13.69 kB / 0.7902 GB, free: 46.84 MB / 0.6544 GB Notification: Performance of SimCode: time 2.4e-07/0.6889, allocations: 3.531 kB / 0.7902 GB, free: 46.84 MB / 0.6544 GB Notification: Performance of Templates: time 0.00278/0.6917, allocations: 0.7754 MB / 0.7909 GB, free: 46.84 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Controls.Continuous.Examples.OffTimer.makefile (rm -f Buildings_8_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo Buildings_8_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.Continuous.Examples.OffTimer.pipe >> ../files/Buildings_8_Buildings.Controls.Continuous.Examples.OffTimer.sim & ./Buildings_8_Buildings.Controls.Continuous.Examples.OffTimer -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Controls.Continuous.Examples.OffTimer.pipe 2>&1)