Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.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: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.789/1.789, allocations: 292.3 MB / 308.1 MB, free: 4.27 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.001359/0.001359, allocations: 194.4 kB / 376.9 MB, free: 1.816 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.808/1.808, allocations: 205.1 MB / 0.6354 GB, free: 9.773 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.001212/0.001211, allocations: 100.2 kB / 0.748 GB, free: 61.24 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001364/0.001365, allocations: 51.92 kB / 0.8704 GB, free: 13.11 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3637/0.3651, allocations: 114.5 MB / 0.9822 GB, free: 10.4 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch): time 0.003272/0.3685, allocations: 0.7785 MB / 0.983 GB, free: 9.609 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.002471/0.371, allocations: 1.293 MB / 0.9843 GB, free: 8.301 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.369e-05/0.3711, allocations: 0 / 0.9843 GB, free: 8.301 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 5.395e-05/0.3712, allocations: 3.938 kB / 0.9843 GB, free: 8.297 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0001354/0.3714, allocations: 19.86 kB / 0.9843 GB, free: 8.277 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.001071/0.3725, allocations: 287.5 kB / 0.9846 GB, free: 7.996 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0003591/0.3728, allocations: 231.5 kB / 0.9848 GB, free: 7.77 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001463/0.373, allocations: 12.17 kB / 0.9848 GB, free: 7.754 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002512/0.3732, allocations: 87.86 kB / 0.9849 GB, free: 7.668 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001916/0.3734, allocations: 71.77 kB / 0.9849 GB, free: 7.598 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 8.736e-05/0.3735, allocations: 16 kB / 0.985 GB, free: 7.582 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001205/0.3737, allocations: 31.92 kB / 0.985 GB, free: 7.551 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 3.454e-05/0.3737, allocations: 19.92 kB / 0.985 GB, free: 7.531 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0001335/0.3739, allocations: 75.8 kB / 0.9851 GB, free: 7.457 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0003459/0.3742, allocations: 207.7 kB / 0.9853 GB, free: 7.254 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 7.414e-06/0.3742, allocations: 0 / 0.9853 GB, free: 7.254 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.164e-06/0.3742, allocations: 0 / 0.9853 GB, free: 7.254 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.043e-06/0.3742, allocations: 0 / 0.9853 GB, free: 7.254 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000944/0.3752, allocations: 0.4885 MB / 0.9858 GB, free: 6.699 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.563e-05/0.3753, allocations: 12.03 kB / 0.9858 GB, free: 6.688 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001014/0.3754, allocations: 12.94 kB / 0.9858 GB, free: 6.676 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001931/0.3756, allocations: 172.3 kB / 0.9859 GB, free: 6.469 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.703e-05/0.3756, allocations: 16.36 kB / 0.986 GB, free: 6.453 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.651e-05/0.3757, allocations: 12.38 kB / 0.986 GB, free: 6.441 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001645/0.3759, allocations: 66.11 kB / 0.986 GB, free: 6.371 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.013e-05/0.3759, allocations: 3.938 kB / 0.986 GB, free: 6.367 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.946e-05/0.3759, allocations: 3.984 kB / 0.986 GB, free: 6.363 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.035e-06/0.3759, allocations: 0 / 0.986 GB, free: 6.363 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.682e-05/0.376, allocations: 20 kB / 0.9861 GB, free: 6.344 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007897/0.3768, allocations: 420.4 kB / 0.9865 GB, free: 5.883 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 9.107e-05/0.3769, allocations: 34.52 kB / 0.9865 GB, free: 5.84 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.974e-05/0.377, allocations: 20.94 kB / 0.9865 GB, free: 5.816 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.286e-05/0.377, allocations: 0 / 0.9865 GB, free: 5.816 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003276/0.3773, allocations: 99.34 kB / 0.9866 GB, free: 5.707 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=10): time 2.184e-06/0.3773, allocations: 0 / 0.9866 GB, free: 5.707 MB / 0.7136 GB Notification: Performance of matching and sorting (n=10): time 0.000411/0.3778, allocations: 137.5 kB / 0.9867 GB, free: 5.566 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.306e-05/0.3778, allocations: 55.41 kB / 0.9868 GB, free: 5.5 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001503/0.378, allocations: 136 kB / 0.9869 GB, free: 5.359 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 5.248e-05/0.378, allocations: 33.7 kB / 0.987 GB, free: 5.32 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 8.961e-05/0.3781, allocations: 108 kB / 0.9871 GB, free: 5.211 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.746e-05/0.3782, allocations: 19.75 kB / 0.9871 GB, free: 5.191 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001488/0.3783, allocations: 69.67 kB / 0.9871 GB, free: 5.117 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001418/0.3785, allocations: 326.8 kB / 0.9875 GB, free: 4.789 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002077/0.3787, allocations: 83.95 kB / 0.9875 GB, free: 4.707 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002317/0.3789, allocations: 136.5 kB / 0.9877 GB, free: 4.555 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003451/0.3793, allocations: 235 kB / 0.9879 GB, free: 4.285 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.3793, allocations: 384 / 0.9879 GB, free: 4.285 MB / 0.7136 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000654/0.38, allocations: 386.6 kB / 0.9883 GB, free: 3.883 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.238e-05/0.3801, allocations: 101.1 kB / 0.9884 GB, free: 3.766 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.111e-05/0.3801, allocations: 3.984 kB / 0.9884 GB, free: 3.762 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.25e-05/0.3801, allocations: 7.938 kB / 0.9884 GB, free: 3.754 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.979e-05/0.3801, allocations: 4 kB / 0.9884 GB, free: 3.75 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.197e-05/0.3802, allocations: 3.938 kB / 0.9884 GB, free: 3.746 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005534/0.3807, allocations: 87.86 kB / 0.9885 GB, free: 3.66 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.313e-05/0.3808, allocations: 19.98 kB / 0.9885 GB, free: 3.641 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: 13 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,logicalSwitch.y,booPul3.y,$PRE.booPul3.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001557/0.3809, allocations: 133 kB / 0.9886 GB, free: 3.504 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.879e-05/0.381, allocations: 7.906 kB / 0.9886 GB, free: 3.496 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.081e-05/0.381, allocations: 12.38 kB / 0.9886 GB, free: 3.48 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.381, allocations: 0 / 0.9886 GB, free: 3.48 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.059e-05/0.381, allocations: 0 / 0.9886 GB, free: 3.48 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.464e-06/0.3811, allocations: 7.922 kB / 0.9886 GB, free: 3.473 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002001/0.3813, allocations: 197.5 kB / 0.9888 GB, free: 3.23 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.3813, allocations: 0 / 0.9888 GB, free: 3.23 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.338e-05/0.3813, allocations: 0 / 0.9888 GB, free: 3.23 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.061e-06/0.3813, allocations: 0 / 0.9888 GB, free: 3.23 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.527e-05/0.3813, allocations: 11.92 kB / 0.9888 GB, free: 3.219 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.3813, allocations: 0 / 0.9888 GB, free: 3.219 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.3813, allocations: 0 / 0.9888 GB, free: 3.219 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005935/0.3819, allocations: 0.7175 MB / 0.9895 GB, free: 2.441 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.063e-05/0.382, allocations: 85.02 kB / 0.9896 GB, free: 2.34 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.058e-05/0.382, allocations: 0 / 0.9896 GB, free: 2.34 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.735e-05/0.3821, allocations: 7.922 kB / 0.9896 GB, free: 2.332 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.978e-05/0.3821, allocations: 11.98 kB / 0.9896 GB, free: 2.32 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.375e-05/0.3822, allocations: 7.984 kB / 0.9896 GB, free: 2.312 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 7.434e-05/0.3822, allocations: 99.27 kB / 0.9897 GB, free: 2.215 MB / 0.7136 GB Notification: Performance of sort global known variables: time 9e-08/0.3822, allocations: 0 / 0.9897 GB, free: 2.215 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003834/0.3826, allocations: 44.09 kB / 0.9898 GB, free: 2.172 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: 10 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,booPul3.y,logicalSwitch.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002395/0.3829, allocations: 121.6 kB / 0.9899 GB, free: 2.047 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0005204/0.3834, allocations: 358.1 kB / 0.9902 GB, free: 1.66 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.3834, allocations: 0 / 0.9902 GB, free: 1.66 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 7.11e-05/0.3835, allocations: 35.92 kB / 0.9903 GB, free: 1.625 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002907/0.3838, allocations: 28.34 kB / 0.9903 GB, free: 1.598 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006333/0.3844, allocations: 335.5 kB / 0.9906 GB, free: 1.234 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003879/0.3848, allocations: 0.7004 MB / 0.9913 GB, free: 0.5078 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 5.4e-05/0.3849, allocations: 12.42 kB / 0.9913 GB, free: 0.4961 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.703e-05/0.3849, allocations: 11.44 kB / 0.9913 GB, free: 496 kB / 0.7136 GB Notification: Performance of SimCode: time 6.71e-07/0.3849, allocations: 0 / 0.9913 GB, free: 496 kB / 0.7136 GB Notification: Performance of Templates: time 0.007048/0.392, allocations: 2.59 MB / 0.9938 GB, free: 13.92 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.pipe 2>&1)