Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.43/1.43, allocations: 251.5 MB / 267.4 MB, free: 11.07 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001042/0.001042, allocations: 173.9 kB / 326.5 MB, free: 2.699 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.782/1.782, allocations: 205 MB / 0.5767 GB, free: 21 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008777/0.0008778, allocations: 96.53 kB / 0.6804 GB, free: 14.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003134/0.0003137, allocations: 13.02 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2141/0.2144, allocations: 105.4 MB / 0.8968 GB, free: 68.21 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid): time 0.0015/0.2159, allocations: 1.108 MB / 0.8978 GB, free: 67.09 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.00048/0.2164, allocations: 257.7 kB / 0.8981 GB, free: 66.84 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.453e-05/0.2165, allocations: 0 / 0.8981 GB, free: 66.84 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.869e-05/0.2166, allocations: 3.984 kB / 0.8981 GB, free: 66.83 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.846e-05/0.2166, allocations: 3.938 kB / 0.8981 GB, free: 66.83 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002312/0.2169, allocations: 38.95 kB / 0.8981 GB, free: 66.79 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 8.316e-05/0.217, allocations: 63.78 kB / 0.8982 GB, free: 66.73 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.583e-05/0.2171, allocations: 12.22 kB / 0.8982 GB, free: 66.72 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 7.142e-05/0.2172, allocations: 27.91 kB / 0.8982 GB, free: 66.69 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.875e-05/0.2172, allocations: 31.89 kB / 0.8983 GB, free: 66.66 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.078e-05/0.2173, allocations: 4 kB / 0.8983 GB, free: 66.66 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.352e-05/0.2173, allocations: 4 kB / 0.8983 GB, free: 66.65 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.485e-05/0.2173, allocations: 11.97 kB / 0.8983 GB, free: 66.64 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 5.167e-05/0.2174, allocations: 27.86 kB / 0.8983 GB, free: 66.61 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 9.47e-05/0.2175, allocations: 59.75 kB / 0.8984 GB, free: 66.55 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.2175, allocations: 0 / 0.8984 GB, free: 66.55 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.613e-06/0.2175, allocations: 0 / 0.8984 GB, free: 66.55 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.488e-06/0.2175, allocations: 0 / 0.8984 GB, free: 66.55 MB / 0.6042 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.0005176/0.218, allocations: 367.3 kB / 0.8987 GB, free: 66.14 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.126e-05/0.2181, allocations: 12.03 kB / 0.8987 GB, free: 66.13 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.959e-05/0.2181, allocations: 0.9375 kB / 0.8987 GB, free: 66.13 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.117e-05/0.2182, allocations: 172.3 kB / 0.8989 GB, free: 65.93 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.459e-05/0.2182, allocations: 12.31 kB / 0.8989 GB, free: 65.91 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.283e-05/0.2183, allocations: 4.312 kB / 0.8989 GB, free: 65.91 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001905/0.2185, allocations: 82.2 kB / 0.899 GB, free: 65.82 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.2185, allocations: 192 / 0.899 GB, free: 65.82 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.45e-05/0.2185, allocations: 3.938 kB / 0.899 GB, free: 65.82 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.2185, allocations: 0 / 0.899 GB, free: 65.82 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001515/0.2187, allocations: 47.97 kB / 0.899 GB, free: 65.77 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004003/0.2191, allocations: 280.8 kB / 0.8993 GB, free: 65.45 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000158/0.2193, allocations: 78.42 kB / 0.8994 GB, free: 65.36 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.526e-05/0.2194, allocations: 40.97 kB / 0.8994 GB, free: 65.32 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.319e-05/0.2194, allocations: 0 / 0.8994 GB, free: 65.32 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002367/0.2196, allocations: 103.3 kB / 0.8995 GB, free: 65.21 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=9): time 1.923e-06/0.2196, allocations: 4 kB / 0.8995 GB, free: 65.2 MB / 0.6042 GB Notification: Performance of matching and sorting (n=9): time 0.000443/0.2201, allocations: 181.5 kB / 0.8997 GB, free: 65.02 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.929e-05/0.2201, allocations: 51.41 kB / 0.8997 GB, free: 64.96 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.914e-05/0.2202, allocations: 121.7 kB / 0.8999 GB, free: 64.83 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.346e-05/0.2202, allocations: 33.64 kB / 0.8999 GB, free: 64.79 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.981e-05/0.2203, allocations: 88.12 kB / 0.9 GB, free: 64.7 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.137e-05/0.2203, allocations: 19.81 kB / 0.9 GB, free: 64.68 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.106e-05/0.2203, allocations: 17.72 kB / 0.9 GB, free: 64.66 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.91e-05/0.2204, allocations: 318.8 kB / 0.9003 GB, free: 64.34 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.063e-05/0.2205, allocations: 23.98 kB / 0.9003 GB, free: 64.31 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.353e-05/0.2206, allocations: 45.7 kB / 0.9004 GB, free: 64.26 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001463/0.2207, allocations: 69.69 kB / 0.9004 GB, free: 64.19 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.2207, allocations: 0 / 0.9004 GB, free: 64.19 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002036/0.2209, allocations: 113.4 kB / 0.9006 GB, free: 64.07 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/0.221, allocations: 4 kB / 0.9006 GB, free: 64.07 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.221, allocations: 0 / 0.9006 GB, free: 64.07 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.493e-05/0.221, allocations: 4 kB / 0.9006 GB, free: 64.06 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001028/0.2211, allocations: 20.02 kB / 0.9006 GB, free: 64.04 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/0.2211, allocations: 8 kB / 0.9006 GB, free: 64.04 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.815e-05/0.2212, allocations: 15.92 kB / 0.9006 GB, free: 64.02 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.953e-06/0.2212, allocations: 0 / 0.9006 GB, free: 64.02 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,triggeredTrapezoid1.T,triggeredTrapezoid1.rate,triggeredTrapezoid1.endValue,booPul.pulseStart,$PRE.booPul.pulseStart,booPul.y,$whenCondition2,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * 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 7.205e-05/0.2213, allocations: 125.6 kB / 0.9007 GB, free: 63.89 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.418e-05/0.2213, allocations: 7.906 kB / 0.9007 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.951e-05/0.2213, allocations: 20.36 kB / 0.9008 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.2213, allocations: 3.938 kB / 0.9008 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.2213, allocations: 0 / 0.9008 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.447e-05/0.2214, allocations: 88.89 kB / 0.9008 GB, free: 63.75 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.259e-05/0.2214, allocations: 8 kB / 0.9008 GB, free: 63.75 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.863e-05/0.2215, allocations: 7.984 kB / 0.9009 GB, free: 63.74 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.2e-05/0.2215, allocations: 15.92 kB / 0.9009 GB, free: 63.72 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003124/0.2219, allocations: 228.8 kB / 0.9011 GB, free: 63.49 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0002882/0.2222, allocations: 310.7 kB / 0.9014 GB, free: 63.17 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001075/0.2223, allocations: 51.97 kB / 0.9014 GB, free: 63.12 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.889e-05/0.2223, allocations: 91.27 kB / 0.9015 GB, free: 63.03 MB / 0.6042 GB Notification: Performance of Backend: time 3.51e-07/0.2223, allocations: 0 / 0.9015 GB, free: 63.03 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.000389/0.2227, allocations: 123.6 kB / 0.9016 GB, free: 62.91 MB / 0.6042 GB Notification: Performance of SimCode: time 0.0004467/0.2232, allocations: 0.6141 MB / 0.9022 GB, free: 62.24 MB / 0.6042 GB Notification: Performance of Templates: time 0.002944/0.2261, allocations: 1.098 MB / 0.9033 GB, free: 61.15 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe 2>&1)