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.001283/0.001283, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00138/0.00138, allocations: 194.6 kB / 16.53 MB, free: 6.391 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.41/1.41, allocations: 205.1 MB / 222.4 MB, free: 4.59 MB / 174.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.769/1.769, allocations: 292.3 MB / 0.5489 GB, free: 13.51 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.001395/0.001395, allocations: 66.14 kB / 0.6715 GB, free: 26.07 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2193/0.2207, allocations: 114.5 MB / 0.7834 GB, free: 13.6 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.OffTimer): time 0.00281/0.2236, allocations: 1.474 MB / 0.7848 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0007656/0.2244, allocations: 480.8 kB / 0.7852 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.947e-05/0.2244, allocations: 0 / 0.7852 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.221e-05/0.2245, allocations: 11.92 kB / 0.7853 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.983e-05/0.2246, allocations: 3.938 kB / 0.7853 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001637/0.2247, allocations: 19.92 kB / 0.7853 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 9.499e-05/0.2248, allocations: 55.84 kB / 0.7853 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001457/0.225, allocations: 27.84 kB / 0.7854 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 5.702e-05/0.225, allocations: 16 kB / 0.7854 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.997e-05/0.2251, allocations: 23.84 kB / 0.7854 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.075e-05/0.2251, allocations: 4 kB / 0.7854 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.418e-05/0.2252, allocations: 12 kB / 0.7854 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.134e-05/0.2252, allocations: 4 kB / 0.7854 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.99e-05/0.2253, allocations: 27.86 kB / 0.7854 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001011/0.2254, allocations: 36.16 kB / 0.7855 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.434e-06/0.2254, allocations: 4 kB / 0.7855 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.575e-06/0.2254, allocations: 0 / 0.7855 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.643e-06/0.2254, allocations: 0 / 0.7855 GB, free: 11.39 MB / 0.6075 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.0005594/0.226, allocations: 355.4 kB / 0.7858 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.611e-05/0.226, allocations: 8.031 kB / 0.7858 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.365e-05/0.2261, allocations: 20.81 kB / 0.7859 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001626/0.2262, allocations: 176.3 kB / 0.786 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.404e-05/0.2262, allocations: 384 / 0.786 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.358e-05/0.2263, allocations: 4.375 kB / 0.786 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001377/0.2264, allocations: 61.98 kB / 0.7861 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.438e-06/0.2264, allocations: 0 / 0.7861 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.498e-05/0.2264, allocations: 4 kB / 0.7861 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.2265, allocations: 0 / 0.7861 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.857e-05/0.2265, allocations: 27.92 kB / 0.7861 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005367/0.2271, allocations: 304.7 kB / 0.7864 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001267/0.2272, allocations: 50.67 kB / 0.7865 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.737e-05/0.2273, allocations: 28.88 kB / 0.7865 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.138e-05/0.2273, allocations: 3.938 kB / 0.7865 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002047/0.2275, allocations: 75.38 kB / 0.7866 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=9): time 1.683e-06/0.2275, allocations: 0 / 0.7866 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9): time 0.0002421/0.2277, allocations: 101.5 kB / 0.7867 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.516e-05/0.2278, allocations: 63.39 kB / 0.7867 GB, free: 9.945 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.759e-05/0.2279, allocations: 97.86 kB / 0.7868 GB, free: 9.84 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.863e-05/0.2279, allocations: 29.7 kB / 0.7868 GB, free: 9.805 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.098e-05/0.228, allocations: 92.11 kB / 0.7869 GB, free: 9.711 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.561e-05/0.228, allocations: 27.66 kB / 0.7869 GB, free: 9.684 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.465e-05/0.2281, allocations: 29.7 kB / 0.787 GB, free: 9.648 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001193/0.2282, allocations: 318.8 kB / 0.7873 GB, free: 9.328 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.913e-05/0.2282, allocations: 23.92 kB / 0.7873 GB, free: 9.305 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.611e-05/0.2283, allocations: 39.42 kB / 0.7873 GB, free: 9.254 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.917e-05/0.2284, allocations: 67.38 kB / 0.7874 GB, free: 9.176 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.2284, allocations: 0 / 0.7874 GB, free: 9.176 MB / 0.6075 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001538/0.2286, allocations: 101.8 kB / 0.7875 GB, free: 9.07 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.2286, allocations: 4 kB / 0.7875 GB, free: 9.066 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/0.2286, allocations: 3.984 kB / 0.7875 GB, free: 9.062 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.723e-05/0.2286, allocations: 4 kB / 0.7875 GB, free: 9.059 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.699e-05/0.2287, allocations: 11.98 kB / 0.7875 GB, free: 9.047 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.508e-06/0.2287, allocations: 3.938 kB / 0.7875 GB, free: 9.043 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.437e-05/0.2288, allocations: 8.062 kB / 0.7875 GB, free: 9.035 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.256e-06/0.2288, allocations: 8.031 kB / 0.7875 GB, free: 9.027 MB / 0.6075 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 9.758e-05/0.2289, allocations: 128.1 kB / 0.7877 GB, free: 8.898 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.44e-05/0.2289, allocations: 7.984 kB / 0.7877 GB, free: 8.891 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.11e-05/0.229, allocations: 7.969 kB / 0.7877 GB, free: 8.879 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.229, allocations: 0 / 0.7877 GB, free: 8.879 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.229, allocations: 0 / 0.7877 GB, free: 8.879 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.292e-06/0.229, allocations: 4 kB / 0.7877 GB, free: 8.875 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003728/0.2294, allocations: 366.3 kB / 0.788 GB, free: 8.461 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.2294, allocations: 0 / 0.788 GB, free: 8.461 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.707e-05/0.2294, allocations: 7.938 kB / 0.788 GB, free: 8.453 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.2294, allocations: 0 / 0.788 GB, free: 8.453 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.183e-05/0.2294, allocations: 4.453 kB / 0.788 GB, free: 8.449 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.898e-06/0.2294, allocations: 3.938 kB / 0.7881 GB, free: 8.445 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.2294, allocations: 4 kB / 0.7881 GB, free: 8.441 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001501/0.2296, allocations: 183.3 kB / 0.7882 GB, free: 8.246 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.485e-05/0.2297, allocations: 89.03 kB / 0.7883 GB, free: 8.141 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.429e-05/0.2297, allocations: 0 / 0.7883 GB, free: 8.141 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.231e-05/0.2298, allocations: 11.94 kB / 0.7883 GB, free: 8.129 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.703e-05/0.2298, allocations: 7.984 kB / 0.7883 GB, free: 8.121 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.474e-06/0.2298, allocations: 4 kB / 0.7883 GB, free: 8.117 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.776e-05/0.2299, allocations: 87.27 kB / 0.7884 GB, free: 8.031 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2299, allocations: 0 / 0.7884 GB, free: 8.031 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002237/0.2301, allocations: 12 kB / 0.7884 GB, free: 8.02 MB / 0.6075 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 9.974e-05/0.2302, allocations: 103.2 kB / 0.7885 GB, free: 7.91 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001464/0.2304, allocations: 59.86 kB / 0.7886 GB, free: 7.852 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.2304, allocations: 0 / 0.7886 GB, free: 7.852 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 5.015e-05/0.2304, allocations: 23.98 kB / 0.7886 GB, free: 7.828 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002729/0.2307, allocations: 16.92 kB / 0.7886 GB, free: 7.812 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003912/0.2311, allocations: 161.4 kB / 0.7888 GB, free: 7.629 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000223/0.2313, allocations: 0.6846 MB / 0.7894 GB, free: 6.918 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.687e-05/0.2314, allocations: 7.984 kB / 0.7895 GB, free: 6.91 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.836e-05/0.2314, allocations: 11.44 kB / 0.7895 GB, free: 6.898 MB / 0.6075 GB Notification: Performance of SimCode: time 2.31e-07/0.2314, allocations: 0 / 0.7895 GB, free: 6.898 MB / 0.6075 GB Notification: Performance of Templates: time 0.002913/0.2343, allocations: 0.7799 MB / 0.7902 GB, free: 6.125 MB / 0.6075 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 -lv LOG_STATS > Buildings_8_Buildings.Controls.Continuous.Examples.OffTimer.pipe 2>&1)