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.873/1.873, allocations: 288.2 MB / 303.2 MB, free: 8.121 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.001135/0.001135, allocations: 183.5 kB / 371.8 MB, free: 10.28 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.618/1.618, allocations: 205.4 MB / 0.6305 GB, free: 9.938 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.0009165/0.0009166, allocations: 98.84 kB / 0.7439 GB, free: 5.848 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004263/0.0004265, allocations: 17.41 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2589/0.2594, allocations: 115.3 MB / 0.9795 GB, free: 27.59 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch): time 0.0009503/0.2604, allocations: 0.5336 MB / 0.98 GB, free: 27.05 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001276/0.2617, allocations: 1.22 MB / 0.9812 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.931e-05/0.2618, allocations: 0 / 0.9812 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.132e-05/0.2618, allocations: 3.938 kB / 0.9812 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001285/0.2619, allocations: 19.95 kB / 0.9812 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007199/0.2627, allocations: 287.2 kB / 0.9815 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001416/0.2628, allocations: 143.8 kB / 0.9816 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001251/0.2629, allocations: 33.59 kB / 0.9817 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001141/0.2631, allocations: 99.8 kB / 0.9818 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001243/0.2632, allocations: 75.7 kB / 0.9818 GB, free: 25.17 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.662e-05/0.2632, allocations: 12 kB / 0.9818 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 7.551e-05/0.2633, allocations: 27.98 kB / 0.9819 GB, free: 25.13 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.401e-05/0.2634, allocations: 23.91 kB / 0.9819 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.43e-05/0.2634, allocations: 49.64 kB / 0.9819 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001854/0.2636, allocations: 175.8 kB / 0.9821 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.2636, allocations: 0 / 0.9821 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.996e-06/0.2636, allocations: 7.938 kB / 0.9821 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.692e-06/0.2637, allocations: 0 / 0.9821 GB, free: 24.88 MB / 0.6198 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.0005314/0.2642, allocations: 492.1 kB / 0.9826 GB, free: 24.33 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.725e-05/0.2642, allocations: 15.95 kB / 0.9826 GB, free: 24.31 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.25e-05/0.2643, allocations: 42.55 kB / 0.9826 GB, free: 24.26 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.366e-05/0.2644, allocations: 23.77 kB / 0.9827 GB, free: 24.24 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001158/0.2645, allocations: 185.1 kB / 0.9828 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.777e-05/0.2645, allocations: 12 kB / 0.9829 GB, free: 24.01 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.948e-05/0.2646, allocations: 19.98 kB / 0.9829 GB, free: 23.99 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001651/0.2647, allocations: 90.64 kB / 0.983 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.135e-06/0.2648, allocations: 0 / 0.983 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.311e-05/0.2648, allocations: 8 kB / 0.983 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.66e-06/0.2648, allocations: 4 kB / 0.983 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.916e-05/0.2649, allocations: 43.97 kB / 0.983 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005702/0.2655, allocations: 0.4884 MB / 0.9835 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002025/0.2657, allocations: 78.55 kB / 0.9836 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.105e-05/0.2657, allocations: 3.984 kB / 0.9836 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001895/0.2659, allocations: 109 kB / 0.9837 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=14): time 1.533e-06/0.2659, allocations: 0 / 0.9837 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of matching and sorting (n=14): time 0.0003112/0.2662, allocations: 181.5 kB / 0.9838 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.082e-05/0.2663, allocations: 55.41 kB / 0.9839 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.966e-05/0.2664, allocations: 166.1 kB / 0.9841 GB, free: 22.67 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.32e-05/0.2664, allocations: 33.7 kB / 0.9841 GB, free: 22.63 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.617e-05/0.2665, allocations: 104 kB / 0.9842 GB, free: 22.53 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.439e-05/0.2665, allocations: 35.62 kB / 0.9842 GB, free: 22.49 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.499e-05/0.2666, allocations: 11.94 kB / 0.9842 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.614e-05/0.2666, allocations: 326.8 kB / 0.9845 GB, free: 22.15 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001667/0.2668, allocations: 87.95 kB / 0.9846 GB, free: 22.07 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001913/0.267, allocations: 146 kB / 0.9848 GB, free: 21.9 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001785/0.2672, allocations: 174.4 kB / 0.9849 GB, free: 21.71 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.2672, allocations: 4 kB / 0.9849 GB, free: 21.71 MB / 0.6198 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005478/0.2677, allocations: 394.4 kB / 0.9853 GB, free: 21.3 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 8.59e-05/0.2678, allocations: 106.2 kB / 0.9854 GB, free: 21.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.696e-06/0.2679, allocations: 4 kB / 0.9854 GB, free: 21.18 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.344e-05/0.2679, allocations: 3.953 kB / 0.9854 GB, free: 21.17 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.736e-05/0.268, allocations: 11.94 kB / 0.9854 GB, free: 21.16 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.719e-06/0.268, allocations: 4 kB / 0.9854 GB, free: 21.16 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005541/0.2685, allocations: 127.8 kB / 0.9856 GB, free: 21.03 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.915e-05/0.2686, allocations: 19.98 kB / 0.9856 GB, free: 21.01 MB / 0.6198 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.0001169/0.2687, allocations: 126.7 kB / 0.9857 GB, free: 20.88 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.861e-05/0.2687, allocations: 15.91 kB / 0.9857 GB, free: 20.86 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.276e-05/0.2688, allocations: 16.77 kB / 0.9857 GB, free: 20.85 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.2688, allocations: 4 kB / 0.9857 GB, free: 20.85 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/0.2688, allocations: 7.953 kB / 0.9857 GB, free: 20.84 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.2688, allocations: 0 / 0.9857 GB, free: 20.84 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000159/0.269, allocations: 217.5 kB / 0.986 GB, free: 20.58 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.269, allocations: 0 / 0.986 GB, free: 20.58 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.145e-05/0.269, allocations: 15.98 kB / 0.986 GB, free: 20.56 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.269, allocations: 0 / 0.986 GB, free: 20.56 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.141e-05/0.269, allocations: 0 / 0.986 GB, free: 20.56 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.269, allocations: 4 kB / 0.986 GB, free: 20.56 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.2691, allocations: 0 / 0.986 GB, free: 20.56 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001777/0.2692, allocations: 172.2 kB / 0.9861 GB, free: 20.38 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.93e-05/0.2693, allocations: 88.86 kB / 0.9862 GB, free: 20.27 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.213e-05/0.2693, allocations: 15.92 kB / 0.9862 GB, free: 20.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.941e-05/0.2693, allocations: 0 / 0.9862 GB, free: 20.25 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.407e-05/0.2694, allocations: 11.98 kB / 0.9862 GB, free: 20.24 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.197e-06/0.2694, allocations: 4 kB / 0.9862 GB, free: 20.24 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.738e-05/0.2695, allocations: 115.2 kB / 0.9864 GB, free: 20.12 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2695, allocations: 0 / 0.9864 GB, free: 20.12 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002504/0.2697, allocations: 48 kB / 0.9864 GB, free: 20.08 MB / 0.6198 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.000424/0.2702, allocations: 0.7139 MB / 0.9871 GB, free: 19.33 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003686/0.2705, allocations: 378.1 kB / 0.9875 GB, free: 18.93 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.2706, allocations: 384 / 0.9875 GB, free: 18.93 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 6.723e-05/0.2706, allocations: 55.92 kB / 0.9875 GB, free: 18.87 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002116/0.2708, allocations: 24.31 kB / 0.9875 GB, free: 18.85 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007157/0.2716, allocations: 1.421 MB / 0.9889 GB, free: 17.36 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001328/0.2717, allocations: 0.7165 MB / 0.9896 GB, free: 16.61 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.874e-05/0.2718, allocations: 8.656 kB / 0.9896 GB, free: 16.61 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.654e-05/0.2718, allocations: 39.42 kB / 0.9897 GB, free: 16.57 MB / 0.6198 GB Notification: Performance of SimCode: time 2.4e-07/0.2718, allocations: 0 / 0.9897 GB, free: 16.57 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.014/0.2858, allocations: 3.867 MB / 0.9934 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001491/0.286, allocations: 209.4 kB / 0.9936 GB, free: 12.63 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.62/1.906, allocations: 0 / 0.9936 GB, free: 12.63 MB / 0.6198 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)