Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.641/2.641, allocations: 287.5 MB / 302.4 MB, free: 8.266 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001391/0.001392, allocations: 185.1 kB / 371 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.428/2.428, allocations: 205.4 MB / 0.6297 GB, free: 10.61 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009925/0.0009924, allocations: 88.53 kB / 0.743 GB, free: 6.617 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005321/0.0005325, allocations: 16.52 kB / 0.8658 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2305/0.231, allocations: 115.3 MB / 0.9784 GB, free: 28.34 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController): time 0.0009799/0.2321, allocations: 434.4 kB / 0.9788 GB, free: 27.91 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001072/0.2332, allocations: 0.8244 MB / 0.9796 GB, free: 27.07 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.734e-05/0.2333, allocations: 0 / 0.9796 GB, free: 27.07 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.278e-05/0.2333, allocations: 11.86 kB / 0.9796 GB, free: 27.06 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.273e-05/0.2334, allocations: 3.984 kB / 0.9796 GB, free: 27.06 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001694/0.2336, allocations: 19.86 kB / 0.9796 GB, free: 27.04 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 8.673e-05/0.2337, allocations: 35.92 kB / 0.9797 GB, free: 27 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001032/0.2338, allocations: 15.98 kB / 0.9797 GB, free: 26.99 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 7.086e-05/0.2339, allocations: 11.94 kB / 0.9797 GB, free: 26.98 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.508e-05/0.2339, allocations: 15.92 kB / 0.9797 GB, free: 26.96 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.24e-05/0.234, allocations: 0 / 0.9797 GB, free: 26.96 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.531e-05/0.234, allocations: 4 kB / 0.9797 GB, free: 26.96 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.631e-05/0.234, allocations: 11.97 kB / 0.9797 GB, free: 26.95 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.463e-05/0.234, allocations: 25.7 kB / 0.9797 GB, free: 26.91 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 7.385e-05/0.2341, allocations: 35.88 kB / 0.9798 GB, free: 26.88 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.2341, allocations: 0 / 0.9798 GB, free: 26.88 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.795e-06/0.2342, allocations: 0 / 0.9798 GB, free: 26.88 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.78e-06/0.2342, allocations: 4 kB / 0.9798 GB, free: 26.88 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007702/0.2349, allocations: 387.5 kB / 0.9801 GB, free: 26.45 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.244e-05/0.235, allocations: 8.031 kB / 0.9802 GB, free: 26.44 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.416e-05/0.2351, allocations: 7.906 kB / 0.9802 GB, free: 26.43 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.774e-05/0.2352, allocations: 171 kB / 0.9803 GB, free: 26.23 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.76e-05/0.2352, allocations: 8 kB / 0.9803 GB, free: 26.22 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.503e-05/0.2352, allocations: 0 / 0.9803 GB, free: 26.22 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000272/0.2355, allocations: 73.66 kB / 0.9804 GB, free: 26.14 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/0.2355, allocations: 0 / 0.9804 GB, free: 26.14 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.445e-05/0.2355, allocations: 0 / 0.9804 GB, free: 26.14 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.59e-06/0.2356, allocations: 0 / 0.9804 GB, free: 26.14 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000307/0.2359, allocations: 59.89 kB / 0.9805 GB, free: 26.08 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000693/0.2366, allocations: 304.7 kB / 0.9808 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003646/0.237, allocations: 58.55 kB / 0.9808 GB, free: 25.67 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001538/0.2371, allocations: 36.92 kB / 0.9808 GB, free: 25.63 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.93e-05/0.2372, allocations: 4 kB / 0.9808 GB, free: 25.62 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.762e-05/0.2372, allocations: 30.56 kB / 0.9809 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 2.184e-06/0.2372, allocations: 4 kB / 0.9809 GB, free: 25.58 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0005522/0.2378, allocations: 101.6 kB / 0.981 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.893e-05/0.2378, allocations: 59.36 kB / 0.981 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.483e-05/0.2379, allocations: 113.8 kB / 0.9811 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.554e-05/0.238, allocations: 33.7 kB / 0.9812 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.113e-05/0.238, allocations: 88.12 kB / 0.9813 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.333e-05/0.238, allocations: 15.75 kB / 0.9813 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.27e-06/0.2381, allocations: 3.938 kB / 0.9813 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.085e-05/0.2381, allocations: 314.8 kB / 0.9816 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001525/0.2383, allocations: 31.97 kB / 0.9816 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001441/0.2384, allocations: 23.98 kB / 0.9816 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001427/0.2386, allocations: 19.98 kB / 0.9816 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.2386, allocations: 3.984 kB / 0.9817 GB, free: 24.74 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0003543/0.239, allocations: 89.66 kB / 0.9817 GB, free: 24.65 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.873e-05/0.239, allocations: 4 kB / 0.9817 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.239, allocations: 0 / 0.9817 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.648e-05/0.239, allocations: 0 / 0.9817 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001206/0.2392, allocations: 12 kB / 0.9818 GB, free: 24.63 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.407e-06/0.2392, allocations: 15.94 kB / 0.9818 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001853/0.2394, allocations: 23.92 kB / 0.9818 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.159e-05/0.2394, allocations: 3.984 kB / 0.9818 GB, free: 24.59 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($PRE.onOffController.y,onOffController.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.11e-05/0.2395, allocations: 113.8 kB / 0.9819 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.681e-05/0.2396, allocations: 11.91 kB / 0.9819 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003788/0.2399, allocations: 89.55 kB / 0.982 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.24, allocations: 384 / 0.982 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.24, allocations: 0 / 0.982 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.24, allocations: 3.953 kB / 0.982 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001849/0.2402, allocations: 169.6 kB / 0.9822 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.2402, allocations: 4 kB / 0.9822 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001331/0.2403, allocations: 12 kB / 0.9822 GB, free: 24.13 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.701e-06/0.2404, allocations: 3.984 kB / 0.9822 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.18e-05/0.2404, allocations: 3.984 kB / 0.9822 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.055e-06/0.2404, allocations: 0 / 0.9822 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.377e-06/0.2404, allocations: 0 / 0.9822 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000373/0.2408, allocations: 187.3 kB / 0.9824 GB, free: 23.92 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.052e-05/0.2408, allocations: 81.11 kB / 0.9824 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.123e-05/0.2409, allocations: 0 / 0.9824 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002185/0.2411, allocations: 23.97 kB / 0.9825 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.601e-05/0.2412, allocations: 11.98 kB / 0.9825 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.408e-06/0.2412, allocations: 0 / 0.9825 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.025e-05/0.2413, allocations: 95.58 kB / 0.9826 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.092e-06/0.2413, allocations: 0 / 0.9826 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002824/0.2416, allocations: 11.94 kB / 0.9826 GB, free: 23.68 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (onOffController.y) * Number of discrete states: 1 (onOffController.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001271/0.2417, allocations: 95.25 kB / 0.9827 GB, free: 23.58 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003647/0.2421, allocations: 63.89 kB / 0.9827 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.2421, allocations: 0 / 0.9827 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001593/0.2422, allocations: 27.98 kB / 0.9828 GB, free: 23.49 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003573/0.2426, allocations: 13.98 kB / 0.9828 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003386/0.243, allocations: 132.7 kB / 0.9829 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001338/0.2431, allocations: 0.6809 MB / 0.9836 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 5.37e-05/0.2432, allocations: 7.906 kB / 0.9836 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.911e-05/0.2432, allocations: 7.438 kB / 0.9836 GB, free: 22.6 MB / 0.6198 GB Notification: Performance of SimCode: time 1.042e-06/0.2432, allocations: 4 kB / 0.9836 GB, free: 22.6 MB / 0.6198 GB Notification: Performance of Templates: time 0.003448/0.2467, allocations: 0.6349 MB / 0.9842 GB, free: 21.97 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe 2>&1)