Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr,fileNamePrefix="Buildings_8_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 8.1.4-maint.8.1.x/package.mo): time 1.938/1.938, allocations: 289.7 MB / 302.3 MB, free: 2.164 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001128/0.001128, allocations: 180.8 kB / 371.6 MB, free: 3.379 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.496/1.496, allocations: 205.1 MB / 0.6309 GB, free: 11.75 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000937/0.000937, allocations: 96.27 kB / 0.745 GB, free: 54.74 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0001081/0.0001084, allocations: 4 kB / 0.8663 GB, free: 14.95 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2742/0.2743, allocations: 116.3 MB / 0.9799 GB, free: 10.49 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8454/1.12, allocations: 139.2 MB / 1.116 GB, free: 44.53 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002426/1.12, allocations: 72.3 kB / 1.116 GB, free: 44.5 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.01879/1.139, allocations: 6.769 MB / 1.123 GB, free: 40.71 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.155e-06/1.139, allocations: 4 kB / 1.123 GB, free: 40.7 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.679e-05/1.139, allocations: 4 kB / 1.123 GB, free: 40.7 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0007893/1.14, allocations: 0.5618 MB / 1.123 GB, free: 40.11 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.069e-05/1.14, allocations: 8.031 kB / 1.123 GB, free: 40.1 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.304e-05/1.14, allocations: 49.84 kB / 1.123 GB, free: 40.05 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001545/1.14, allocations: 33.44 kB / 1.123 GB, free: 40.02 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004227/1.14, allocations: 258.5 kB / 1.123 GB, free: 39.78 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.172e-05/1.141, allocations: 21.08 kB / 1.123 GB, free: 39.77 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.701e-05/1.141, allocations: 30.81 kB / 1.124 GB, free: 39.75 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000273/1.141, allocations: 154.5 kB / 1.124 GB, free: 39.64 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/1.141, allocations: 0 / 1.124 GB, free: 39.64 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.737e-05/1.141, allocations: 3.375 kB / 1.124 GB, free: 39.64 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.222e-06/1.141, allocations: 4 kB / 1.124 GB, free: 39.63 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001378/1.141, allocations: 79.67 kB / 1.124 GB, free: 39.59 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009125/1.142, allocations: 0.7013 MB / 1.124 GB, free: 39.1 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001986/1.142, allocations: 167.2 kB / 1.125 GB, free: 38.94 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.893e-05/1.142, allocations: 45.5 kB / 1.125 GB, free: 38.91 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.239e-05/1.142, allocations: 4 kB / 1.125 GB, free: 38.9 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002221/1.143, allocations: 158.6 kB / 1.125 GB, free: 38.79 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=20): time 1.953e-06/1.143, allocations: 0.5625 kB / 1.125 GB, free: 38.79 MB / 0.7448 GB Notification: Performance of matching and sorting (n=20): time 0.0003783/1.143, allocations: 185.6 kB / 1.125 GB, free: 38.64 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.417e-05/1.143, allocations: 58.09 kB / 1.125 GB, free: 38.57 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001416/1.143, allocations: 173.5 kB / 1.125 GB, free: 38.43 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 6.621e-05/1.143, allocations: 36.64 kB / 1.125 GB, free: 38.39 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 8.521e-05/1.143, allocations: 132.8 kB / 1.125 GB, free: 38.28 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.05e-05/1.143, allocations: 39.53 kB / 1.125 GB, free: 38.25 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.806e-05/1.143, allocations: 11.44 kB / 1.125 GB, free: 38.25 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 7.419e-05/1.144, allocations: 332.7 kB / 1.126 GB, free: 37.93 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002925/1.144, allocations: 149.8 kB / 1.126 GB, free: 37.84 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003341/1.144, allocations: 237.5 kB / 1.126 GB, free: 37.63 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003544/1.145, allocations: 291.9 kB / 1.126 GB, free: 37.39 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/1.145, allocations: 0 / 1.126 GB, free: 37.39 MB / 0.7448 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009555/1.146, allocations: 0.6015 MB / 1.127 GB, free: 36.9 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 9.873e-05/1.146, allocations: 169.2 kB / 1.127 GB, free: 36.72 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.142e-05/1.146, allocations: 7.938 kB / 1.127 GB, free: 36.71 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.075e-05/1.146, allocations: 4 kB / 1.127 GB, free: 36.71 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.758e-05/1.146, allocations: 7.938 kB / 1.127 GB, free: 36.71 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.353e-05/1.146, allocations: 11.41 kB / 1.127 GB, free: 36.7 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007625/1.146, allocations: 181.2 kB / 1.127 GB, free: 36.56 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.669e-05/1.147, allocations: 38.98 kB / 1.127 GB, free: 36.54 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 26 ($whenCondition9,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,mulOr2.y,mulOr5.y,mulOr5.uTemp[2],mulOr5.uTemp[3],mulOr5.uTemp[4],$PRE.booPul1.y,booPul1.y,$PRE.booPul2.y,booPul2.y,$PRE.booPul3.y,booPul3.y,$PRE.booPul4.y,booPul4.y,$PRE.booPul5.y,booPul5.y,mulOr0.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 5 * 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.0001447/1.147, allocations: 143.6 kB / 1.127 GB, free: 36.4 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.077e-05/1.147, allocations: 16.44 kB / 1.127 GB, free: 36.39 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.833e-05/1.147, allocations: 19.19 kB / 1.128 GB, free: 36.38 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/1.147, allocations: 0 / 1.128 GB, free: 36.38 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.554e-06/1.147, allocations: 0 / 1.128 GB, free: 36.38 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/1.147, allocations: 0 / 1.128 GB, free: 36.38 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005826/1.147, allocations: 0.5067 MB / 1.128 GB, free: 35.93 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.23e-06/1.147, allocations: 3.891 kB / 1.128 GB, free: 35.93 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.136e-05/1.148, allocations: 7.938 kB / 1.128 GB, free: 35.93 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/1.148, allocations: 0 / 1.128 GB, free: 35.93 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.678e-05/1.148, allocations: 11.27 kB / 1.128 GB, free: 35.92 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/1.148, allocations: 0 / 1.128 GB, free: 35.92 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/1.148, allocations: 0 / 1.128 GB, free: 35.92 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002775/1.148, allocations: 277.4 kB / 1.128 GB, free: 35.68 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.747e-05/1.148, allocations: 92.92 kB / 1.128 GB, free: 35.57 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.638e-05/1.148, allocations: 3.281 kB / 1.128 GB, free: 35.57 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.501e-05/1.148, allocations: 3.625 kB / 1.128 GB, free: 35.57 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.968e-05/1.148, allocations: 26.12 kB / 1.128 GB, free: 35.56 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.616e-05/1.148, allocations: 11.28 kB / 1.128 GB, free: 35.55 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 7.562e-05/1.148, allocations: 113.9 kB / 1.129 GB, free: 35.46 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.3e-07/1.148, allocations: 0 / 1.129 GB, free: 35.46 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0004049/1.149, allocations: 82.89 kB / 1.129 GB, free: 35.39 MB / 0.7448 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],$whenCondition9,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,mulOr2.y,mulOr5.y,mulOr5.uTemp[3],mulOr5.uTemp[4],booPul1.y,booPul2.y,booPul3.y,booPul4.y,booPul5.y) * 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.0006462/1.149, allocations: 0.8341 MB / 1.129 GB, free: 34.59 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.000678/1.15, allocations: 0.6022 MB / 1.13 GB, free: 34.06 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/1.15, allocations: 4.844 kB / 1.13 GB, free: 34.05 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001081/1.15, allocations: 76.53 kB / 1.13 GB, free: 34 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003365/1.15, allocations: 49.08 kB / 1.13 GB, free: 33.98 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000653/1.151, allocations: 288.7 kB / 1.13 GB, free: 33.72 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002136/1.151, allocations: 0.7331 MB / 1.131 GB, free: 32.99 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 6.109e-05/1.151, allocations: 24.97 kB / 1.131 GB, free: 32.97 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.256e-05/1.151, allocations: 55.06 kB / 1.131 GB, free: 32.96 MB / 0.7448 GB Notification: Performance of SimCode: time 2.81e-07/1.151, allocations: 0 / 1.131 GB, free: 32.96 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01707/1.169, allocations: 5.843 MB / 1.137 GB, free: 29.71 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001512/1.169, allocations: 160.9 kB / 1.137 GB, free: 29.48 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.867/3.036, allocations: 3.938 kB / 1.137 GB, free: 29.48 MB / 0.7448 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe 2>&1)