Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.conf.json 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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.449/2.449, allocations: 248.5 MB / 261.1 MB, free: 6.051 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001503/0.001502, allocations: 180.9 kB / 320.4 MB, free: 15.3 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.933/1.933, allocations: 205.2 MB / 0.571 GB, free: 11.77 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.001114/0.001114, allocations: 98.41 kB / 0.6754 GB, free: 0.8555 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.997e-05/5.012e-05, allocations: 8 kB / 0.7869 GB, free: 97.77 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2258/0.2259, allocations: 106.3 MB / 0.8907 GB, free: 7.41 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8911/1.117, allocations: 131.5 MB / 1.019 GB, free: 3.781 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002833/1.117, allocations: 72.78 kB / 1.019 GB, free: 3.742 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.009615/1.127, allocations: 2.151 MB / 1.021 GB, free: 1.816 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.403e-06/1.127, allocations: 0 / 1.021 GB, free: 1.816 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.791e-05/1.127, allocations: 6.625 kB / 1.021 GB, free: 1.812 MB / 0.6355 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.00102/1.128, allocations: 469 kB / 1.022 GB, free: 1.32 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.441e-05/1.128, allocations: 12.03 kB / 1.022 GB, free: 1.309 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.404e-05/1.128, allocations: 45.55 kB / 1.022 GB, free: 1.262 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.767e-05/1.128, allocations: 15.81 kB / 1.022 GB, free: 1.246 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003707/1.129, allocations: 231.8 kB / 1.022 GB, free: 0.9922 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.045e-05/1.129, allocations: 11.06 kB / 1.022 GB, free: 0.9844 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.778e-05/1.129, allocations: 15.56 kB / 1.022 GB, free: 0.9727 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000398/1.129, allocations: 159.8 kB / 1.022 GB, free: 0.8398 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.195e-05/1.129, allocations: 0 / 1.022 GB, free: 0.8398 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.265e-05/1.129, allocations: 7.875 kB / 1.022 GB, free: 0.8359 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.949e-06/1.129, allocations: 4 kB / 1.022 GB, free: 0.832 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003052/1.13, allocations: 99.45 kB / 1.022 GB, free: 0.7617 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001545/1.131, allocations: 0.6054 MB / 1.023 GB, free: 168 kB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004148/1.132, allocations: 206.5 kB / 1.023 GB, free: 15.97 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001528/1.132, allocations: 66.41 kB / 1.023 GB, free: 15.92 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.203e-05/1.132, allocations: 0 / 1.023 GB, free: 15.92 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003084/1.132, allocations: 128.3 kB / 1.023 GB, free: 15.8 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=20): time 2.515e-06/1.132, allocations: 0 / 1.023 GB, free: 15.8 MB / 0.6511 GB Notification: Performance of matching and sorting (n=20): time 0.0004776/1.133, allocations: 159.2 kB / 1.023 GB, free: 15.67 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.044e-05/1.133, allocations: 55.41 kB / 1.023 GB, free: 15.6 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002069/1.133, allocations: 166 kB / 1.024 GB, free: 15.46 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.636e-05/1.133, allocations: 37.44 kB / 1.024 GB, free: 15.42 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 8.662e-05/1.133, allocations: 110.1 kB / 1.024 GB, free: 15.32 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 5.608e-05/1.133, allocations: 41.94 kB / 1.024 GB, free: 15.28 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.407e-05/1.133, allocations: 3.312 kB / 1.024 GB, free: 15.28 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.000145/1.133, allocations: 330.3 kB / 1.024 GB, free: 14.96 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001428/1.133, allocations: 50.36 kB / 1.024 GB, free: 14.92 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001872/1.134, allocations: 100.6 kB / 1.024 GB, free: 14.82 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001235/1.134, allocations: 46.28 kB / 1.024 GB, free: 14.79 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/1.134, allocations: 0 / 1.024 GB, free: 14.79 MB / 0.6511 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004193/1.134, allocations: 184 kB / 1.025 GB, free: 14.63 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.011e-05/1.134, allocations: 8 kB / 1.025 GB, free: 14.62 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.047e-05/1.134, allocations: 3.984 kB / 1.025 GB, free: 14.62 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.449e-05/1.134, allocations: 4 kB / 1.025 GB, free: 14.62 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001355/1.134, allocations: 19.25 kB / 1.025 GB, free: 14.6 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.028e-05/1.135, allocations: 0 / 1.025 GB, free: 14.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003609/1.135, allocations: 48.02 kB / 1.025 GB, free: 14.56 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.327e-05/1.135, allocations: 8.062 kB / 1.025 GB, free: 14.55 MB / 0.6511 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,mulOr2.u[1],mulOr2.u[2],mulOr2.y,mulOr5.u[3],mulOr5.u[4],mulOr5.u[5],mulOr5.y,mulOr5.uTemp[2],mulOr5.uTemp[3],mulOr5.uTemp[4],$PRE.booPul1.pulseStart,booPul1.pulseStart,$PRE.booPul2.pulseStart,booPul2.pulseStart,$PRE.booPul3.pulseStart,booPul3.pulseStart,$PRE.booPul4.pulseStart,booPul4.pulseStart,$PRE.booPul5.pulseStart,booPul5.pulseStart,mulOr0.y) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001366/1.135, allocations: 135.8 kB / 1.025 GB, free: 14.42 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.01e-05/1.135, allocations: 11.81 kB / 1.025 GB, free: 14.41 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.206e-05/1.135, allocations: 24.11 kB / 1.025 GB, free: 14.39 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.712e-06/1.135, allocations: 11.94 kB / 1.025 GB, free: 14.38 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/1.135, allocations: 0 / 1.025 GB, free: 14.38 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/1.135, allocations: 0 / 1.025 GB, free: 14.38 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008914/1.136, allocations: 0.4945 MB / 1.025 GB, free: 13.89 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/1.136, allocations: 0 / 1.025 GB, free: 13.89 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.735e-05/1.136, allocations: 11.75 kB / 1.025 GB, free: 13.89 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.79e-06/1.136, allocations: 0 / 1.025 GB, free: 13.89 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.828e-05/1.136, allocations: 0 / 1.025 GB, free: 13.89 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.262e-06/1.136, allocations: 4 kB / 1.025 GB, free: 13.88 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.988e-06/1.136, allocations: 7.984 kB / 1.025 GB, free: 13.88 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004315/1.137, allocations: 256.5 kB / 1.026 GB, free: 13.64 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 7.019e-05/1.137, allocations: 92.91 kB / 1.026 GB, free: 13.53 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.565e-05/1.137, allocations: 3.312 kB / 1.026 GB, free: 13.53 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003516/1.137, allocations: 39.41 kB / 1.026 GB, free: 13.5 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001313/1.137, allocations: 35.38 kB / 1.026 GB, free: 13.46 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.108e-05/1.137, allocations: 7.375 kB / 1.026 GB, free: 13.46 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001226/1.138, allocations: 121.6 kB / 1.026 GB, free: 13.35 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.61e-07/1.138, allocations: 0 / 1.026 GB, free: 13.35 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.000362/1.138, allocations: 33.75 kB / 1.026 GB, free: 13.32 MB / 0.6511 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[1],mulOr2.u[2],mulOr2.y,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 () * 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 (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.0008099/1.139, allocations: 0.8091 MB / 1.027 GB, free: 12.52 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0003977/1.139, allocations: 135.6 kB / 1.027 GB, free: 12.43 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/1.139, allocations: 0 / 1.027 GB, free: 12.43 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0002071/1.139, allocations: 77.31 kB / 1.027 GB, free: 12.37 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004982/1.14, allocations: 43.41 kB / 1.027 GB, free: 12.33 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001047/1.141, allocations: 298.2 kB / 1.027 GB, free: 12.05 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000366/1.141, allocations: 0.7363 MB / 1.028 GB, free: 11.29 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001671/1.142, allocations: 33.47 kB / 1.028 GB, free: 11.25 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001277/1.142, allocations: 48.11 kB / 1.028 GB, free: 11.23 MB / 0.6511 GB Notification: Performance of SimCode: time 9.02e-07/1.142, allocations: 3.938 kB / 1.028 GB, free: 11.23 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02762/1.169, allocations: 3.682 MB / 1.032 GB, free: 7.676 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002847/1.17, allocations: 162.8 kB / 1.032 GB, free: 7.449 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.497/3.667, allocations: 0 / 1.032 GB, free: 7.449 MB / 0.6511 GB