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.411/1.411, allocations: 251.5 MB / 267.4 MB, free: 11.04 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.001038/0.001038, allocations: 177.8 kB / 326.5 MB, free: 2.652 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.018/2.018, allocations: 205 MB / 0.5766 GB, free: 20.55 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.0007712/0.0007712, allocations: 92.47 kB / 0.6804 GB, free: 14.28 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003121/0.0003121, allocations: 11.44 kB / 0.7938 GB, free: 136.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2131/0.2134, allocations: 105.4 MB / 0.8968 GB, free: 67.64 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid): time 0.001428/0.2149, allocations: 1.107 MB / 0.8978 GB, free: 66.52 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0004245/0.2153, allocations: 245 kB / 0.8981 GB, free: 66.28 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.557e-05/0.2154, allocations: 0 / 0.8981 GB, free: 66.28 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.182e-05/0.2154, allocations: 0 / 0.8981 GB, free: 66.28 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.08e-05/0.2155, allocations: 11.92 kB / 0.8981 GB, free: 66.27 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002057/0.2157, allocations: 35.91 kB / 0.8981 GB, free: 66.23 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 8.17e-05/0.2158, allocations: 67.78 kB / 0.8982 GB, free: 66.16 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.38e-05/0.2159, allocations: 16.19 kB / 0.8982 GB, free: 66.15 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.797e-05/0.216, allocations: 23.92 kB / 0.8982 GB, free: 66.12 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.613e-05/0.2161, allocations: 31.89 kB / 0.8983 GB, free: 66.09 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.873e-05/0.2161, allocations: 4 kB / 0.8983 GB, free: 66.09 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.346e-05/0.2161, allocations: 4 kB / 0.8983 GB, free: 66.09 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.281e-05/0.2161, allocations: 7.984 kB / 0.8983 GB, free: 66.08 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.469e-05/0.2162, allocations: 31.84 kB / 0.8983 GB, free: 66.05 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 7.33e-05/0.2163, allocations: 43.89 kB / 0.8983 GB, free: 66 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.2163, allocations: 0 / 0.8983 GB, free: 66 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.754e-06/0.2163, allocations: 0 / 0.8983 GB, free: 66 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.767e-06/0.2163, allocations: 0 / 0.8983 GB, free: 66 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.000498/0.2168, allocations: 367.3 kB / 0.8987 GB, free: 65.59 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.876e-05/0.2168, allocations: 12.02 kB / 0.8987 GB, free: 65.58 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.922e-05/0.2169, allocations: 8.938 kB / 0.8987 GB, free: 65.57 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001205/0.217, allocations: 172.2 kB / 0.8989 GB, free: 65.37 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.231e-05/0.217, allocations: 384 / 0.8989 GB, free: 65.37 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.498e-05/0.2171, allocations: 8.375 kB / 0.8989 GB, free: 65.36 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001954/0.2173, allocations: 70.2 kB / 0.8989 GB, free: 65.29 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.927e-06/0.2173, allocations: 192 / 0.8989 GB, free: 65.29 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.356e-05/0.2173, allocations: 7.938 kB / 0.899 GB, free: 65.28 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.069e-06/0.2173, allocations: 4 kB / 0.899 GB, free: 65.27 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001539/0.2175, allocations: 47.95 kB / 0.899 GB, free: 65.23 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003842/0.2179, allocations: 288.8 kB / 0.8993 GB, free: 64.89 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000157/0.218, allocations: 82.3 kB / 0.8994 GB, free: 64.8 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.506e-05/0.2181, allocations: 36.95 kB / 0.8994 GB, free: 64.77 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 8.546e-06/0.2181, allocations: 4 kB / 0.8994 GB, free: 64.76 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002333/0.2184, allocations: 103.3 kB / 0.8995 GB, free: 64.65 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=9): time 1.352e-06/0.2184, allocations: 0 / 0.8995 GB, free: 64.65 MB / 0.6042 GB Notification: Performance of matching and sorting (n=9): time 0.0004422/0.2188, allocations: 173.6 kB / 0.8997 GB, free: 64.47 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.392e-05/0.2189, allocations: 63.39 kB / 0.8997 GB, free: 64.4 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.75e-05/0.219, allocations: 125.7 kB / 0.8998 GB, free: 64.27 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.174e-05/0.219, allocations: 25.7 kB / 0.8999 GB, free: 64.23 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.859e-05/0.219, allocations: 84.14 kB / 0.8999 GB, free: 64.15 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.11e-05/0.219, allocations: 15.81 kB / 0.9 GB, free: 64.13 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.697e-05/0.2191, allocations: 21.7 kB / 0.9 GB, free: 64.11 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.892e-05/0.2191, allocations: 310.8 kB / 0.9003 GB, free: 63.79 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.301e-05/0.2192, allocations: 31.98 kB / 0.9003 GB, free: 63.76 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.643e-05/0.2193, allocations: 49.62 kB / 0.9004 GB, free: 63.71 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001529/0.2195, allocations: 69.64 kB / 0.9004 GB, free: 63.63 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.2195, allocations: 3.938 kB / 0.9004 GB, free: 63.63 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002106/0.2197, allocations: 117.8 kB / 0.9005 GB, free: 63.51 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/0.2197, allocations: 4 kB / 0.9005 GB, free: 63.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.2197, allocations: 4 kB / 0.9005 GB, free: 63.5 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.711e-05/0.2198, allocations: 0 / 0.9005 GB, free: 63.5 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001083/0.2199, allocations: 15.98 kB / 0.9006 GB, free: 63.48 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.723e-06/0.2199, allocations: 0 / 0.9006 GB, free: 63.48 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.004e-05/0.22, allocations: 12 kB / 0.9006 GB, free: 63.47 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.183e-06/0.22, allocations: 8.031 kB / 0.9006 GB, free: 63.46 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.441e-05/0.2201, allocations: 129.6 kB / 0.9007 GB, free: 63.33 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.464e-05/0.2201, allocations: 7.906 kB / 0.9007 GB, free: 63.32 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.657e-05/0.2201, allocations: 8.375 kB / 0.9007 GB, free: 63.31 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.2201, allocations: 0 / 0.9007 GB, free: 63.31 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.2201, allocations: 0 / 0.9007 GB, free: 63.31 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.2201, allocations: 3.938 kB / 0.9007 GB, free: 63.31 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005176/0.2207, allocations: 434.4 kB / 0.9011 GB, free: 62.83 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.2207, allocations: 0 / 0.9011 GB, free: 62.83 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.191e-05/0.2207, allocations: 7.984 kB / 0.9011 GB, free: 62.82 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.2207, allocations: 4 kB / 0.9012 GB, free: 62.82 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.216e-05/0.2207, allocations: 0 / 0.9012 GB, free: 62.82 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.2207, allocations: 0 / 0.9012 GB, free: 62.82 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.2208, allocations: 4 kB / 0.9012 GB, free: 62.81 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000283/0.221, allocations: 235.3 kB / 0.9014 GB, free: 62.57 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.27e-05/0.2211, allocations: 89 kB / 0.9015 GB, free: 62.46 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.218e-05/0.2211, allocations: 4 kB / 0.9015 GB, free: 62.46 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001063/0.2212, allocations: 11.98 kB / 0.9015 GB, free: 62.45 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.729e-05/0.2213, allocations: 11.98 kB / 0.9015 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.966e-05/0.2213, allocations: 4 kB / 0.9015 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.369e-05/0.2213, allocations: 95.48 kB / 0.9016 GB, free: 62.34 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2213, allocations: 0 / 0.9016 GB, free: 62.34 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002155/0.2216, allocations: 16 kB / 0.9016 GB, free: 62.32 MB / 0.6042 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 (booPul.y,$whenCondition3,$whenCondition2,$whenCondition1,booPul.pulseStart,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.0001113/0.2217, allocations: 109.5 kB / 0.9017 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002252/0.2219, allocations: 91.89 kB / 0.9018 GB, free: 62.12 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.2219, allocations: 0 / 0.9018 GB, free: 62.12 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001158/0.222, allocations: 43.98 kB / 0.9018 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002684/0.2223, allocations: 15.98 kB / 0.9019 GB, free: 62.06 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003997/0.2227, allocations: 209.4 kB / 0.9021 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001138/0.2229, allocations: 0.6887 MB / 0.9027 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.209e-05/0.2229, allocations: 11.44 kB / 0.9027 GB, free: 61.09 MB / 0.6042 GB Notification: Performance of SimCode: time 3.4e-07/0.2229, allocations: 3.938 kB / 0.9027 GB, free: 61.09 MB / 0.6042 GB Notification: Performance of Templates: time 0.002434/0.2253, allocations: 1.093 MB / 0.9038 GB, free: 60 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)