Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.And3.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.And3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.And3") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.And3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.And3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.855/1.855, allocations: 292.3 MB / 308.1 MB, free: 4.312 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.001838/0.001838, allocations: 186.4 kB / 376.9 MB, free: 1.832 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.049/2.049, allocations: 205 MB / 0.6354 GB, free: 9.797 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.001585/0.001585, allocations: 101.5 kB / 0.748 GB, free: 61.21 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001116/0.001116, allocations: 59.91 kB / 0.8704 GB, free: 13.11 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2839/0.2851, 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.And3): time 0.002337/0.2874, allocations: 0.7842 MB / 0.983 GB, free: 9.605 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001936/0.2894, allocations: 1.289 MB / 0.9843 GB, free: 8.301 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.405e-05/0.2895, allocations: 0 / 0.9843 GB, free: 8.301 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 3.957e-05/0.2896, allocations: 3.938 kB / 0.9843 GB, free: 8.297 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0001003/0.2897, allocations: 23.84 kB / 0.9843 GB, free: 8.273 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009156/0.2906, allocations: 283.5 kB / 0.9845 GB, free: 7.996 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0003058/0.2909, allocations: 231.5 kB / 0.9848 GB, free: 7.77 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001165/0.291, allocations: 16.19 kB / 0.9848 GB, free: 7.75 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002275/0.2913, allocations: 91.84 kB / 0.9849 GB, free: 7.66 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001592/0.2914, allocations: 71.77 kB / 0.9849 GB, free: 7.59 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 7.56e-05/0.2915, allocations: 12 kB / 0.985 GB, free: 7.578 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001284/0.2917, allocations: 31.92 kB / 0.985 GB, free: 7.547 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 2.745e-05/0.2917, allocations: 11.94 kB / 0.985 GB, free: 7.535 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0001325/0.2918, allocations: 75.8 kB / 0.9851 GB, free: 7.461 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0003806/0.2922, allocations: 211.7 kB / 0.9853 GB, free: 7.254 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 6.091e-06/0.2922, allocations: 4 kB / 0.9853 GB, free: 7.25 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.203e-06/0.2923, allocations: 0 / 0.9853 GB, free: 7.25 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.783e-06/0.2923, allocations: 0 / 0.9853 GB, free: 7.25 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.0007516/0.293, allocations: 0.4885 MB / 0.9857 GB, free: 6.695 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.94e-05/0.2931, allocations: 11.97 kB / 0.9858 GB, free: 6.684 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.012e-05/0.2932, allocations: 12.94 kB / 0.9858 GB, free: 6.672 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001444/0.2933, allocations: 172.3 kB / 0.9859 GB, free: 6.465 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.617e-05/0.2933, allocations: 12.38 kB / 0.9859 GB, free: 6.453 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.746e-05/0.2934, allocations: 16.36 kB / 0.986 GB, free: 6.438 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001365/0.2935, allocations: 62.17 kB / 0.986 GB, free: 6.371 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.142e-05/0.2936, allocations: 7.875 kB / 0.986 GB, free: 6.363 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.096e-05/0.2936, allocations: 4 kB / 0.986 GB, free: 6.359 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-06/0.2936, allocations: 0 / 0.986 GB, free: 6.359 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.191e-05/0.2936, allocations: 19.98 kB / 0.9861 GB, free: 6.34 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005963/0.2942, allocations: 412.4 kB / 0.9864 GB, free: 5.887 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 6.954e-05/0.2943, allocations: 42.5 kB / 0.9865 GB, free: 5.836 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.251e-05/0.2944, allocations: 20.94 kB / 0.9865 GB, free: 5.812 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 8.926e-06/0.2944, allocations: 4 kB / 0.9865 GB, free: 5.809 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002219/0.2946, allocations: 99.42 kB / 0.9866 GB, free: 5.699 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=10): time 2.104e-06/0.2946, allocations: 0 / 0.9866 GB, free: 5.699 MB / 0.7136 GB Notification: Performance of matching and sorting (n=10): time 0.00031/0.2949, allocations: 137.5 kB / 0.9867 GB, free: 5.559 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.641e-05/0.295, allocations: 59.39 kB / 0.9868 GB, free: 5.488 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001347/0.2951, allocations: 136 kB / 0.9869 GB, free: 5.348 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.041e-05/0.2952, allocations: 37.64 kB / 0.987 GB, free: 5.305 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 8.507e-05/0.2953, allocations: 100 kB / 0.9871 GB, free: 5.203 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.741e-05/0.2953, allocations: 19.73 kB / 0.9871 GB, free: 5.184 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001518/0.2955, allocations: 69.67 kB / 0.9871 GB, free: 5.109 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001401/0.2956, allocations: 318.8 kB / 0.9874 GB, free: 4.789 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000197/0.2958, allocations: 91.94 kB / 0.9875 GB, free: 4.699 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002529/0.2961, allocations: 144.5 kB / 0.9877 GB, free: 4.539 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002763/0.2964, allocations: 227 kB / 0.9879 GB, free: 4.277 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.602e-06/0.2964, allocations: 4 kB / 0.9879 GB, free: 4.273 MB / 0.7136 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005706/0.297, allocations: 374.8 kB / 0.9882 GB, free: 3.883 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 6.924e-05/0.297, allocations: 97.09 kB / 0.9883 GB, free: 3.77 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.2971, allocations: 0 / 0.9883 GB, free: 3.77 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.808e-05/0.2971, allocations: 4 kB / 0.9883 GB, free: 3.766 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.626e-05/0.2971, allocations: 8.125 kB / 0.9884 GB, free: 3.758 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.466e-06/0.2971, allocations: 8.016 kB / 0.9884 GB, free: 3.75 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005042/0.2976, allocations: 83.8 kB / 0.9884 GB, free: 3.668 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.826e-05/0.2977, allocations: 23.97 kB / 0.9885 GB, free: 3.645 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,booPul3.y,$PRE.booPul3.y,and1.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.0001231/0.2978, allocations: 141 kB / 0.9886 GB, free: 3.5 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.056e-05/0.2978, allocations: 11.89 kB / 0.9886 GB, free: 3.488 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.723e-05/0.2979, allocations: 8.375 kB / 0.9886 GB, free: 3.477 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.2979, allocations: 0 / 0.9886 GB, free: 3.477 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.925e-06/0.2979, allocations: 4 kB / 0.9886 GB, free: 3.473 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.591e-06/0.2979, allocations: 0 / 0.9886 GB, free: 3.473 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001616/0.2981, allocations: 197.4 kB / 0.9888 GB, free: 3.23 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.2981, allocations: 0 / 0.9888 GB, free: 3.23 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.081e-05/0.2981, allocations: 0 / 0.9888 GB, free: 3.23 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.2981, allocations: 3.938 kB / 0.9888 GB, free: 3.227 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.236e-05/0.2981, allocations: 8 kB / 0.9888 GB, free: 3.219 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.2981, allocations: 4 kB / 0.9888 GB, free: 3.215 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.2981, allocations: 0 / 0.9888 GB, free: 3.215 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004599/0.2986, allocations: 0.7136 MB / 0.9895 GB, free: 2.441 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.42e-05/0.2987, allocations: 85.02 kB / 0.9896 GB, free: 2.34 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.673e-05/0.2987, allocations: 3.984 kB / 0.9896 GB, free: 2.336 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.599e-05/0.2987, allocations: 7.938 kB / 0.9896 GB, free: 2.328 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.034e-05/0.2988, allocations: 15.98 kB / 0.9896 GB, free: 2.312 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.911e-05/0.2988, allocations: 4 kB / 0.9896 GB, free: 2.309 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 5.863e-05/0.2989, allocations: 99.27 kB / 0.9897 GB, free: 2.211 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.134e-06/0.2989, allocations: 0 / 0.9897 GB, free: 2.211 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003575/0.2992, allocations: 55.92 kB / 0.9898 GB, free: 2.156 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,and1.y,booPul3.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.0001941/0.2994, allocations: 106.5 kB / 0.9899 GB, free: 2.047 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0004707/0.2999, allocations: 366.2 kB / 0.9902 GB, free: 1.652 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.574e-06/0.2999, allocations: 0 / 0.9902 GB, free: 1.652 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001185/0.3001, allocations: 43.92 kB / 0.9903 GB, free: 1.609 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002878/0.3004, allocations: 22.66 kB / 0.9903 GB, free: 1.59 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005844/0.301, allocations: 335.7 kB / 0.9906 GB, free: 1.227 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003428/0.3013, allocations: 0.7004 MB / 0.9913 GB, free: 0.5 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.378e-05/0.3014, allocations: 8.438 kB / 0.9913 GB, free: 0.4922 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.63e-05/0.3014, allocations: 11.44 kB / 0.9913 GB, free: 492 kB / 0.7136 GB Notification: Performance of SimCode: time 2.51e-07/0.3014, allocations: 4 kB / 0.9913 GB, free: 488 kB / 0.7136 GB Notification: Performance of Templates: time 0.005705/0.3071, allocations: 2.571 MB / 0.9938 GB, free: 13.93 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.And3.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.And3.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.And3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe 2>&1)