Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch.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.IntegerSwitch,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_IntegerSwitch",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_IntegerSwitch",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.582/2.582, allocations: 287.3 MB / 302.3 MB, free: 8.324 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.002244/0.002244, allocations: 184.9 kB / 370.8 MB, free: 10.88 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.116/2.116, allocations: 205.4 MB / 0.6295 GB, free: 10.65 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.001118/0.001118, allocations: 91.97 kB / 0.7428 GB, free: 6.664 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006671/0.0006673, allocations: 12.5 kB / 0.8657 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2661/0.2668, allocations: 115.3 MB / 0.9783 GB, free: 28.32 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9657/1.233, allocations: 138.3 MB / 1.113 GB, free: 15.64 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002608/1.233, allocations: 73.16 kB / 1.113 GB, free: 15.64 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02137/1.254, allocations: 4.503 MB / 1.118 GB, free: 31.11 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.755e-06/1.254, allocations: 0 / 1.118 GB, free: 31.11 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.344e-05/1.254, allocations: 3.875 kB / 1.118 GB, free: 31.11 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.000767/1.255, allocations: 0.4916 MB / 1.118 GB, free: 30.62 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.744e-05/1.255, allocations: 15.48 kB / 1.118 GB, free: 30.62 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.366e-05/1.255, allocations: 45.53 kB / 1.118 GB, free: 30.57 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001039/1.255, allocations: 19.38 kB / 1.118 GB, free: 30.57 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001445/1.256, allocations: 182.5 kB / 1.119 GB, free: 30.36 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.369e-05/1.256, allocations: 11.38 kB / 1.119 GB, free: 30.36 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.458e-05/1.256, allocations: 19.38 kB / 1.119 GB, free: 30.36 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000239/1.256, allocations: 91.67 kB / 1.119 GB, free: 30.32 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/1.256, allocations: 0 / 1.119 GB, free: 30.32 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.825e-05/1.256, allocations: 3.953 kB / 1.119 GB, free: 30.32 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.513e-06/1.256, allocations: 3.812 kB / 1.119 GB, free: 30.32 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000147/1.256, allocations: 44.72 kB / 1.119 GB, free: 30.32 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009058/1.257, allocations: 499.5 kB / 1.119 GB, free: 30.04 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002924/1.257, allocations: 74.73 kB / 1.119 GB, free: 30 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.566e-05/1.257, allocations: 0 / 1.119 GB, free: 30 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002594/1.258, allocations: 116.9 kB / 1.119 GB, free: 29.95 MB / 0.698 GB Notification: Performance of pre-optimization done (n=14): time 2.094e-06/1.258, allocations: 0 / 1.119 GB, free: 29.95 MB / 0.698 GB Notification: Performance of matching and sorting (n=14): time 0.0004869/1.258, allocations: 181.2 kB / 1.12 GB, free: 29.9 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.301e-05/1.258, allocations: 51.41 kB / 1.12 GB, free: 29.84 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001668/1.258, allocations: 154.1 kB / 1.12 GB, free: 29.74 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.45e-05/1.259, allocations: 37.39 kB / 1.12 GB, free: 29.7 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001068/1.259, allocations: 118.2 kB / 1.12 GB, free: 29.61 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3e-05/1.259, allocations: 23.38 kB / 1.12 GB, free: 29.6 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.117e-05/1.259, allocations: 7.812 kB / 1.12 GB, free: 29.6 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001425/1.259, allocations: 324.6 kB / 1.12 GB, free: 29.29 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003425/1.259, allocations: 94.17 kB / 1.12 GB, free: 29.29 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003364/1.26, allocations: 143.3 kB / 1.12 GB, free: 29.23 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003423/1.26, allocations: 177.9 kB / 1.121 GB, free: 29.13 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.678e-06/1.26, allocations: 3.812 kB / 1.121 GB, free: 29.13 MB / 0.698 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0009414/1.261, allocations: 393.3 kB / 1.121 GB, free: 28.98 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 9.166e-05/1.261, allocations: 101.9 kB / 1.121 GB, free: 28.89 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.715e-06/1.261, allocations: 0 / 1.121 GB, free: 28.89 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.944e-05/1.261, allocations: 3.844 kB / 1.121 GB, free: 28.89 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001058/1.261, allocations: 14.48 kB / 1.121 GB, free: 28.89 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.908e-06/1.261, allocations: 7.766 kB / 1.121 GB, free: 28.88 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008499/1.262, allocations: 122.9 kB / 1.121 GB, free: 28.87 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.976e-05/1.262, allocations: 14.48 kB / 1.121 GB, free: 28.87 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: 17 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,integerSwitch.u1,integerSwitch.u3,integerSwitch.y,$PRE.booPul1.y,booPul1.y,$PRE.booPul2.y,booPul2.y,$PRE.booPul3.y,booPul3.y,booToInt.y,booToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 14 * 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.0001985/1.262, allocations: 135.9 kB / 1.121 GB, free: 28.75 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.974e-05/1.262, allocations: 7.75 kB / 1.121 GB, free: 28.75 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.172e-05/1.262, allocations: 16.38 kB / 1.121 GB, free: 28.74 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/1.262, allocations: 0 / 1.121 GB, free: 28.74 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/1.262, allocations: 3.875 kB / 1.121 GB, free: 28.74 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.162e-06/1.262, allocations: 10.75 kB / 1.121 GB, free: 28.73 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002319/1.263, allocations: 223.4 kB / 1.122 GB, free: 28.54 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/1.263, allocations: 0 / 1.122 GB, free: 28.54 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.216e-05/1.263, allocations: 9.797 kB / 1.122 GB, free: 28.54 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.531e-06/1.263, allocations: 0 / 1.122 GB, free: 28.54 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.444e-05/1.263, allocations: 0 / 1.122 GB, free: 28.54 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.826e-06/1.263, allocations: 3.812 kB / 1.122 GB, free: 28.54 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/1.263, allocations: 0 / 1.122 GB, free: 28.54 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003403/1.263, allocations: 157.5 kB / 1.122 GB, free: 28.47 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.986e-05/1.263, allocations: 96.56 kB / 1.122 GB, free: 28.36 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.21e-05/1.263, allocations: 6.641 kB / 1.122 GB, free: 28.36 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.672e-05/1.263, allocations: 11.75 kB / 1.122 GB, free: 28.35 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.728e-05/1.263, allocations: 9.266 kB / 1.122 GB, free: 28.35 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.409e-05/1.264, allocations: 7.406 kB / 1.122 GB, free: 28.35 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001074/1.264, allocations: 110.2 kB / 1.122 GB, free: 28.28 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.11e-07/1.264, allocations: 3.844 kB / 1.122 GB, free: 28.28 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004536/1.264, allocations: 50.09 kB / 1.122 GB, free: 28.27 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: 14 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,integerSwitch.u1,integerSwitch.u3,integerSwitch.y,booPul1.y,booPul2.y,booPul3.y,booToInt.y,booToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 11 * 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.000758/1.265, allocations: 0.7211 MB / 1.123 GB, free: 27.66 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0008075/1.266, allocations: 385.5 kB / 1.123 GB, free: 27.47 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/1.266, allocations: 0 / 1.123 GB, free: 27.47 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001242/1.266, allocations: 53.39 kB / 1.123 GB, free: 27.46 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003536/1.266, allocations: 33.52 kB / 1.123 GB, free: 27.46 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001368/1.268, allocations: 1.425 MB / 1.125 GB, free: 26.11 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003319/1.268, allocations: 0.7162 MB / 1.125 GB, free: 25.41 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 8.786e-05/1.268, allocations: 11.27 kB / 1.125 GB, free: 25.41 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.341e-05/1.268, allocations: 38.61 kB / 1.125 GB, free: 25.4 MB / 0.698 GB Notification: Performance of SimCode: time 1.202e-06/1.268, allocations: 0 / 1.125 GB, free: 25.4 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0299/1.298, allocations: 3.844 MB / 1.129 GB, free: 25.04 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002488/1.298, allocations: 183.7 kB / 1.129 GB, free: 24.81 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.439/3.737, allocations: 4 kB / 1.129 GB, free: 24.8 MB / 0.698 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_IntegerSwitch_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_IntegerSwitch.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch.pipe 2>&1)