Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_IntegerSwitch",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.685/1.685, allocations: 288.2 MB / 303.2 MB, free: 8.18 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.001366/0.001366, allocations: 189.7 kB / 371.8 MB, free: 10.27 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.827/1.827, allocations: 205.4 MB / 0.6305 GB, free: 10.01 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.0009868/0.0009865, allocations: 93.11 kB / 0.7439 GB, free: 5.922 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004275/0.0004276, allocations: 17.7 kB / 0.8669 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2393/0.2397, allocations: 115.3 MB / 0.9795 GB, free: 27.59 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7421/0.9819, allocations: 138.5 MB / 1.115 GB, free: 16.61 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002157/0.9822, allocations: 67.75 kB / 1.115 GB, free: 16.61 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01266/0.9949, allocations: 4.507 MB / 1.119 GB, free: 32.08 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.665e-06/0.9949, allocations: 0 / 1.119 GB, free: 32.08 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.434e-05/0.9949, allocations: 7.781 kB / 1.119 GB, free: 32.07 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.0007772/0.9957, allocations: 0.4926 MB / 1.12 GB, free: 31.59 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.098e-05/0.9958, allocations: 11.83 kB / 1.12 GB, free: 31.59 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.544e-05/0.9959, allocations: 40.84 kB / 1.12 GB, free: 31.55 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001201/0.996, allocations: 23.22 kB / 1.12 GB, free: 31.54 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001734/0.9962, allocations: 179.9 kB / 1.12 GB, free: 31.32 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.757e-05/0.9962, allocations: 18.34 kB / 1.12 GB, free: 31.32 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.065e-05/0.9963, allocations: 26.25 kB / 1.12 GB, free: 31.32 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001924/0.9965, allocations: 85.67 kB / 1.12 GB, free: 31.29 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/0.9965, allocations: 0 / 1.12 GB, free: 31.29 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.31e-05/0.9965, allocations: 0 / 1.12 GB, free: 31.29 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.115e-06/0.9965, allocations: 7.922 kB / 1.12 GB, free: 31.29 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.45e-05/0.9966, allocations: 45.56 kB / 1.12 GB, free: 31.29 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000725/0.9974, allocations: 499.5 kB / 1.121 GB, free: 31 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002103/0.9976, allocations: 71.3 kB / 1.121 GB, free: 30.98 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.605e-05/0.9976, allocations: 0 / 1.121 GB, free: 30.98 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002573/0.9979, allocations: 112.4 kB / 1.121 GB, free: 30.92 MB / 0.698 GB Notification: Performance of pre-optimization done (n=14): time 2.675e-06/0.9979, allocations: 0 / 1.121 GB, free: 30.92 MB / 0.698 GB Notification: Performance of matching and sorting (n=14): time 0.0003671/0.9983, allocations: 174 kB / 1.121 GB, free: 30.88 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.573e-05/0.9983, allocations: 55.53 kB / 1.121 GB, free: 30.81 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001459/0.9985, allocations: 150.8 kB / 1.121 GB, free: 30.71 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.065e-05/0.9985, allocations: 33.23 kB / 1.121 GB, free: 30.68 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001083/0.9987, allocations: 120.2 kB / 1.121 GB, free: 30.59 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.252e-05/0.9987, allocations: 28.14 kB / 1.121 GB, free: 30.57 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.543e-05/0.9987, allocations: 6.469 kB / 1.121 GB, free: 30.57 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001888/0.9989, allocations: 327 kB / 1.122 GB, free: 30.26 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002161/0.9992, allocations: 94.2 kB / 1.122 GB, free: 30.26 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002175/0.9994, allocations: 142.2 kB / 1.122 GB, free: 30.21 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002426/0.9996, allocations: 176.2 kB / 1.122 GB, free: 30.11 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.9996, allocations: 3.938 kB / 1.122 GB, free: 30.11 MB / 0.698 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0006925/1, allocations: 397.9 kB / 1.122 GB, free: 29.96 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 8.83e-05/1, allocations: 101.9 kB / 1.122 GB, free: 29.87 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.11e-05/1, allocations: 4 kB / 1.122 GB, free: 29.87 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.047e-05/1, allocations: 7.781 kB / 1.122 GB, free: 29.86 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.198e-05/1.001, allocations: 10.8 kB / 1.122 GB, free: 29.86 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.27e-05/1.001, allocations: 7.781 kB / 1.123 GB, free: 29.86 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004916/1.001, allocations: 116.5 kB / 1.123 GB, free: 29.85 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.295e-05/1.001, allocations: 14.59 kB / 1.123 GB, free: 29.85 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.0001704/1.001, allocations: 142.5 kB / 1.123 GB, free: 29.73 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.223e-05/1.001, allocations: 7.75 kB / 1.123 GB, free: 29.72 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.812e-05/1.001, allocations: 15.97 kB / 1.123 GB, free: 29.72 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-06/1.001, allocations: 0 / 1.123 GB, free: 29.72 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.506e-06/1.001, allocations: 7.844 kB / 1.123 GB, free: 29.71 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.632e-06/1.001, allocations: 2.953 kB / 1.123 GB, free: 29.71 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002029/1.002, allocations: 223.5 kB / 1.123 GB, free: 29.52 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/1.002, allocations: 0 / 1.123 GB, free: 29.52 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.458e-05/1.002, allocations: 15.62 kB / 1.123 GB, free: 29.51 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.608e-06/1.002, allocations: 3.984 kB / 1.123 GB, free: 29.51 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.339e-05/1.002, allocations: 2.625 kB / 1.123 GB, free: 29.51 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.678e-06/1.002, allocations: 7.781 kB / 1.123 GB, free: 29.5 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/1.002, allocations: 0 / 1.123 GB, free: 29.5 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002127/1.002, allocations: 156.3 kB / 1.123 GB, free: 29.43 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.652e-05/1.002, allocations: 92.83 kB / 1.123 GB, free: 29.33 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.391e-05/1.002, allocations: 5.797 kB / 1.123 GB, free: 29.33 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.323e-05/1.002, allocations: 7.844 kB / 1.123 GB, free: 29.32 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.583e-05/1.002, allocations: 10.47 kB / 1.123 GB, free: 29.32 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.113e-05/1.002, allocations: 10.64 kB / 1.123 GB, free: 29.32 MB / 0.698 GB Notification: Performance of sorting global known variables: time 9.616e-05/1.002, allocations: 111.7 kB / 1.123 GB, free: 29.25 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.21e-07/1.002, allocations: 0 / 1.123 GB, free: 29.25 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003161/1.003, allocations: 56.34 kB / 1.123 GB, free: 29.24 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.0006668/1.003, allocations: 0.706 MB / 1.124 GB, free: 28.64 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0005103/1.004, allocations: 388.3 kB / 1.125 GB, free: 28.44 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/1.004, allocations: 3.844 kB / 1.125 GB, free: 28.44 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 7.694e-05/1.004, allocations: 47.91 kB / 1.125 GB, free: 28.44 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002735/1.004, allocations: 30.02 kB / 1.125 GB, free: 28.43 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001272/1.005, allocations: 1.428 MB / 1.126 GB, free: 27.09 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003198/1.006, allocations: 0.7119 MB / 1.127 GB, free: 26.39 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 6.27e-05/1.006, allocations: 21.7 kB / 1.127 GB, free: 26.38 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.66e-05/1.006, allocations: 38.28 kB / 1.127 GB, free: 26.38 MB / 0.698 GB Notification: Performance of SimCode: time 4.01e-07/1.006, allocations: 0 / 1.127 GB, free: 26.38 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01506/1.021, allocations: 3.842 MB / 1.131 GB, free: 26.03 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001471/1.021, allocations: 201 kB / 1.131 GB, free: 25.79 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.597/2.618, allocations: 3.969 kB / 1.131 GB, free: 25.79 MB / 0.698 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_IntegerSwitch_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_IntegerSwitch.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch.pipe 2>&1)