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/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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr,fileNamePrefix="Buildings_maint_7_0_x_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.3-maint.7.0.x/package.mo): time 1.561/1.561, allocations: 252 MB / 267.3 MB, free: 10.85 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.00152/0.00152, allocations: 178.1 kB / 327 MB, free: 2.102 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.074/2.074, allocations: 205.4 MB / 0.578 GB, free: 20.14 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.0006912/0.0006913, allocations: 90.34 kB / 0.6826 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000373/0.0003732, allocations: 10.22 kB / 0.7971 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2325/0.2329, allocations: 106.3 MB / 0.9009 GB, free: 63.41 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr): time 0.001962/0.2349, allocations: 1.299 MB / 0.9022 GB, free: 62.1 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.000783/0.2358, allocations: 320 kB / 0.9025 GB, free: 61.78 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001225/0.2359, allocations: 3.938 kB / 0.9025 GB, free: 61.78 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.00012/0.2361, allocations: 7.922 kB / 0.9025 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 9.861e-05/0.2362, allocations: 27.78 kB / 0.9025 GB, free: 61.74 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002859/0.2365, allocations: 67.89 kB / 0.9026 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002465/0.2367, allocations: 183.3 kB / 0.9028 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001736/0.2369, allocations: 41.47 kB / 0.9028 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001134/0.237, allocations: 59.72 kB / 0.9029 GB, free: 61.39 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001066/0.2371, allocations: 59.69 kB / 0.9029 GB, free: 61.33 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 4.355e-05/0.2372, allocations: 8 kB / 0.903 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 3.51e-05/0.2372, allocations: 4 kB / 0.903 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 6.515e-05/0.2373, allocations: 43.83 kB / 0.903 GB, free: 61.28 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001185/0.2374, allocations: 89.3 kB / 0.9031 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002008/0.2377, allocations: 155.7 kB / 0.9032 GB, free: 61.03 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.2377, allocations: 0 / 0.9032 GB, free: 61.03 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.423e-06/0.2377, allocations: 0 / 0.9032 GB, free: 61.03 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 9.858e-06/0.2377, allocations: 4 kB / 0.9032 GB, free: 61.03 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.001049/0.2388, allocations: 490.9 kB / 0.9037 GB, free: 60.5 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.633e-05/0.2388, allocations: 12.03 kB / 0.9037 GB, free: 60.48 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.877e-05/0.2389, allocations: 50.67 kB / 0.9038 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.364e-05/0.239, allocations: 20.75 kB / 0.9038 GB, free: 60.41 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002257/0.2392, allocations: 228 kB / 0.904 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.719e-05/0.2392, allocations: 8.375 kB / 0.904 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.596e-05/0.2392, allocations: 12.38 kB / 0.904 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002604/0.2395, allocations: 171.8 kB / 0.9042 GB, free: 59.95 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.164e-05/0.2395, allocations: 3.938 kB / 0.9042 GB, free: 59.94 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.8e-05/0.2396, allocations: 4 kB / 0.9042 GB, free: 59.94 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.274e-06/0.2396, allocations: 4 kB / 0.9042 GB, free: 59.93 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001703/0.2397, allocations: 95.94 kB / 0.9043 GB, free: 59.84 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009638/0.2407, allocations: 0.6175 MB / 0.9049 GB, free: 59.17 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002679/0.241, allocations: 207.6 kB / 0.9051 GB, free: 58.94 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.93e-05/0.2411, allocations: 60.83 kB / 0.9051 GB, free: 58.88 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.506e-05/0.2411, allocations: 4 kB / 0.9051 GB, free: 58.87 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001825/0.2413, allocations: 132.4 kB / 0.9053 GB, free: 58.73 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=20): time 2.254e-06/0.2413, allocations: 3.938 kB / 0.9053 GB, free: 58.73 MB / 0.6042 GB Notification: Performance of matching and sorting (n=20): time 0.0003887/0.2417, allocations: 223.6 kB / 0.9055 GB, free: 58.5 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.101e-05/0.2418, allocations: 55.36 kB / 0.9055 GB, free: 58.44 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001256/0.2419, allocations: 177 kB / 0.9057 GB, free: 58.26 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.713e-05/0.2419, allocations: 33.7 kB / 0.9057 GB, free: 58.22 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.929e-05/0.242, allocations: 116.5 kB / 0.9059 GB, free: 58.1 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.63e-05/0.242, allocations: 35.84 kB / 0.9059 GB, free: 58.07 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.082e-05/0.242, allocations: 4 kB / 0.9059 GB, free: 58.06 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.077e-05/0.2421, allocations: 330.8 kB / 0.9062 GB, free: 57.73 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.415e-05/0.2422, allocations: 43.98 kB / 0.9063 GB, free: 57.69 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.235e-05/0.2423, allocations: 113.8 kB / 0.9064 GB, free: 57.55 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001709/0.2424, allocations: 131.9 kB / 0.9065 GB, free: 57.41 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.2425, allocations: 4 kB / 0.9065 GB, free: 57.4 MB / 0.6042 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002509/0.2427, allocations: 181.3 kB / 0.9067 GB, free: 57.22 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.452e-05/0.2427, allocations: 11.94 kB / 0.9067 GB, free: 57.21 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.2428, allocations: 3.938 kB / 0.9067 GB, free: 57.2 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.897e-05/0.2428, allocations: 4 kB / 0.9067 GB, free: 57.2 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.241e-05/0.2429, allocations: 15.98 kB / 0.9067 GB, free: 57.18 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.367e-06/0.2429, allocations: 7.938 kB / 0.9067 GB, free: 57.18 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002083/0.2431, allocations: 48.06 kB / 0.9067 GB, free: 57.13 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.374e-05/0.2431, allocations: 4 kB / 0.9068 GB, free: 57.12 MB / 0.6042 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[2],mulOr2.y,mulOr5.u[1],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 () * 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.0001512/0.2433, allocations: 145.1 kB / 0.9069 GB, free: 56.97 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.748e-05/0.2433, allocations: 31.72 kB / 0.9069 GB, free: 56.94 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.347e-05/0.2434, allocations: 21.28 kB / 0.9069 GB, free: 56.92 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.2434, allocations: 7.938 kB / 0.907 GB, free: 56.91 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.198e-06/0.2434, allocations: 0 / 0.907 GB, free: 56.91 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.2434, allocations: 3.938 kB / 0.907 GB, free: 56.91 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004668/0.2439, allocations: 0.4959 MB / 0.9074 GB, free: 56.36 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.2439, allocations: 0 / 0.9074 GB, free: 56.36 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.328e-05/0.2439, allocations: 11.94 kB / 0.9074 GB, free: 56.35 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.007e-06/0.244, allocations: 3.984 kB / 0.9075 GB, free: 56.34 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.404e-05/0.244, allocations: 8 kB / 0.9075 GB, free: 56.34 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.244, allocations: 0 / 0.9075 GB, free: 56.34 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/0.244, allocations: 4.062 kB / 0.9075 GB, free: 56.33 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000222/0.2442, allocations: 266 kB / 0.9077 GB, free: 56.06 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.119e-05/0.2443, allocations: 92.86 kB / 0.9078 GB, free: 55.95 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.327e-05/0.2443, allocations: 4 kB / 0.9078 GB, free: 55.95 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001904/0.2445, allocations: 39.95 kB / 0.9078 GB, free: 55.91 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.461e-05/0.2446, allocations: 35.91 kB / 0.9079 GB, free: 55.87 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.203e-05/0.2446, allocations: 8 kB / 0.9079 GB, free: 55.86 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 6.753e-05/0.2447, allocations: 123.1 kB / 0.908 GB, free: 55.74 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2447, allocations: 0 / 0.908 GB, free: 55.74 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002761/0.245, allocations: 36 kB / 0.908 GB, free: 55.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: 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.0004552/0.2454, allocations: 0.8135 MB / 0.9088 GB, free: 54.87 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002431/0.2457, allocations: 143.8 kB / 0.909 GB, free: 54.73 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.2457, allocations: 384 / 0.909 GB, free: 54.73 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001116/0.2458, allocations: 85.91 kB / 0.9091 GB, free: 54.64 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004073/0.2462, allocations: 39.97 kB / 0.9091 GB, free: 54.61 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001743/0.248, allocations: 2.026 MB / 0.9111 GB, free: 52.46 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001541/0.2481, allocations: 0.7284 MB / 0.9118 GB, free: 51.71 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 9.659e-05/0.2482, allocations: 33.52 kB / 0.9118 GB, free: 51.68 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.191e-05/0.2483, allocations: 47.42 kB / 0.9119 GB, free: 51.63 MB / 0.6042 GB Notification: Performance of SimCode: time 2.11e-07/0.2483, allocations: 0 / 0.9119 GB, free: 51.63 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01436/0.2627, allocations: 3.656 MB / 0.9154 GB, free: 48.14 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001446/0.2629, allocations: 214 kB / 0.9156 GB, free: 47.88 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.789/2.052, allocations: 0 / 0.9156 GB, free: 47.88 MB / 0.6042 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe 2>&1)