Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch,fileNamePrefix="Buildings_8_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_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.1.4-maint.8.1.x/package.mo): time 1.749/1.749, allocations: 289.7 MB / 302.2 MB, free: 2.102 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.001187/0.001187, allocations: 177.9 kB / 371.6 MB, free: 3.383 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.685/1.685, allocations: 205.1 MB / 0.6309 GB, free: 11.74 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009575/0.0009572, allocations: 92.3 kB / 0.745 GB, free: 54.49 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.607e-05/4.609e-05, allocations: 11.98 kB / 0.8663 GB, free: 14.96 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.341/0.3411, allocations: 116.3 MB / 0.9799 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9818/1.323, allocations: 139.4 MB / 1.116 GB, free: 44.34 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002674/1.323, allocations: 70.38 kB / 1.116 GB, free: 44.31 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.01211/1.335, allocations: 4.486 MB / 1.12 GB, free: 41.78 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.773e-06/1.335, allocations: 0.9375 kB / 1.12 GB, free: 41.78 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.117e-05/1.335, allocations: 4 kB / 1.12 GB, free: 41.77 MB / 0.7448 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.0005004/1.336, allocations: 0.4886 MB / 1.121 GB, free: 41.26 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.462e-05/1.336, allocations: 8.031 kB / 1.121 GB, free: 41.25 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.699e-05/1.336, allocations: 38 kB / 1.121 GB, free: 41.21 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.005e-05/1.336, allocations: 24.77 kB / 1.121 GB, free: 41.19 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.954e-05/1.336, allocations: 172 kB / 1.121 GB, free: 40.98 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.097e-05/1.336, allocations: 14.52 kB / 1.121 GB, free: 40.97 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.372e-05/1.336, allocations: 19.81 kB / 1.121 GB, free: 40.96 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001703/1.337, allocations: 93.36 kB / 1.121 GB, free: 40.89 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/1.337, allocations: 0.5625 kB / 1.121 GB, free: 40.89 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.332e-05/1.337, allocations: 0.7031 kB / 1.121 GB, free: 40.89 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.006e-05/1.337, allocations: 7.953 kB / 1.121 GB, free: 40.88 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.9e-05/1.337, allocations: 45.94 kB / 1.121 GB, free: 40.86 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006892/1.337, allocations: 0.4926 MB / 1.122 GB, free: 40.49 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001988/1.338, allocations: 65.41 kB / 1.122 GB, free: 40.43 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.931e-05/1.338, allocations: 32.91 kB / 1.122 GB, free: 40.41 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.236e-05/1.338, allocations: 0 / 1.122 GB, free: 40.41 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001789/1.338, allocations: 106.2 kB / 1.122 GB, free: 40.32 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=14): time 1.472e-06/1.338, allocations: 0 / 1.122 GB, free: 40.32 MB / 0.7448 GB Notification: Performance of matching and sorting (n=14): time 0.000298/1.338, allocations: 142.1 kB / 1.122 GB, free: 40.21 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.776e-05/1.338, allocations: 55.36 kB / 1.122 GB, free: 40.14 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001148/1.338, allocations: 156.8 kB / 1.122 GB, free: 40.01 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.634e-05/1.338, allocations: 33.14 kB / 1.122 GB, free: 39.97 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.873e-05/1.339, allocations: 110.4 kB / 1.122 GB, free: 39.88 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.456e-05/1.339, allocations: 30.52 kB / 1.123 GB, free: 39.85 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.489e-05/1.339, allocations: 7.562 kB / 1.123 GB, free: 39.85 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 8.361e-05/1.339, allocations: 328.8 kB / 1.123 GB, free: 39.53 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001758/1.339, allocations: 88.78 kB / 1.123 GB, free: 39.47 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001949/1.339, allocations: 139.3 kB / 1.123 GB, free: 39.36 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001871/1.339, allocations: 174.6 kB / 1.123 GB, free: 39.21 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/1.339, allocations: 0.6562 kB / 1.123 GB, free: 39.21 MB / 0.7448 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005207/1.34, allocations: 396.4 kB / 1.124 GB, free: 38.89 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 6.025e-05/1.34, allocations: 102.8 kB / 1.124 GB, free: 38.79 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/1.34, allocations: 4 kB / 1.124 GB, free: 38.79 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.512e-05/1.34, allocations: 0 / 1.124 GB, free: 38.79 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.218e-05/1.34, allocations: 15.73 kB / 1.124 GB, free: 38.77 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.005e-05/1.34, allocations: 0 / 1.124 GB, free: 38.77 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004597/1.34, allocations: 120 kB / 1.124 GB, free: 38.68 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.232e-05/1.34, allocations: 19.42 kB / 1.124 GB, free: 38.67 MB / 0.7448 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 () * 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 8.823e-05/1.341, allocations: 124.7 kB / 1.124 GB, free: 38.55 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.884e-05/1.341, allocations: 19.19 kB / 1.124 GB, free: 38.53 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.215e-05/1.341, allocations: 15.75 kB / 1.124 GB, free: 38.53 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/1.341, allocations: 1.266 kB / 1.124 GB, free: 38.53 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/1.341, allocations: 4 kB / 1.124 GB, free: 38.52 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.037e-06/1.341, allocations: 1.594 kB / 1.124 GB, free: 38.52 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001457/1.341, allocations: 223.1 kB / 1.124 GB, free: 38.3 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/1.341, allocations: 0 / 1.124 GB, free: 38.3 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.024e-05/1.341, allocations: 8 kB / 1.124 GB, free: 38.29 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/1.341, allocations: 3.938 kB / 1.124 GB, free: 38.29 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.323e-05/1.341, allocations: 10.66 kB / 1.124 GB, free: 38.29 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/1.341, allocations: 1.828 kB / 1.124 GB, free: 38.29 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/1.341, allocations: 0 / 1.124 GB, free: 38.29 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001896/1.341, allocations: 165.9 kB / 1.124 GB, free: 38.14 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.813e-05/1.341, allocations: 85.02 kB / 1.124 GB, free: 38.04 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.119e-05/1.341, allocations: 3.422 kB / 1.124 GB, free: 38.04 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.128e-05/1.341, allocations: 7.062 kB / 1.124 GB, free: 38.04 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.04e-05/1.341, allocations: 7.328 kB / 1.124 GB, free: 38.03 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.02e-05/1.341, allocations: 7.25 kB / 1.125 GB, free: 38.03 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 6.714e-05/1.341, allocations: 116.8 kB / 1.125 GB, free: 37.93 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.3e-07/1.341, allocations: 0 / 1.125 GB, free: 37.93 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002701/1.342, allocations: 54.52 kB / 1.125 GB, free: 37.88 MB / 0.7448 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 () * 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.0004695/1.342, allocations: 0.7225 MB / 1.125 GB, free: 37.17 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0004345/1.343, allocations: 380.1 kB / 1.126 GB, free: 36.85 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/1.343, allocations: 384 / 1.126 GB, free: 36.85 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 7.962e-05/1.343, allocations: 53.16 kB / 1.126 GB, free: 36.81 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002444/1.343, allocations: 18.97 kB / 1.126 GB, free: 36.8 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004857/1.343, allocations: 214.3 kB / 1.126 GB, free: 36.6 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001769/1.344, allocations: 0.7173 MB / 1.127 GB, free: 35.88 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.401e-05/1.344, allocations: 13 kB / 1.127 GB, free: 35.87 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.588e-05/1.344, allocations: 39 kB / 1.127 GB, free: 35.86 MB / 0.7448 GB Notification: Performance of SimCode: time 2.5e-07/1.344, allocations: 0 / 1.127 GB, free: 35.86 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01587/1.36, allocations: 3.878 MB / 1.131 GB, free: 33.73 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000159/1.36, allocations: 163.4 kB / 1.131 GB, free: 33.5 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.783/3.143, allocations: 0 / 1.131 GB, free: 33.5 MB / 0.7448 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_IntegerSwitch_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_IntegerSwitch.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch.pipe 2>&1)