Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.369/1.369, allocations: 252 MB / 268 MB, free: 10.84 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009552/0.0009553, allocations: 190.2 kB / 327.6 MB, free: 2.062 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.651/1.651, allocations: 205.4 MB / 0.5786 GB, free: 20.11 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009748/0.0009747, allocations: 90.28 kB / 0.6832 GB, free: 12.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003457/0.0003458, allocations: 9.031 kB / 0.7976 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2301/0.2305, allocations: 106.3 MB / 0.9015 GB, free: 63.45 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController): time 0.001644/0.2322, allocations: 1.145 MB / 0.9026 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0003558/0.2325, allocations: 140.4 kB / 0.9027 GB, free: 62.15 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.158e-05/0.2326, allocations: 0 / 0.9027 GB, free: 62.15 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.118e-05/0.2326, allocations: 0 / 0.9027 GB, free: 62.15 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.089e-05/0.2327, allocations: 3.938 kB / 0.9027 GB, free: 62.15 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001777/0.2329, allocations: 19.97 kB / 0.9027 GB, free: 62.13 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.86e-05/0.233, allocations: 43.84 kB / 0.9028 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001132/0.2331, allocations: 16 kB / 0.9028 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.674e-05/0.2332, allocations: 15.92 kB / 0.9028 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.34e-05/0.2332, allocations: 15.92 kB / 0.9028 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.165e-05/0.2332, allocations: 4 kB / 0.9028 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.151e-05/0.2333, allocations: 0 / 0.9028 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.075e-05/0.2333, allocations: 11.98 kB / 0.9028 GB, free: 62.02 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.089e-05/0.2333, allocations: 45.56 kB / 0.9029 GB, free: 61.97 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 7.227e-05/0.2334, allocations: 27.94 kB / 0.9029 GB, free: 61.95 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.2334, allocations: 0 / 0.9029 GB, free: 61.95 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.884e-06/0.2334, allocations: 0 / 0.9029 GB, free: 61.95 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.679e-06/0.2334, allocations: 0 / 0.9029 GB, free: 61.95 MB / 0.6042 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.0005851/0.234, allocations: 393.5 kB / 0.9033 GB, free: 61.51 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.2341, allocations: 8.031 kB / 0.9033 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.261e-05/0.2341, allocations: 12.88 kB / 0.9033 GB, free: 61.49 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.661e-05/0.2342, allocations: 168.3 kB / 0.9035 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.353e-05/0.2342, allocations: 4.375 kB / 0.9035 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.384e-05/0.2343, allocations: 384 / 0.9035 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001948/0.2345, allocations: 70.22 kB / 0.9035 GB, free: 61.21 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/0.2345, allocations: 192 / 0.9035 GB, free: 61.21 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.139e-05/0.2345, allocations: 11.92 kB / 0.9036 GB, free: 61.2 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.728e-06/0.2345, allocations: 0 / 0.9036 GB, free: 61.2 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00018/0.2347, allocations: 59.95 kB / 0.9036 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004818/0.2352, allocations: 304.7 kB / 0.9039 GB, free: 60.79 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002549/0.2354, allocations: 58.61 kB / 0.904 GB, free: 60.73 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.316e-05/0.2356, allocations: 40.86 kB / 0.904 GB, free: 60.68 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.116e-05/0.2356, allocations: 0 / 0.904 GB, free: 60.68 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.53e-05/0.2356, allocations: 34.5 kB / 0.904 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=3): time 9.92e-07/0.2356, allocations: 0 / 0.904 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3): time 0.0003501/0.236, allocations: 109.5 kB / 0.9041 GB, free: 60.53 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.213e-05/0.236, allocations: 51.41 kB / 0.9042 GB, free: 60.46 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.396e-05/0.2361, allocations: 117.8 kB / 0.9043 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 9.699e-06/0.2361, allocations: 25.7 kB / 0.9043 GB, free: 60.31 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.923e-05/0.2361, allocations: 92.12 kB / 0.9044 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.422e-05/0.2361, allocations: 7.906 kB / 0.9044 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.821e-06/0.2361, allocations: 4 kB / 0.9044 GB, free: 60.2 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.857e-05/0.2362, allocations: 314.8 kB / 0.9047 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.861e-05/0.2363, allocations: 31.97 kB / 0.9048 GB, free: 59.86 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.797e-05/0.2364, allocations: 31.92 kB / 0.9048 GB, free: 59.82 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001555/0.2366, allocations: 56.81 kB / 0.9048 GB, free: 59.77 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.2366, allocations: 0 / 0.9048 GB, free: 59.77 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001975/0.2368, allocations: 89.56 kB / 0.9049 GB, free: 59.67 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/0.2368, allocations: 8 kB / 0.9049 GB, free: 59.66 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.197e-06/0.2368, allocations: 0 / 0.9049 GB, free: 59.66 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.61e-05/0.2368, allocations: 0 / 0.9049 GB, free: 59.66 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.824e-05/0.2369, allocations: 11.98 kB / 0.9049 GB, free: 59.65 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.2369, allocations: 0 / 0.9049 GB, free: 59.65 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001074/0.237, allocations: 27.98 kB / 0.905 GB, free: 59.62 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.143e-06/0.2371, allocations: 0 / 0.905 GB, free: 59.62 MB / 0.6042 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.904e-05/0.2371, allocations: 117.7 kB / 0.9051 GB, free: 59.5 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.397e-05/0.2372, allocations: 7.906 kB / 0.9051 GB, free: 59.49 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002373/0.2374, allocations: 93.55 kB / 0.9052 GB, free: 59.39 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.305e-06/0.2374, allocations: 0 / 0.9052 GB, free: 59.39 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.2374, allocations: 0 / 0.9052 GB, free: 59.39 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.2374, allocations: 384 / 0.9052 GB, free: 59.39 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000128/0.2376, allocations: 173.6 kB / 0.9053 GB, free: 59.17 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.011e-06/0.2376, allocations: 0 / 0.9053 GB, free: 59.17 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.953e-05/0.2376, allocations: 12.36 kB / 0.9054 GB, free: 59.16 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-06/0.2376, allocations: 4 kB / 0.9054 GB, free: 59.15 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.897e-06/0.2377, allocations: 0 / 0.9054 GB, free: 59.15 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.2377, allocations: 4 kB / 0.9054 GB, free: 59.15 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.033e-06/0.2377, allocations: 3.938 kB / 0.9054 GB, free: 59.14 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002375/0.2379, allocations: 187.4 kB / 0.9055 GB, free: 58.95 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.079e-05/0.238, allocations: 85.02 kB / 0.9056 GB, free: 58.84 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.748e-05/0.238, allocations: 0 / 0.9056 GB, free: 58.84 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001327/0.2381, allocations: 23.97 kB / 0.9056 GB, free: 58.82 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.569e-05/0.2382, allocations: 11.92 kB / 0.9057 GB, free: 58.81 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.198e-06/0.2382, allocations: 4 kB / 0.9057 GB, free: 58.8 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.218e-05/0.2382, allocations: 91.27 kB / 0.9057 GB, free: 58.71 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2382, allocations: 0 / 0.9057 GB, free: 58.71 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001994/0.2384, allocations: 7.938 kB / 0.9058 GB, free: 58.71 MB / 0.6042 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 (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.0001267/0.2386, allocations: 103.2 kB / 0.9059 GB, free: 58.6 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002341/0.2388, allocations: 63.89 kB / 0.9059 GB, free: 58.54 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.2388, allocations: 0 / 0.9059 GB, free: 58.54 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001305/0.239, allocations: 27.98 kB / 0.9059 GB, free: 58.51 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003121/0.2393, allocations: 11.12 kB / 0.906 GB, free: 58.5 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003381/0.2396, allocations: 166.4 kB / 0.9061 GB, free: 58.31 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001586/0.2398, allocations: 0.6809 MB / 0.9068 GB, free: 57.6 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.907e-05/0.2399, allocations: 11.44 kB / 0.9068 GB, free: 57.59 MB / 0.6042 GB Notification: Performance of SimCode: time 5.41e-07/0.2399, allocations: 0 / 0.9068 GB, free: 57.59 MB / 0.6042 GB Notification: Performance of Templates: time 0.002105/0.242, allocations: 0.7743 MB / 0.9075 GB, free: 56.82 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe 2>&1)