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.719/1.719, allocations: 289.9 MB / 297.4 MB, free: 6.352 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.001178/0.001178, allocations: 184.8 kB / 366.7 MB, free: 1.637 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.743/1.743, allocations: 205.2 MB / 0.626 GB, free: 7.188 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.0009748/0.0009748, allocations: 98.06 kB / 0.74 GB, free: 39.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.469e-05/3.444e-05, allocations: 4 kB / 0.8598 GB, free: 12.95 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9174/0.9175, allocations: 116.3 MB / 0.9734 GB, free: 76.2 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2088/1.126, allocations: 138.7 MB / 1.109 GB, free: 11.42 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003138/1.127, allocations: 72.48 kB / 1.109 GB, free: 11.35 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.0138/1.141, allocations: 4.473 MB / 1.113 GB, free: 6.934 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.533e-06/1.141, allocations: 4 kB / 1.113 GB, free: 6.93 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.327e-05/1.141, allocations: 0 / 1.113 GB, free: 6.93 MB / 0.7136 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.0007461/1.141, allocations: 494.1 kB / 1.114 GB, free: 6.387 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 6.419e-05/1.141, allocations: 12.03 kB / 1.114 GB, free: 6.375 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000144/1.142, allocations: 19.91 kB / 1.114 GB, free: 6.355 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000191/1.142, allocations: 183.6 kB / 1.114 GB, free: 6.133 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.293e-05/1.142, allocations: 0 / 1.114 GB, free: 6.133 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.964e-05/1.142, allocations: 16 kB / 1.114 GB, free: 6.117 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001585/1.142, allocations: 39.98 kB / 1.114 GB, free: 6.078 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001843/1.142, allocations: 77.67 kB / 1.114 GB, free: 5.996 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/1.142, allocations: 0 / 1.114 GB, free: 5.996 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.892e-05/1.142, allocations: 3.953 kB / 1.114 GB, free: 5.992 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.666e-06/1.142, allocations: 8 kB / 1.114 GB, free: 5.984 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007644/1.143, allocations: 457 kB / 1.114 GB, free: 5.5 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002111/1.143, allocations: 70.56 kB / 1.115 GB, free: 5.422 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.938e-05/1.143, allocations: 24.92 kB / 1.115 GB, free: 5.395 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 9.758e-06/1.143, allocations: 0 / 1.115 GB, free: 5.395 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002059/1.144, allocations: 105.3 kB / 1.115 GB, free: 5.281 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=14): time 3.767e-06/1.144, allocations: 3.984 kB / 1.115 GB, free: 5.277 MB / 0.7136 GB Notification: Performance of matching and sorting (n=14): time 0.0002957/1.144, allocations: 128 kB / 1.115 GB, free: 5.148 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.468e-05/1.144, allocations: 63.34 kB / 1.115 GB, free: 5.074 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001177/1.144, allocations: 142.7 kB / 1.115 GB, free: 4.934 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 5.005e-05/1.144, allocations: 29.7 kB / 1.115 GB, free: 4.898 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 8.379e-05/1.144, allocations: 116.3 kB / 1.115 GB, free: 4.781 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.803e-05/1.144, allocations: 23.72 kB / 1.115 GB, free: 4.758 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.675e-05/1.144, allocations: 4 kB / 1.115 GB, free: 4.754 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.000119/1.144, allocations: 322.8 kB / 1.115 GB, free: 4.43 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001676/1.145, allocations: 83.98 kB / 1.116 GB, free: 4.348 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001948/1.145, allocations: 126 kB / 1.116 GB, free: 4.203 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004528/1.145, allocations: 113.2 kB / 1.116 GB, free: 4.094 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5e-06/1.145, allocations: 4 kB / 1.116 GB, free: 4.09 MB / 0.7136 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0007536/1.146, allocations: 310.3 kB / 1.116 GB, free: 3.781 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.000106/1.146, allocations: 97.09 kB / 1.116 GB, free: 3.668 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/1.146, allocations: 0 / 1.116 GB, free: 3.668 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.713e-05/1.146, allocations: 4 kB / 1.116 GB, free: 3.664 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.065e-05/1.146, allocations: 11.94 kB / 1.116 GB, free: 3.652 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.877e-06/1.146, allocations: 8.172 kB / 1.116 GB, free: 3.645 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004898/1.147, allocations: 111.8 kB / 1.116 GB, free: 3.535 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.329e-05/1.147, allocations: 19.98 kB / 1.116 GB, free: 3.516 MB / 0.7136 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 0.0001231/1.147, allocations: 120.9 kB / 1.116 GB, free: 3.391 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001742/1.147, allocations: 123.3 kB / 1.117 GB, free: 3.266 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.604e-05/1.147, allocations: 11.91 kB / 1.117 GB, free: 3.254 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.981e-05/1.147, allocations: 12.73 kB / 1.117 GB, free: 3.238 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/1.147, allocations: 4 kB / 1.117 GB, free: 3.234 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/1.147, allocations: 0 / 1.117 GB, free: 3.234 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/1.147, allocations: 0 / 1.117 GB, free: 3.234 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001601/1.147, allocations: 194 kB / 1.117 GB, free: 3.012 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/1.147, allocations: 0 / 1.117 GB, free: 3.012 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.167e-05/1.148, allocations: 11.94 kB / 1.117 GB, free: 3 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.836e-06/1.148, allocations: 0 / 1.117 GB, free: 3 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.035e-05/1.148, allocations: 0 / 1.117 GB, free: 3 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/1.148, allocations: 8 kB / 1.117 GB, free: 2.992 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/1.148, allocations: 0 / 1.117 GB, free: 2.992 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001858/1.148, allocations: 152.9 kB / 1.117 GB, free: 2.824 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.819e-05/1.148, allocations: 85.02 kB / 1.117 GB, free: 2.723 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.321e-05/1.148, allocations: 3.984 kB / 1.117 GB, free: 2.719 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.993e-05/1.148, allocations: 4 kB / 1.117 GB, free: 2.715 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.104e-05/1.148, allocations: 7.984 kB / 1.117 GB, free: 2.707 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.14e-05/1.148, allocations: 8 kB / 1.117 GB, free: 2.699 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 6.623e-05/1.148, allocations: 105 kB / 1.117 GB, free: 2.598 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.81e-07/1.148, allocations: 4 kB / 1.117 GB, free: 2.594 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002977/1.148, allocations: 51.94 kB / 1.117 GB, free: 2.543 MB / 0.7136 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.0005619/1.149, allocations: 0.7048 MB / 1.118 GB, free: 1.812 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0004557/1.149, allocations: 364.9 kB / 1.118 GB, free: 1.422 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/1.149, allocations: 0 / 1.118 GB, free: 1.422 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 7.623e-05/1.149, allocations: 43.94 kB / 1.118 GB, free: 1.379 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002453/1.15, allocations: 26.03 kB / 1.118 GB, free: 1.355 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005404/1.15, allocations: 194.1 kB / 1.118 GB, free: 1.129 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002901/1.151, allocations: 0.7158 MB / 1.119 GB, free: 396 kB / 0.7136 GB Notification: Performance of simCode: alias equations: time 5.267e-05/1.151, allocations: 8.875 kB / 1.119 GB, free: 384 kB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.006e-05/1.151, allocations: 39.42 kB / 1.119 GB, free: 344 kB / 0.7136 GB Notification: Performance of SimCode: time 6.01e-07/1.151, allocations: 0 / 1.119 GB, free: 344 kB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02584/1.177, allocations: 3.32 MB / 1.122 GB, free: 13.12 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002035/1.177, allocations: 143.2 kB / 1.123 GB, free: 12.94 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.708/2.885, allocations: 6.688 kB / 1.123 GB, free: 12.94 MB / 0.7292 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)