Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_LogicalSwitch",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_LogicalSwitch",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.812/2.812, allocations: 287.3 MB / 302.3 MB, free: 8.383 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.001527/0.001526, allocations: 180.7 kB / 370.8 MB, free: 10.84 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.162/2.162, allocations: 205.4 MB / 0.6295 GB, free: 10.59 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001213/0.001213, allocations: 92.7 kB / 0.7428 GB, free: 6.594 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0008637/0.0008638, allocations: 12.97 kB / 0.8657 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2443/0.2452, allocations: 115.3 MB / 0.9783 GB, free: 28.27 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.907/1.152, allocations: 138 MB / 1.113 GB, free: 15.38 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002504/1.153, allocations: 69.78 kB / 1.113 GB, free: 15.38 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01987/1.172, allocations: 4.063 MB / 1.117 GB, free: 30.88 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.775e-06/1.172, allocations: 7.938 kB / 1.117 GB, free: 30.87 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.688e-06/1.172, allocations: 0 / 1.117 GB, free: 30.87 MB / 0.698 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.0006178/1.173, allocations: 471.5 kB / 1.118 GB, free: 30.4 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.761e-05/1.173, allocations: 11.52 kB / 1.118 GB, free: 30.39 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.269e-05/1.173, allocations: 37.67 kB / 1.118 GB, free: 30.36 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.562e-05/1.173, allocations: 14.5 kB / 1.118 GB, free: 30.35 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001254/1.173, allocations: 174.6 kB / 1.118 GB, free: 30.15 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.931e-05/1.174, allocations: 7.812 kB / 1.118 GB, free: 30.15 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.448e-05/1.174, allocations: 21.3 kB / 1.118 GB, free: 30.15 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001508/1.174, allocations: 58.22 kB / 1.118 GB, free: 30.11 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.278e-06/1.174, allocations: 0 / 1.118 GB, free: 30.11 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.31e-05/1.174, allocations: 0 / 1.118 GB, free: 30.11 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.083e-06/1.174, allocations: 3.422 kB / 1.118 GB, free: 30.11 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.113e-05/1.174, allocations: 18.16 kB / 1.118 GB, free: 30.11 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006798/1.175, allocations: 416.4 kB / 1.118 GB, free: 29.84 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001217/1.175, allocations: 39.8 kB / 1.118 GB, free: 29.81 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.008e-05/1.175, allocations: 7.906 kB / 1.118 GB, free: 29.8 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002311/1.175, allocations: 92.44 kB / 1.118 GB, free: 29.76 MB / 0.698 GB Notification: Performance of pre-optimization done (n=10): time 2.245e-06/1.175, allocations: 0 / 1.118 GB, free: 29.76 MB / 0.698 GB Notification: Performance of matching and sorting (n=10): time 0.0004266/1.175, allocations: 138.2 kB / 1.119 GB, free: 29.72 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.597e-05/1.176, allocations: 55.36 kB / 1.119 GB, free: 29.65 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00012/1.176, allocations: 126.6 kB / 1.119 GB, free: 29.55 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.193e-05/1.176, allocations: 45.02 kB / 1.119 GB, free: 29.52 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001007/1.176, allocations: 96.7 kB / 1.119 GB, free: 29.43 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.804e-05/1.176, allocations: 24.86 kB / 1.119 GB, free: 29.42 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.886e-05/1.176, allocations: 3.906 kB / 1.119 GB, free: 29.42 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001372/1.176, allocations: 323.2 kB / 1.119 GB, free: 29.11 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002925/1.176, allocations: 83.34 kB / 1.119 GB, free: 29.11 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003146/1.177, allocations: 137.1 kB / 1.119 GB, free: 29.05 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003249/1.177, allocations: 166.9 kB / 1.12 GB, free: 28.96 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/1.177, allocations: 0 / 1.12 GB, free: 28.96 MB / 0.698 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0009061/1.178, allocations: 373.8 kB / 1.12 GB, free: 28.81 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 9.96e-05/1.178, allocations: 101.6 kB / 1.12 GB, free: 28.72 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.246e-06/1.178, allocations: 0 / 1.12 GB, free: 28.72 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.124e-05/1.178, allocations: 3.844 kB / 1.12 GB, free: 28.72 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.205e-05/1.178, allocations: 7.062 kB / 1.12 GB, free: 28.72 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.468e-06/1.178, allocations: 3.953 kB / 1.12 GB, free: 28.71 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008799/1.179, allocations: 111.5 kB / 1.12 GB, free: 28.71 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.286e-05/1.179, allocations: 17.47 kB / 1.12 GB, free: 28.71 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,$PRE.booPul1.y,booPul1.y,$PRE.booPul2.y,booPul2.y,$PRE.booPul3.y,booPul3.y,logicalSwitch.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 3 * 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.0001941/1.179, allocations: 140.8 kB / 1.12 GB, free: 28.59 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.849e-05/1.179, allocations: 7.75 kB / 1.12 GB, free: 28.58 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.471e-05/1.179, allocations: 10.52 kB / 1.12 GB, free: 28.58 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/1.179, allocations: 0 / 1.12 GB, free: 28.58 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/1.179, allocations: 4.25 kB / 1.12 GB, free: 28.58 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.571e-06/1.18, allocations: 3.953 kB / 1.12 GB, free: 28.57 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001929/1.18, allocations: 192.8 kB / 1.12 GB, free: 28.38 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/1.18, allocations: 0 / 1.12 GB, free: 28.38 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.741e-05/1.18, allocations: 3.938 kB / 1.12 GB, free: 28.38 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.092e-06/1.18, allocations: 3.844 kB / 1.12 GB, free: 28.38 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.315e-05/1.18, allocations: 2.766 kB / 1.12 GB, free: 28.38 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.549e-06/1.18, allocations: 0.875 kB / 1.12 GB, free: 28.38 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/1.18, allocations: 3.938 kB / 1.12 GB, free: 28.38 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002654/1.18, allocations: 137.3 kB / 1.121 GB, free: 28.3 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.68e-05/1.18, allocations: 84.89 kB / 1.121 GB, free: 28.21 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.565e-05/1.18, allocations: 4 kB / 1.121 GB, free: 28.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.342e-05/1.18, allocations: 11.11 kB / 1.121 GB, free: 28.2 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.664e-05/1.18, allocations: 13.84 kB / 1.121 GB, free: 28.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.328e-05/1.18, allocations: 4 kB / 1.121 GB, free: 28.19 MB / 0.698 GB Notification: Performance of sorting global known variables: time 7.474e-05/1.18, allocations: 101.3 kB / 1.121 GB, free: 28.11 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.81e-07/1.18, allocations: 0 / 1.121 GB, free: 28.11 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004277/1.181, allocations: 50.53 kB / 1.121 GB, free: 28.11 MB / 0.698 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 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,booPul3.y,logicalSwitch.y) * 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.0006791/1.182, allocations: 0.6865 MB / 1.122 GB, free: 27.5 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.000719/1.182, allocations: 364.1 kB / 1.122 GB, free: 27.31 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.848e-06/1.182, allocations: 0 / 1.122 GB, free: 27.31 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 9.363e-05/1.182, allocations: 34.77 kB / 1.122 GB, free: 27.31 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003577/1.183, allocations: 29.61 kB / 1.122 GB, free: 27.3 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00124/1.184, allocations: 1.351 MB / 1.123 GB, free: 25.99 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003303/1.184, allocations: 0.695 MB / 1.124 GB, free: 25.3 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 7.304e-05/1.184, allocations: 9.484 kB / 1.124 GB, free: 25.3 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.897e-05/1.185, allocations: 29.42 kB / 1.124 GB, free: 25.29 MB / 0.698 GB Notification: Performance of SimCode: time 1.513e-06/1.185, allocations: 3.938 kB / 1.124 GB, free: 25.29 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02836/1.213, allocations: 3.408 MB / 1.127 GB, free: 24.95 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002797/1.213, allocations: 194.7 kB / 1.127 GB, free: 24.71 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.58/3.794, allocations: 3.906 kB / 1.127 GB, free: 24.71 MB / 0.698 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_LogicalSwitch_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_LogicalSwitch.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.pipe 2>&1)