Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.Discrete.Examples.BooleanDelay.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.Discrete.Examples.BooleanDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.Discrete.Examples.BooleanDelay") translateModel(Buildings.Controls.Discrete.Examples.BooleanDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.Discrete.Examples.BooleanDelay") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.645/2.645, allocations: 251.3 MB / 266.2 MB, free: 11.54 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001362/0.001362, allocations: 180.6 kB / 325.8 MB, free: 2.812 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.558/2.558, allocations: 205.4 MB / 0.5767 GB, free: 20.83 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008721/0.0008717, allocations: 88.53 kB / 0.6812 GB, free: 13.6 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006683/0.0006686, allocations: 15.73 kB / 0.7953 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2444/0.2451, allocations: 106.2 MB / 0.899 GB, free: 65.46 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Discrete.Examples.BooleanDelay): time 0.001843/0.247, allocations: 1.137 MB / 0.9001 GB, free: 64.31 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0008919/0.2479, allocations: 471.9 kB / 0.9006 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.387e-05/0.248, allocations: 0 / 0.9006 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.948e-05/0.248, allocations: 0 / 0.9006 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001041/0.2481, allocations: 11.92 kB / 0.9006 GB, free: 63.83 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.000162/0.2483, allocations: 19.91 kB / 0.9006 GB, free: 63.81 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 8.99e-05/0.2484, allocations: 43.8 kB / 0.9006 GB, free: 63.77 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.014e-05/0.2485, allocations: 8 kB / 0.9007 GB, free: 63.76 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.568e-05/0.2486, allocations: 15.92 kB / 0.9007 GB, free: 63.74 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 8.186e-05/0.2487, allocations: 19.92 kB / 0.9007 GB, free: 63.72 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.011e-05/0.2487, allocations: 4 kB / 0.9007 GB, free: 63.72 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.331e-05/0.2487, allocations: 0 / 0.9007 GB, free: 63.72 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.403e-05/0.2488, allocations: 11.98 kB / 0.9007 GB, free: 63.71 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.553e-05/0.2488, allocations: 33.64 kB / 0.9007 GB, free: 63.67 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 8.127e-05/0.2489, allocations: 31.94 kB / 0.9008 GB, free: 63.64 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.2489, allocations: 0 / 0.9008 GB, free: 63.64 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.583e-06/0.2489, allocations: 0 / 0.9008 GB, free: 63.64 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.448e-06/0.249, allocations: 0 / 0.9008 GB, free: 63.64 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.0006522/0.2496, allocations: 394.7 kB / 0.9011 GB, free: 63.2 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.199e-05/0.2497, allocations: 8.031 kB / 0.9012 GB, free: 63.19 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.348e-05/0.2497, allocations: 4.938 kB / 0.9012 GB, free: 63.19 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001169/0.2499, allocations: 164.4 kB / 0.9013 GB, free: 62.99 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.207e-05/0.2499, allocations: 4.375 kB / 0.9013 GB, free: 62.98 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.985e-05/0.2499, allocations: 8.375 kB / 0.9013 GB, free: 62.98 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001452/0.2501, allocations: 61.92 kB / 0.9014 GB, free: 62.91 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.2501, allocations: 0 / 0.9014 GB, free: 62.91 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.483e-05/0.2501, allocations: 4 kB / 0.9014 GB, free: 62.91 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/0.2501, allocations: 0 / 0.9014 GB, free: 62.91 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.551e-05/0.2502, allocations: 19.98 kB / 0.9014 GB, free: 62.89 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004289/0.2507, allocations: 272.7 kB / 0.9017 GB, free: 62.57 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 9.858e-05/0.2508, allocations: 42.45 kB / 0.9017 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.48e-05/0.2508, allocations: 28.97 kB / 0.9017 GB, free: 62.49 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.551e-05/0.2509, allocations: 4 kB / 0.9017 GB, free: 62.48 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002079/0.2511, allocations: 97.16 kB / 0.9018 GB, free: 62.37 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=9): time 2.585e-06/0.2511, allocations: 0 / 0.9018 GB, free: 62.37 MB / 0.6042 GB Notification: Performance of matching and sorting (n=9): time 0.0003377/0.2515, allocations: 139.2 kB / 0.902 GB, free: 62.22 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.678e-05/0.2515, allocations: 89.38 kB / 0.902 GB, free: 62.12 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.733e-05/0.2516, allocations: 110.2 kB / 0.9022 GB, free: 62 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.774e-05/0.2517, allocations: 33.7 kB / 0.9022 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.817e-05/0.2517, allocations: 84.08 kB / 0.9023 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.495e-05/0.2517, allocations: 15.81 kB / 0.9023 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.642e-06/0.2518, allocations: 0 / 0.9023 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.877e-05/0.2518, allocations: 326.8 kB / 0.9026 GB, free: 61.53 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.596e-05/0.2519, allocations: 12 kB / 0.9026 GB, free: 61.52 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.168e-05/0.252, allocations: 38.5 kB / 0.9026 GB, free: 61.47 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.767e-05/0.252, allocations: 61.69 kB / 0.9027 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.2521, allocations: 0 / 0.9027 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002017/0.2523, allocations: 127.2 kB / 0.9028 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 3.312e-05/0.2523, allocations: 29.7 kB / 0.9029 GB, free: 61.23 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.2523, allocations: 0 / 0.9029 GB, free: 61.23 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.519e-05/0.2524, allocations: 4 kB / 0.9029 GB, free: 61.23 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.945e-05/0.2524, allocations: 8 kB / 0.9029 GB, free: 61.22 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.2524, allocations: 0 / 0.9029 GB, free: 61.22 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001097/0.2526, allocations: 16.05 kB / 0.9029 GB, free: 61.21 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.057e-05/0.2526, allocations: 0 / 0.9029 GB, free: 61.21 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.del.firstTrigger,del.firstTrigger,$whenCondition2,$whenCondition1,$whenCondition3,del.y,del.sampleTrigger,del.ySample,booleanPulse.y,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 1 * 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 0.0001405/0.2527, allocations: 155.4 kB / 0.903 GB, free: 61.04 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.225e-05/0.2528, allocations: 7.906 kB / 0.903 GB, free: 61.03 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.417e-05/0.2528, allocations: 16.36 kB / 0.903 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/0.2528, allocations: 0 / 0.903 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.2528, allocations: 0 / 0.903 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.2528, allocations: 0 / 0.903 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004747/0.2533, allocations: 408.1 kB / 0.9034 GB, free: 60.55 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.2534, allocations: 0 / 0.9034 GB, free: 60.55 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.136e-05/0.2534, allocations: 3.938 kB / 0.9034 GB, free: 60.55 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-06/0.2534, allocations: 0 / 0.9034 GB, free: 60.55 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.604e-05/0.2534, allocations: 4 kB / 0.9034 GB, free: 60.55 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.308e-06/0.2534, allocations: 3.984 kB / 0.9034 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.2534, allocations: 0 / 0.9034 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002459/0.2537, allocations: 245 kB / 0.9037 GB, free: 60.28 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.053e-05/0.2537, allocations: 77.11 kB / 0.9038 GB, free: 60.19 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.856e-05/0.2538, allocations: 4 kB / 0.9038 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001609/0.2539, allocations: 12.05 kB / 0.9038 GB, free: 60.17 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.408e-05/0.254, allocations: 15.94 kB / 0.9038 GB, free: 60.16 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.08e-05/0.254, allocations: 3.984 kB / 0.9038 GB, free: 60.15 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 4.133e-05/0.2541, allocations: 87.28 kB / 0.9039 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of sort global known variables: time 4.21e-07/0.2541, allocations: 0 / 0.9039 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002956/0.2544, allocations: 12 kB / 0.9039 GB, free: 60.05 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: 9 (del.sampleTrigger,$whenCondition2,$whenCondition1,$whenCondition3,del.y,del.firstTrigger,del.ySample,booleanPulse.y,booleanPulse.pulseStart) * Number of discrete states: 3 (del.ySample,del.y,$whenCondition3) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 2 * 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.0001119/0.2545, allocations: 109.3 kB / 0.904 GB, free: 59.94 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002158/0.2548, allocations: 115.3 kB / 0.9041 GB, free: 59.82 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.2548, allocations: 0 / 0.9041 GB, free: 59.82 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001017/0.2549, allocations: 87.39 kB / 0.9042 GB, free: 59.72 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003921/0.2553, allocations: 15.98 kB / 0.9042 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004337/0.2557, allocations: 160.7 kB / 0.9044 GB, free: 59.52 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000145/0.2559, allocations: 0.6898 MB / 0.905 GB, free: 58.8 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 4.2e-05/0.2559, allocations: 4 kB / 0.905 GB, free: 58.8 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.244e-05/0.256, allocations: 15.44 kB / 0.905 GB, free: 58.78 MB / 0.6042 GB Notification: Performance of SimCode: time 1.383e-06/0.256, allocations: 0 / 0.905 GB, free: 58.78 MB / 0.6042 GB Notification: Performance of Templates: time 0.00381/0.2598, allocations: 0.7369 MB / 0.9058 GB, free: 58.05 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Controls.Discrete.Examples.BooleanDelay.makefile (rm -f Buildings_7.0.0_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe ; mkfifo Buildings_7.0.0_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe >> ../files/Buildings_7.0.0_Buildings.Controls.Discrete.Examples.BooleanDelay.sim & ./Buildings_7.0.0_Buildings.Controls.Discrete.Examples.BooleanDelay -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe 2>&1)