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.36/1.36, allocations: 249.5 MB / 257 MB, free: 6.926 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.0009887/0.0009886, allocations: 180.3 kB / 316.3 MB, free: 3.234 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.554/1.554, allocations: 205.3 MB / 0.5671 GB, free: 15.83 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.0008884/0.0008884, allocations: 94.47 kB / 0.6714 GB, free: 4.941 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.38e-05/2.383e-05, allocations: 12 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2153/0.2154, allocations: 106.3 MB / 0.8853 GB, free: 12.13 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7762/0.9916, allocations: 131.7 MB / 1.014 GB, free: 5.648 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002399/0.9919, allocations: 72.89 kB / 1.014 GB, free: 5.609 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.003126/0.9951, allocations: 1.157 MB / 1.015 GB, free: 4.574 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.252e-06/0.9951, allocations: 0 / 1.015 GB, free: 4.574 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.933e-06/0.9951, allocations: 0 / 1.015 GB, free: 4.574 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005444/0.9957, allocations: 388 kB / 1.015 GB, free: 4.156 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.113e-05/0.9957, allocations: 8.031 kB / 1.016 GB, free: 4.148 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.826e-05/0.9958, allocations: 7.906 kB / 1.016 GB, free: 4.141 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001821/0.996, allocations: 177.6 kB / 1.016 GB, free: 3.93 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.256e-05/0.996, allocations: 11.98 kB / 1.016 GB, free: 3.918 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.767e-05/0.9961, allocations: 4 kB / 1.016 GB, free: 3.914 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.617e-05/0.9962, allocations: 25.44 kB / 1.016 GB, free: 3.898 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001081/0.9963, allocations: 56.36 kB / 1.016 GB, free: 3.844 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/0.9963, allocations: 4 kB / 1.016 GB, free: 3.84 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.128e-05/0.9963, allocations: 0 / 1.016 GB, free: 3.84 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-06/0.9963, allocations: 0 / 1.016 GB, free: 3.84 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004473/0.9968, allocations: 277.4 kB / 1.016 GB, free: 3.551 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 8.327e-05/0.9969, allocations: 45.03 kB / 1.016 GB, free: 3.508 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.85e-05/0.9969, allocations: 30.47 kB / 1.016 GB, free: 3.484 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.298e-05/0.9969, allocations: 0.75 kB / 1.016 GB, free: 3.484 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001437/0.9971, allocations: 81.34 kB / 1.016 GB, free: 3.402 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=10): time 1.373e-06/0.9971, allocations: 4 kB / 1.016 GB, free: 3.398 MB / 0.6355 GB Notification: Performance of matching and sorting (n=10): time 0.0002081/0.9973, allocations: 88.34 kB / 1.016 GB, free: 3.316 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.81e-05/0.9974, allocations: 51.41 kB / 1.016 GB, free: 3.254 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.686e-05/0.9975, allocations: 115.2 kB / 1.016 GB, free: 3.145 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.755e-05/0.9975, allocations: 25.7 kB / 1.016 GB, free: 3.113 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.735e-05/0.9975, allocations: 90.89 kB / 1.017 GB, free: 3.027 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.899e-05/0.9976, allocations: 27.22 kB / 1.017 GB, free: 3.004 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.859e-06/0.9976, allocations: 0 / 1.017 GB, free: 3.004 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.000124/0.9977, allocations: 326.7 kB / 1.017 GB, free: 2.68 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.136e-05/0.9978, allocations: 14.69 kB / 1.017 GB, free: 2.672 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.643e-05/0.9978, allocations: 50.36 kB / 1.017 GB, free: 2.617 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.24e-05/0.9979, allocations: 18.56 kB / 1.017 GB, free: 2.605 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.9979, allocations: 0 / 1.017 GB, free: 2.605 MB / 0.6355 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001216/0.998, allocations: 91.2 kB / 1.017 GB, free: 2.52 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.343e-05/0.998, allocations: 8 kB / 1.017 GB, free: 2.512 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.668e-06/0.998, allocations: 0 / 1.017 GB, free: 2.512 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.155e-05/0.9981, allocations: 0 / 1.017 GB, free: 2.512 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.203e-05/0.9981, allocations: 11.94 kB / 1.017 GB, free: 2.5 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.664e-06/0.9981, allocations: 0 / 1.017 GB, free: 2.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001201/0.9983, allocations: 27.91 kB / 1.017 GB, free: 2.473 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.929e-06/0.9983, allocations: 11.47 kB / 1.017 GB, free: 2.465 MB / 0.6355 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 () * 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 9.225e-05/0.9984, allocations: 114.5 kB / 1.017 GB, free: 2.348 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001123/0.9985, allocations: 91.78 kB / 1.017 GB, free: 2.262 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.43e-05/0.9985, allocations: 11.89 kB / 1.017 GB, free: 2.25 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.912e-05/0.9986, allocations: 15.67 kB / 1.017 GB, free: 2.238 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.302e-06/0.9986, allocations: 0 / 1.017 GB, free: 2.238 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.9986, allocations: 4 kB / 1.017 GB, free: 2.234 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.9986, allocations: 3.953 kB / 1.017 GB, free: 2.23 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001465/0.9987, allocations: 156.1 kB / 1.017 GB, free: 2.051 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.9987, allocations: 4 kB / 1.017 GB, free: 2.047 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.417e-05/0.9988, allocations: 7.922 kB / 1.018 GB, free: 2.039 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.9988, allocations: 4 kB / 1.018 GB, free: 2.035 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.795e-06/0.9988, allocations: 0 / 1.018 GB, free: 2.035 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.9988, allocations: 0 / 1.018 GB, free: 2.035 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.9988, allocations: 0 / 1.018 GB, free: 2.035 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001467/0.999, allocations: 118 kB / 1.018 GB, free: 1.914 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.146e-05/0.999, allocations: 81.02 kB / 1.018 GB, free: 1.816 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.975e-05/0.999, allocations: 8 kB / 1.018 GB, free: 1.809 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001082/0.9991, allocations: 23.41 kB / 1.018 GB, free: 1.789 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.393e-05/0.9992, allocations: 11.98 kB / 1.018 GB, free: 1.777 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.901e-06/0.9992, allocations: 0 / 1.018 GB, free: 1.777 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 5.682e-05/0.9993, allocations: 99.48 kB / 1.018 GB, free: 1.688 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9993, allocations: 0 / 1.018 GB, free: 1.688 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001951/0.9995, allocations: 12 kB / 1.018 GB, free: 1.676 MB / 0.6355 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 () * 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.0004459/0.9999, allocations: 0.6544 MB / 1.018 GB, free: 1.012 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001244/1, allocations: 53.91 kB / 1.019 GB, free: 0.9727 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/1, allocations: 0 / 1.019 GB, free: 0.9727 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 6.632e-05/1, allocations: 38.56 kB / 1.019 GB, free: 0.9453 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002123/1, allocations: 26.22 kB / 1.019 GB, free: 0.9219 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003678/1.001, allocations: 147.5 kB / 1.019 GB, free: 0.7539 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002718/1.001, allocations: 0.6962 MB / 1.019 GB, free: 32 kB / 0.6355 GB Notification: Performance of simCode: alias equations: time 4.01e-05/1.001, allocations: 12.55 kB / 1.019 GB, free: 16 kB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.877e-05/1.001, allocations: 25.62 kB / 1.019 GB, free: 0 / 0.6355 GB Notification: Performance of SimCode: time 2.41e-07/1.001, allocations: 0 / 1.019 GB, free: 0 / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01967/1.021, allocations: 1.705 MB / 1.021 GB, free: 14.31 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002402/1.021, allocations: 151.2 kB / 1.021 GB, free: 14.12 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.408/2.429, allocations: 0 / 1.021 GB, free: 14.12 MB / 0.6511 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)