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.Or.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.Or,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_Or",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Or,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_Or",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.445/1.445, allocations: 252 MB / 267.3 MB, free: 10.84 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.001039/0.001039, allocations: 176 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 1.962/1.962, allocations: 205.4 MB / 0.578 GB, free: 20.17 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.0007761/0.0007761, allocations: 99.23 kB / 0.6826 GB, free: 12.76 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004078/0.0004078, allocations: 8.844 kB / 0.7971 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2852/0.2856, allocations: 106.3 MB / 0.9009 GB, free: 63.38 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or): time 0.00163/0.2873, allocations: 1.108 MB / 0.902 GB, free: 62.26 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0003993/0.2877, allocations: 204.3 kB / 0.9022 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.107e-05/0.2878, allocations: 0 / 0.9022 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.113e-05/0.2878, allocations: 0 / 0.9022 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 9.159e-05/0.2879, allocations: 11.92 kB / 0.9022 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001518/0.2881, allocations: 12 kB / 0.9022 GB, free: 62.03 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 8.541e-05/0.2882, allocations: 63.7 kB / 0.9023 GB, free: 61.97 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001094/0.2883, allocations: 8 kB / 0.9023 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.531e-05/0.2884, allocations: 23.92 kB / 0.9023 GB, free: 61.94 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.732e-05/0.2884, allocations: 19.92 kB / 0.9023 GB, free: 61.92 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.169e-05/0.2885, allocations: 0 / 0.9023 GB, free: 61.92 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.905e-05/0.2885, allocations: 4 kB / 0.9023 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.456e-05/0.2885, allocations: 3.984 kB / 0.9023 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 5.483e-05/0.2886, allocations: 45.58 kB / 0.9024 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 8.95e-05/0.2887, allocations: 43.84 kB / 0.9024 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.876e-06/0.2887, allocations: 4 kB / 0.9024 GB, free: 61.81 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.675e-06/0.2887, allocations: 3.984 kB / 0.9024 GB, free: 61.81 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.737e-06/0.2887, allocations: 3.938 kB / 0.9024 GB, free: 61.8 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.0005353/0.2892, allocations: 367.6 kB / 0.9028 GB, free: 61.39 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.402e-05/0.2893, allocations: 12.03 kB / 0.9028 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.435e-05/0.2893, allocations: 34.69 kB / 0.9028 GB, free: 61.34 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.489e-05/0.2894, allocations: 4.938 kB / 0.9028 GB, free: 61.34 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001052/0.2895, allocations: 184.2 kB / 0.903 GB, free: 61.12 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.48e-05/0.2895, allocations: 4.375 kB / 0.903 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.406e-05/0.2895, allocations: 4.375 kB / 0.903 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000113/0.2896, allocations: 46.25 kB / 0.9031 GB, free: 61.06 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.2897, allocations: 7.938 kB / 0.9031 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.799e-06/0.2897, allocations: 0 / 0.9031 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.2897, allocations: 0 / 0.9031 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.451e-05/0.2897, allocations: 27.92 kB / 0.9031 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004144/0.2902, allocations: 288.7 kB / 0.9034 GB, free: 60.69 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 9.359e-05/0.2903, allocations: 42.56 kB / 0.9034 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.277e-05/0.2903, allocations: 16.98 kB / 0.9034 GB, free: 60.62 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.045e-05/0.2904, allocations: 0 / 0.9034 GB, free: 60.62 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001499/0.2905, allocations: 71.33 kB / 0.9035 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 1.142e-06/0.2905, allocations: 0 / 0.9035 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.0002111/0.2907, allocations: 89.67 kB / 0.9036 GB, free: 60.45 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.683e-05/0.2908, allocations: 51.41 kB / 0.9036 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.49e-05/0.2909, allocations: 117.8 kB / 0.9038 GB, free: 60.26 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.203e-05/0.2909, allocations: 29.7 kB / 0.9038 GB, free: 60.22 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.187e-05/0.2909, allocations: 88.2 kB / 0.9039 GB, free: 60.13 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.61e-05/0.291, allocations: 19.8 kB / 0.9039 GB, free: 60.11 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.531e-06/0.291, allocations: 0 / 0.9039 GB, free: 60.11 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.826e-05/0.291, allocations: 318.8 kB / 0.9042 GB, free: 59.79 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.968e-05/0.2911, allocations: 19.98 kB / 0.9042 GB, free: 59.77 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.079e-05/0.2911, allocations: 34.52 kB / 0.9042 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.697e-05/0.2912, allocations: 46.56 kB / 0.9043 GB, free: 59.68 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.2912, allocations: 0 / 0.9043 GB, free: 59.68 MB / 0.6042 GB Notification: Performance of matching and sorting (n=9) (initialization): time 9.631e-05/0.2913, allocations: 78.23 kB / 0.9044 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/0.2913, allocations: 8.062 kB / 0.9044 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.2913, allocations: 7.938 kB / 0.9044 GB, free: 59.58 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.194e-05/0.2913, allocations: 0 / 0.9044 GB, free: 59.58 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.849e-05/0.2914, allocations: 4 kB / 0.9044 GB, free: 59.57 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.594e-06/0.2914, allocations: 192 / 0.9044 GB, free: 59.57 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.397e-05/0.2915, allocations: 27.77 kB / 0.9044 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.953e-06/0.2915, allocations: 12.02 kB / 0.9044 GB, free: 59.54 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: 9 ($whenCondition2,$whenCondition1,booPul1.y,$PRE.booPul1.pulseStart,booPul1.pulseStart,booPul2.y,$PRE.booPul2.pulseStart,booPul2.pulseStart,or1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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 6.966e-05/0.2916, allocations: 120.4 kB / 0.9045 GB, free: 59.41 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.849e-06/0.2916, allocations: 7.984 kB / 0.9045 GB, free: 59.4 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.956e-05/0.2916, allocations: 12.38 kB / 0.9046 GB, free: 59.39 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-06/0.2917, allocations: 0 / 0.9046 GB, free: 59.39 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.93e-06/0.2917, allocations: 0 / 0.9046 GB, free: 59.39 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.2917, allocations: 0 / 0.9046 GB, free: 59.39 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001167/0.2918, allocations: 181.6 kB / 0.9047 GB, free: 59.16 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.2918, allocations: 0 / 0.9047 GB, free: 59.16 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.227e-06/0.2918, allocations: 3.938 kB / 0.9047 GB, free: 59.16 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.2918, allocations: 4 kB / 0.9047 GB, free: 59.16 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.375e-06/0.2918, allocations: 0 / 0.9047 GB, free: 59.16 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.2918, allocations: 7.984 kB / 0.9047 GB, free: 59.15 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.2918, allocations: 0 / 0.9047 GB, free: 59.15 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001063/0.292, allocations: 101 kB / 0.9048 GB, free: 59.03 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.096e-05/0.292, allocations: 85.02 kB / 0.9049 GB, free: 58.93 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.514e-05/0.292, allocations: 4 kB / 0.9049 GB, free: 58.93 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.688e-05/0.2921, allocations: 15.98 kB / 0.9049 GB, free: 58.91 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.731e-05/0.2922, allocations: 15.98 kB / 0.905 GB, free: 58.89 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.749e-06/0.2922, allocations: 0 / 0.905 GB, free: 58.89 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.48e-05/0.2922, allocations: 91.27 kB / 0.905 GB, free: 58.8 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2922, allocations: 0 / 0.905 GB, free: 58.8 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001858/0.2924, allocations: 16 kB / 0.9051 GB, free: 58.79 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: 7 ($whenCondition2,$whenCondition1,booPul1.y,booPul1.pulseStart,booPul2.y,booPul2.pulseStart,or1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0003134/0.2927, allocations: 0.6397 MB / 0.9057 GB, free: 58.12 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001064/0.2928, allocations: 43.92 kB / 0.9057 GB, free: 58.08 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.2929, allocations: 0 / 0.9057 GB, free: 58.08 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 4.399e-05/0.2929, allocations: 24 kB / 0.9057 GB, free: 58.05 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002229/0.2931, allocations: 11.98 kB / 0.9058 GB, free: 58.04 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009258/0.2941, allocations: 1.311 MB / 0.907 GB, free: 56.64 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001332/0.2942, allocations: 0.681 MB / 0.9077 GB, free: 55.93 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 2.993e-05/0.2942, allocations: 11.92 kB / 0.9077 GB, free: 55.92 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.591e-05/0.2943, allocations: 23.38 kB / 0.9077 GB, free: 55.89 MB / 0.6042 GB Notification: Performance of SimCode: time 2.5e-07/0.2943, allocations: 4 kB / 0.9077 GB, free: 55.89 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01164/0.306, allocations: 1.6 MB / 0.9093 GB, free: 54.42 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001489/0.3062, allocations: 201.3 kB / 0.9095 GB, free: 54.17 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.823/2.129, allocations: 3.938 kB / 0.9095 GB, free: 54.17 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_Or_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_Or.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe 2>&1)