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.Or3.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.Or3,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_Or3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Or3,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_Or3",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.348/1.348, allocations: 251.9 MB / 266.9 MB, free: 11.06 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.00127/0.001271, allocations: 173.3 kB / 326.5 MB, free: 2.254 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.251/2.251, allocations: 205.4 MB / 0.5775 GB, free: 20.23 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.001211/0.001211, allocations: 97.33 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003559/0.000356, allocations: 12.03 kB / 0.7963 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2729/0.2733, allocations: 106.3 MB / 0.9002 GB, free: 63.83 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or3): time 0.001512/0.2749, allocations: 1.126 MB / 0.9013 GB, free: 62.69 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0004096/0.2753, allocations: 222.4 kB / 0.9015 GB, free: 62.47 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.164e-05/0.2754, allocations: 0 / 0.9015 GB, free: 62.47 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.061e-05/0.2754, allocations: 3.984 kB / 0.9015 GB, free: 62.46 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 9.694e-05/0.2755, allocations: 19.91 kB / 0.9015 GB, free: 62.45 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001471/0.2757, allocations: 15.98 kB / 0.9015 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.897e-05/0.2758, allocations: 51.92 kB / 0.9016 GB, free: 62.38 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001019/0.2759, allocations: 20.16 kB / 0.9016 GB, free: 62.36 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.219e-05/0.2759, allocations: 27.86 kB / 0.9016 GB, free: 62.33 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.841e-05/0.276, allocations: 27.86 kB / 0.9016 GB, free: 62.3 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.098e-05/0.276, allocations: 4 kB / 0.9016 GB, free: 62.3 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.569e-05/0.2761, allocations: 0 / 0.9016 GB, free: 62.3 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.902e-05/0.2761, allocations: 15.92 kB / 0.9017 GB, free: 62.28 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.376e-05/0.2761, allocations: 33.64 kB / 0.9017 GB, free: 62.24 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 7.872e-05/0.2762, allocations: 51.88 kB / 0.9017 GB, free: 62.19 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.2762, allocations: 0 / 0.9017 GB, free: 62.19 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.064e-06/0.2762, allocations: 0 / 0.9017 GB, free: 62.19 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.717e-06/0.2762, allocations: 8 kB / 0.9017 GB, free: 62.18 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0006023/0.2768, allocations: 395.3 kB / 0.9021 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.65e-05/0.2769, allocations: 8.031 kB / 0.9021 GB, free: 61.74 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.038e-05/0.2769, allocations: 46.55 kB / 0.9022 GB, free: 61.69 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.062e-05/0.277, allocations: 0 / 0.9022 GB, free: 61.69 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001305/0.2771, allocations: 182.8 kB / 0.9023 GB, free: 61.47 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.847e-05/0.2771, allocations: 8 kB / 0.9024 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.811e-05/0.2772, allocations: 4 kB / 0.9024 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001293/0.2773, allocations: 57.61 kB / 0.9024 GB, free: 61.39 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.2773, allocations: 3.984 kB / 0.9024 GB, free: 61.39 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.397e-05/0.2773, allocations: 11.98 kB / 0.9024 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.2774, allocations: 0 / 0.9024 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.927e-05/0.2774, allocations: 27.98 kB / 0.9025 GB, free: 61.35 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004362/0.2779, allocations: 320.6 kB / 0.9028 GB, free: 60.99 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 7.706e-05/0.278, allocations: 46.56 kB / 0.9028 GB, free: 60.93 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.34e-05/0.278, allocations: 0 / 0.9028 GB, free: 60.93 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001893/0.2782, allocations: 87.41 kB / 0.9029 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=10): time 1.613e-06/0.2782, allocations: 0 / 0.9029 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of matching and sorting (n=10): time 0.0002321/0.2784, allocations: 113.5 kB / 0.903 GB, free: 60.72 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.332e-05/0.2785, allocations: 63.36 kB / 0.9031 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.385e-05/0.2786, allocations: 121.8 kB / 0.9032 GB, free: 60.52 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.306e-05/0.2786, allocations: 33.7 kB / 0.9032 GB, free: 60.48 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.618e-05/0.2786, allocations: 88.14 kB / 0.9033 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.918e-05/0.2787, allocations: 27.64 kB / 0.9033 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.75e-06/0.2787, allocations: 4 kB / 0.9033 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.842e-05/0.2787, allocations: 322.8 kB / 0.9036 GB, free: 60.03 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.6e-05/0.2788, allocations: 23.98 kB / 0.9036 GB, free: 60.01 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.672e-05/0.2788, allocations: 43.42 kB / 0.9037 GB, free: 59.95 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.583e-05/0.2789, allocations: 20 kB / 0.9037 GB, free: 59.93 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.2789, allocations: 0 / 0.9037 GB, free: 59.93 MB / 0.6042 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001197/0.279, allocations: 105.5 kB / 0.9038 GB, free: 59.82 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/0.279, allocations: 4 kB / 0.9038 GB, free: 59.82 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.279, allocations: 4 kB / 0.9038 GB, free: 59.82 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/0.2791, allocations: 4 kB / 0.9038 GB, free: 59.81 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.979e-05/0.2791, allocations: 15.94 kB / 0.9038 GB, free: 59.8 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.875e-06/0.2791, allocations: 0 / 0.9038 GB, free: 59.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001176/0.2793, allocations: 35.95 kB / 0.9039 GB, free: 59.76 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.915e-06/0.2793, allocations: 4 kB / 0.9039 GB, free: 59.76 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition3,$whenCondition2,$whenCondition1,booPul1.y,$PRE.booPul1.pulseStart,booPul1.pulseStart,booPul2.y,$PRE.booPul2.pulseStart,booPul2.pulseStart,or1.y,booPul3.y,$PRE.booPul3.pulseStart,booPul3.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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 7.176e-05/0.2793, allocations: 117.8 kB / 0.904 GB, free: 59.63 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.243e-05/0.2794, allocations: 7.906 kB / 0.904 GB, free: 59.62 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.316e-05/0.2794, allocations: 12.38 kB / 0.904 GB, free: 59.61 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.2794, allocations: 0 / 0.904 GB, free: 59.61 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.2794, allocations: 0 / 0.904 GB, free: 59.61 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.51e-06/0.2794, allocations: 3.984 kB / 0.904 GB, free: 59.61 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001355/0.2796, allocations: 194.2 kB / 0.9042 GB, free: 59.37 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.2796, allocations: 7.938 kB / 0.9042 GB, free: 59.36 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.057e-05/0.2796, allocations: 7.984 kB / 0.9042 GB, free: 59.36 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.2796, allocations: 0 / 0.9042 GB, free: 59.36 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.857e-06/0.2796, allocations: 0 / 0.9042 GB, free: 59.36 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.724e-06/0.2796, allocations: 3.938 kB / 0.9042 GB, free: 59.35 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.2796, allocations: 0 / 0.9042 GB, free: 59.35 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001324/0.2798, allocations: 120.9 kB / 0.9043 GB, free: 59.21 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.213e-05/0.2798, allocations: 88.95 kB / 0.9044 GB, free: 59.11 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.95e-05/0.2798, allocations: 8 kB / 0.9044 GB, free: 59.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001056/0.2799, allocations: 23.97 kB / 0.9044 GB, free: 59.08 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.421e-05/0.28, allocations: 15.98 kB / 0.9045 GB, free: 59.06 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.842e-06/0.28, allocations: 3.984 kB / 0.9045 GB, free: 59.06 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.923e-05/0.2801, allocations: 95.27 kB / 0.9046 GB, free: 58.96 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2801, allocations: 0 / 0.9046 GB, free: 58.96 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001838/0.2803, allocations: 20 kB / 0.9046 GB, free: 58.95 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: 10 ($whenCondition3,$whenCondition2,$whenCondition1,booPul1.y,booPul1.pulseStart,booPul2.y,booPul2.pulseStart,or1.y,booPul3.y,booPul3.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0003185/0.2806, allocations: 0.6592 MB / 0.9052 GB, free: 58.26 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001235/0.2807, allocations: 63.86 kB / 0.9053 GB, free: 58.2 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.2807, allocations: 0 / 0.9053 GB, free: 58.2 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 5.289e-05/0.2808, allocations: 36.17 kB / 0.9053 GB, free: 58.16 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002062/0.281, allocations: 20.55 kB / 0.9053 GB, free: 58.14 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008079/0.2818, allocations: 1.045 MB / 0.9064 GB, free: 57.03 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001229/0.2819, allocations: 0.7004 MB / 0.907 GB, free: 56.3 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 3.719e-05/0.282, allocations: 8.547 kB / 0.907 GB, free: 56.29 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.508e-05/0.282, allocations: 23.42 kB / 0.9071 GB, free: 56.27 MB / 0.6042 GB Notification: Performance of SimCode: time 9.02e-07/0.282, allocations: 0 / 0.9071 GB, free: 56.27 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01203/0.2941, allocations: 2.034 MB / 0.9091 GB, free: 54.39 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001686/0.2943, allocations: 199.6 kB / 0.9092 GB, free: 54.14 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.647/1.941, allocations: 0 / 0.9092 GB, free: 54.14 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_Or3_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_Or3.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe 2>&1)