Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001214/0.001214, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001709/0.001709, allocations: 187.2 kB / 16.62 MB, free: 6.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.656/1.656, allocations: 205.1 MB / 222.5 MB, free: 4.488 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.861/1.861, allocations: 292.3 MB / 0.549 GB, free: 12.72 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00152/0.00152, allocations: 70.62 kB / 0.6723 GB, free: 25.93 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2847/0.2862, allocations: 114.6 MB / 0.7841 GB, free: 12.74 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid): time 0.002175/0.2884, allocations: 0.6698 MB / 0.7848 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001621/0.2901, allocations: 1.176 MB / 0.7859 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.237e-05/0.2901, allocations: 0 / 0.7859 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.807e-05/0.2902, allocations: 3.938 kB / 0.7859 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.362e-05/0.2903, allocations: 3.938 kB / 0.7859 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005399/0.2908, allocations: 150.7 kB / 0.7861 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001932/0.291, allocations: 131.8 kB / 0.7862 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.146e-05/0.2911, allocations: 15.97 kB / 0.7862 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 9.082e-05/0.2912, allocations: 51.89 kB / 0.7863 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001271/0.2913, allocations: 55.84 kB / 0.7863 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.702e-05/0.2914, allocations: 12 kB / 0.7863 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 7.672e-05/0.2915, allocations: 24 kB / 0.7864 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.547e-05/0.2915, allocations: 11.92 kB / 0.7864 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 7.183e-05/0.2916, allocations: 47.83 kB / 0.7864 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001934/0.2918, allocations: 123.7 kB / 0.7865 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.2918, allocations: 0 / 0.7865 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.724e-06/0.2918, allocations: 3.938 kB / 0.7865 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.794e-06/0.2918, allocations: 0 / 0.7865 GB, free: 10.26 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006527/0.2925, allocations: 404.9 kB / 0.7869 GB, free: 9.805 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.679e-05/0.2925, allocations: 8.031 kB / 0.7869 GB, free: 9.797 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.588e-05/0.2926, allocations: 16.86 kB / 0.787 GB, free: 9.781 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000132/0.2927, allocations: 164.3 kB / 0.7871 GB, free: 9.582 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.078e-05/0.2927, allocations: 4.375 kB / 0.7871 GB, free: 9.578 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.533e-05/0.2928, allocations: 16.38 kB / 0.7871 GB, free: 9.562 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002473/0.293, allocations: 70.2 kB / 0.7872 GB, free: 9.488 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.293, allocations: 192 / 0.7872 GB, free: 9.488 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.748e-05/0.2931, allocations: 7.938 kB / 0.7872 GB, free: 9.48 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.2931, allocations: 0 / 0.7872 GB, free: 9.48 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001549/0.2932, allocations: 39.91 kB / 0.7872 GB, free: 9.441 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004958/0.2937, allocations: 316.8 kB / 0.7875 GB, free: 9.082 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002165/0.294, allocations: 82.42 kB / 0.7876 GB, free: 8.992 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001129/0.2941, allocations: 33.97 kB / 0.7877 GB, free: 8.957 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 7.314e-06/0.2941, allocations: 0 / 0.7877 GB, free: 8.957 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002864/0.2944, allocations: 111.2 kB / 0.7878 GB, free: 8.836 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=9): time 1.353e-06/0.2944, allocations: 0 / 0.7878 GB, free: 8.836 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9): time 0.0005288/0.2949, allocations: 181.5 kB / 0.7879 GB, free: 8.652 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.184e-05/0.295, allocations: 55.41 kB / 0.788 GB, free: 8.586 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.89e-05/0.2951, allocations: 118.1 kB / 0.7881 GB, free: 8.461 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.858e-05/0.2951, allocations: 26.08 kB / 0.7881 GB, free: 8.43 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.349e-05/0.2952, allocations: 88.14 kB / 0.7882 GB, free: 8.34 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.74e-05/0.2952, allocations: 27.72 kB / 0.7882 GB, free: 8.312 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.752e-05/0.2953, allocations: 37.7 kB / 0.7883 GB, free: 8.27 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001128/0.2955, allocations: 322.8 kB / 0.7886 GB, free: 7.945 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000157/0.2956, allocations: 51.97 kB / 0.7886 GB, free: 7.895 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001674/0.2958, allocations: 69.92 kB / 0.7887 GB, free: 7.82 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002443/0.296, allocations: 124.1 kB / 0.7888 GB, free: 7.684 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.2961, allocations: 4 kB / 0.7888 GB, free: 7.68 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004213/0.2965, allocations: 199.1 kB / 0.789 GB, free: 7.473 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 5.098e-05/0.2965, allocations: 37.69 kB / 0.789 GB, free: 7.43 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.2966, allocations: 0 / 0.789 GB, free: 7.43 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.155e-05/0.2966, allocations: 4 kB / 0.789 GB, free: 7.426 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001192/0.2967, allocations: 11.94 kB / 0.7891 GB, free: 7.414 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.055e-06/0.2967, allocations: 3.984 kB / 0.7891 GB, free: 7.41 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002202/0.297, allocations: 36.03 kB / 0.7891 GB, free: 7.375 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.341e-05/0.297, allocations: 8 kB / 0.7891 GB, free: 7.367 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,$whenCondition2,triggeredTrapezoid1.T,triggeredTrapezoid1.rate,triggeredTrapezoid1.endValue,booPul.y,$PRE.booPul.y,$whenCondition3,$whenCondition4) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 1 * 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.0001161/0.2971, allocations: 128.9 kB / 0.7892 GB, free: 7.234 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.01e-05/0.2971, allocations: 7.906 kB / 0.7892 GB, free: 7.227 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.207e-05/0.2972, allocations: 8.375 kB / 0.7892 GB, free: 7.219 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.2972, allocations: 0 / 0.7892 GB, free: 7.219 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.169e-06/0.2972, allocations: 0 / 0.7892 GB, free: 7.219 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.217e-06/0.2972, allocations: 0 / 0.7892 GB, free: 7.219 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005721/0.2978, allocations: 410.3 kB / 0.7896 GB, free: 6.762 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.381e-06/0.2978, allocations: 3.984 kB / 0.7896 GB, free: 6.758 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.225e-05/0.2978, allocations: 7.938 kB / 0.7896 GB, free: 6.75 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.142e-06/0.2978, allocations: 7.984 kB / 0.7897 GB, free: 6.742 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.631e-05/0.2979, allocations: 4 kB / 0.7897 GB, free: 6.738 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.2979, allocations: 0 / 0.7897 GB, free: 6.738 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.2979, allocations: 0 / 0.7897 GB, free: 6.738 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004126/0.2983, allocations: 251.3 kB / 0.7899 GB, free: 6.477 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.422e-05/0.2983, allocations: 81.3 kB / 0.79 GB, free: 6.379 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.615e-05/0.2984, allocations: 4 kB / 0.79 GB, free: 6.375 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.481e-05/0.2985, allocations: 3.984 kB / 0.79 GB, free: 6.371 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.799e-05/0.2985, allocations: 7.938 kB / 0.79 GB, free: 6.363 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.15e-05/0.2986, allocations: 8 kB / 0.79 GB, free: 6.355 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.795e-05/0.2986, allocations: 95.2 kB / 0.7901 GB, free: 6.262 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.2986, allocations: 0 / 0.7901 GB, free: 6.262 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002703/0.2989, allocations: 24 kB / 0.7901 GB, free: 6.238 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,triggeredTrapezoid1.endValue,triggeredTrapezoid1.rate,triggeredTrapezoid1.T) * Number of discrete states: 1 (triggeredTrapezoid1.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0002212/0.2991, allocations: 113.6 kB / 0.7902 GB, free: 6.121 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004204/0.2996, allocations: 183.2 kB / 0.7904 GB, free: 5.93 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 5.3e-06/0.2996, allocations: 0 / 0.7904 GB, free: 5.93 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001374/0.2997, allocations: 55.91 kB / 0.7904 GB, free: 5.875 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003341/0.3001, allocations: 14.5 kB / 0.7905 GB, free: 5.863 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004735/0.3006, allocations: 174.8 kB / 0.7906 GB, free: 5.66 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004044/0.301, allocations: 0.6885 MB / 0.7913 GB, free: 4.945 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.673e-05/0.301, allocations: 8.609 kB / 0.7913 GB, free: 4.938 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.814e-05/0.3011, allocations: 11.44 kB / 0.7913 GB, free: 4.926 MB / 0.6075 GB Notification: Performance of SimCode: time 2.6e-07/0.3011, allocations: 0 / 0.7913 GB, free: 4.926 MB / 0.6075 GB Notification: Performance of Templates: time 0.004705/0.3058, allocations: 1.669 MB / 0.793 GB, free: 3.273 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe 2>&1)