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.MultiOr.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 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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.OBC.CDL.Logical.Validation.MultiOr,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01124/0.01124, allocations: 100.4 kB / 15.73 MB, free: 6.047 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.002103/0.002103, allocations: 197.1 kB / 16.67 MB, free: 5.977 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.649/1.649, allocations: 205.1 MB / 222.5 MB, free: 4.523 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.671/1.671, allocations: 251.7 MB / 0.5094 GB, free: 3.039 MB / 414.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.001659/0.001659, allocations: 70.09 kB / 0.7258 GB, free: 8.977 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3037/0.3054, allocations: 104.7 MB / 0.8281 GB, free: 164 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr): time 0.003072/0.3085, allocations: 1.577 MB / 0.8296 GB, free: 14.57 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0007464/0.3093, allocations: 320 kB / 0.8299 GB, free: 14.26 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.252e-05/0.3094, allocations: 7.938 kB / 0.8299 GB, free: 14.25 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0001503/0.3095, allocations: 23.78 kB / 0.8299 GB, free: 14.23 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 8.927e-05/0.3096, allocations: 39.7 kB / 0.83 GB, free: 14.19 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002967/0.3099, allocations: 63.92 kB / 0.83 GB, free: 14.12 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0002681/0.3102, allocations: 195.2 kB / 0.8302 GB, free: 13.93 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002023/0.3104, allocations: 45.47 kB / 0.8303 GB, free: 13.88 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 8.691e-05/0.3105, allocations: 71.77 kB / 0.8303 GB, free: 13.81 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001006/0.3106, allocations: 67.69 kB / 0.8304 GB, free: 13.75 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.8e-05/0.3107, allocations: 16 kB / 0.8304 GB, free: 13.73 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 2.514e-05/0.3107, allocations: 12 kB / 0.8304 GB, free: 13.72 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 6.886e-05/0.3108, allocations: 51.83 kB / 0.8305 GB, free: 13.67 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 9.903e-05/0.3109, allocations: 71.61 kB / 0.8306 GB, free: 13.6 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.000234/0.3111, allocations: 187.3 kB / 0.8307 GB, free: 13.41 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.3111, allocations: 0 / 0.8307 GB, free: 13.41 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.894e-06/0.3112, allocations: 0 / 0.8307 GB, free: 13.41 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.362e-06/0.3112, allocations: 0 / 0.8307 GB, free: 13.41 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.0008736/0.312, allocations: 0.4908 MB / 0.8312 GB, free: 12.87 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.47e-05/0.3121, allocations: 8.031 kB / 0.8312 GB, free: 12.86 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.732e-05/0.3122, allocations: 28.69 kB / 0.8312 GB, free: 12.84 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002628/0.3124, allocations: 220 kB / 0.8315 GB, free: 12.58 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.885e-05/0.3125, allocations: 12.36 kB / 0.8315 GB, free: 12.57 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.716e-05/0.3125, allocations: 16.38 kB / 0.8315 GB, free: 12.55 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000286/0.3128, allocations: 160.3 kB / 0.8316 GB, free: 12.39 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.294e-05/0.3128, allocations: 4.172 kB / 0.8316 GB, free: 12.38 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.028e-05/0.3128, allocations: 7.938 kB / 0.8316 GB, free: 12.38 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.664e-06/0.3128, allocations: 4 kB / 0.8317 GB, free: 12.37 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001823/0.313, allocations: 107.9 kB / 0.8318 GB, free: 12.27 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001072/0.3141, allocations: 0.5746 MB / 0.8323 GB, free: 11.64 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000357/0.3145, allocations: 215.6 kB / 0.8325 GB, free: 11.4 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001045/0.3146, allocations: 56.84 kB / 0.8326 GB, free: 11.34 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.708e-05/0.3146, allocations: 0 / 0.8326 GB, free: 11.34 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002158/0.3148, allocations: 143.2 kB / 0.8327 GB, free: 11.19 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=20): time 1.412e-06/0.3149, allocations: 0 / 0.8327 GB, free: 11.19 MB / 0.6544 GB Notification: Performance of matching and sorting (n=20): time 0.0004258/0.3153, allocations: 220.3 kB / 0.8329 GB, free: 10.97 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.689e-05/0.3153, allocations: 63.39 kB / 0.833 GB, free: 10.89 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001654/0.3155, allocations: 177.5 kB / 0.8332 GB, free: 10.71 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.097e-05/0.3156, allocations: 33.7 kB / 0.8332 GB, free: 10.68 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 8.676e-05/0.3156, allocations: 116.5 kB / 0.8333 GB, free: 10.56 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 4.062e-05/0.3157, allocations: 39.81 kB / 0.8333 GB, free: 10.52 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.305e-05/0.3158, allocations: 53.7 kB / 0.8334 GB, free: 10.46 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001417/0.3159, allocations: 330.8 kB / 0.8337 GB, free: 10.13 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.539e-05/0.316, allocations: 51.98 kB / 0.8337 GB, free: 10.08 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001109/0.3161, allocations: 97.97 kB / 0.8338 GB, free: 9.961 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001528/0.3163, allocations: 136.4 kB / 0.834 GB, free: 9.809 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.3163, allocations: 0 / 0.834 GB, free: 9.809 MB / 0.6544 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002499/0.3166, allocations: 185.3 kB / 0.8341 GB, free: 9.621 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/0.3166, allocations: 4 kB / 0.8342 GB, free: 9.617 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.055e-05/0.3166, allocations: 8.125 kB / 0.8342 GB, free: 9.609 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.157e-05/0.3166, allocations: 8 kB / 0.8342 GB, free: 9.602 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.212e-05/0.3167, allocations: 15.92 kB / 0.8342 GB, free: 9.586 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.976e-06/0.3167, allocations: 4 kB / 0.8342 GB, free: 9.582 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001594/0.3169, allocations: 35.81 kB / 0.8342 GB, free: 9.547 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.495e-05/0.3169, allocations: 8 kB / 0.8342 GB, free: 9.539 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 26 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,booPul5.pulseStart,$PRE.booPul5.pulseStart,booPul4.pulseStart,$PRE.booPul4.pulseStart,booPul3.pulseStart,$PRE.booPul3.pulseStart,booPul2.pulseStart,$PRE.booPul2.pulseStart,booPul1.pulseStart,$PRE.booPul1.pulseStart,mulOr5.uTemp[4],mulOr5.uTemp[3],mulOr5.uTemp[2],mulOr5.y,mulOr5.u[5],mulOr5.u[4],mulOr5.u[3],mulOr5.u[1],mulOr2.y,mulOr2.u[2],mulOr0.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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 0.0001523/0.3171, allocations: 147.8 kB / 0.8344 GB, free: 9.387 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.284e-05/0.3171, allocations: 19.8 kB / 0.8344 GB, free: 9.367 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.749e-05/0.3172, allocations: 25.12 kB / 0.8344 GB, free: 9.34 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.968e-06/0.3172, allocations: 4.094 kB / 0.8344 GB, free: 9.336 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.653e-06/0.3172, allocations: 3.938 kB / 0.8344 GB, free: 9.332 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.3172, allocations: 0 / 0.8344 GB, free: 9.332 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006216/0.3178, allocations: 0.5099 MB / 0.8349 GB, free: 8.766 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.3178, allocations: 0 / 0.8349 GB, free: 8.766 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.129e-05/0.3179, allocations: 3.984 kB / 0.8349 GB, free: 8.762 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.318e-06/0.3179, allocations: 7.938 kB / 0.8349 GB, free: 8.754 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.393e-05/0.3179, allocations: 4 kB / 0.8349 GB, free: 8.75 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.957e-06/0.3179, allocations: 3.984 kB / 0.8349 GB, free: 8.746 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.524e-06/0.3179, allocations: 0 / 0.8349 GB, free: 8.746 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002862/0.3182, allocations: 278.2 kB / 0.8352 GB, free: 8.461 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 5.844e-05/0.3183, allocations: 85.02 kB / 0.8353 GB, free: 8.359 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.775e-05/0.3183, allocations: 11.98 kB / 0.8353 GB, free: 8.348 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001754/0.3185, allocations: 27.97 kB / 0.8353 GB, free: 8.32 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.268e-05/0.3186, allocations: 27.95 kB / 0.8353 GB, free: 8.293 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.337e-05/0.3186, allocations: 8 kB / 0.8354 GB, free: 8.285 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 9.012e-05/0.3187, allocations: 121.9 kB / 0.8355 GB, free: 8.168 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3187, allocations: 0 / 0.8355 GB, free: 8.168 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002875/0.319, allocations: 43.84 kB / 0.8355 GB, free: 8.125 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: 20 (mulOr5.uTemp[2],$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,mulOr2.u[2],mulOr2.y,mulOr5.u[1],mulOr5.u[3],mulOr5.u[4],mulOr5.u[5],mulOr5.y,mulOr5.uTemp[3],mulOr5.uTemp[4],booPul1.pulseStart,booPul2.pulseStart,booPul3.pulseStart,booPul4.pulseStart,booPul5.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.0002556/0.3193, allocations: 114.9 kB / 0.8356 GB, free: 8.004 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0003336/0.3196, allocations: 139.9 kB / 0.8358 GB, free: 7.867 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.3196, allocations: 0 / 0.8358 GB, free: 7.867 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001444/0.3198, allocations: 75.91 kB / 0.8358 GB, free: 7.793 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004347/0.3202, allocations: 56.52 kB / 0.8359 GB, free: 7.738 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008639/0.3211, allocations: 350.1 kB / 0.8362 GB, free: 7.371 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003826/0.3215, allocations: 0.7241 MB / 0.8369 GB, free: 6.621 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 9.02e-05/0.3216, allocations: 33.52 kB / 0.837 GB, free: 6.59 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.93e-05/0.3217, allocations: 27.38 kB / 0.837 GB, free: 6.562 MB / 0.6544 GB Notification: Performance of SimCode: time 2.31e-07/0.3217, allocations: 0 / 0.837 GB, free: 6.562 MB / 0.6544 GB Notification: Performance of Templates: time 0.006278/0.3279, allocations: 2.425 MB / 0.8394 GB, free: 4.164 MB / 0.6544 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe 2>&1)