Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_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_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.457/2.457, allocations: 251.1 MB / 266.7 MB, free: 11.66 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.001382/0.001381, allocations: 182.5 kB / 326.3 MB, free: 2.902 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.507/2.507, allocations: 205.4 MB / 0.5772 GB, free: 20.77 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.0009447/0.0009446, allocations: 83.02 kB / 0.6817 GB, free: 13.68 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006493/0.0006496, allocations: 18.5 kB / 0.7957 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2205/0.2211, allocations: 106.3 MB / 0.8995 GB, free: 65.59 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid): time 0.001681/0.2229, allocations: 1.091 MB / 0.9006 GB, free: 64.48 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0006333/0.2235, allocations: 241.4 kB / 0.9008 GB, free: 64.25 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.961e-05/0.2236, allocations: 0 / 0.9008 GB, free: 64.25 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.08e-05/0.2236, allocations: 0 / 0.9008 GB, free: 64.25 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 8.251e-05/0.2237, allocations: 15.92 kB / 0.9008 GB, free: 64.23 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002295/0.224, allocations: 27.91 kB / 0.9009 GB, free: 64.2 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001015/0.2241, allocations: 63.83 kB / 0.9009 GB, free: 64.14 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 8.162e-05/0.2242, allocations: 4 kB / 0.9009 GB, free: 64.14 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 7.254e-05/0.2243, allocations: 31.91 kB / 0.9009 GB, free: 64.11 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 7.206e-05/0.2243, allocations: 23.91 kB / 0.901 GB, free: 64.08 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.536e-05/0.2244, allocations: 4 kB / 0.901 GB, free: 64.08 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.978e-05/0.2244, allocations: 4 kB / 0.901 GB, free: 64.07 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.579e-05/0.2244, allocations: 19.84 kB / 0.901 GB, free: 64.05 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.79e-05/0.2245, allocations: 33.7 kB / 0.901 GB, free: 64.02 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 8.482e-05/0.2246, allocations: 43.89 kB / 0.9011 GB, free: 63.97 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.2246, allocations: 4 kB / 0.9011 GB, free: 63.97 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.964e-06/0.2246, allocations: 0 / 0.9011 GB, free: 63.97 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.358e-06/0.2246, allocations: 0 / 0.9011 GB, free: 63.97 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.0006531/0.2253, allocations: 363.5 kB / 0.9014 GB, free: 63.56 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.104e-05/0.2253, allocations: 8.031 kB / 0.9014 GB, free: 63.55 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.519e-05/0.2254, allocations: 8.938 kB / 0.9014 GB, free: 63.55 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001106/0.2255, allocations: 184.1 kB / 0.9016 GB, free: 63.33 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.805e-05/0.2256, allocations: 4.375 kB / 0.9016 GB, free: 63.32 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.158e-05/0.2256, allocations: 4.375 kB / 0.9016 GB, free: 63.32 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003034/0.2259, allocations: 82.19 kB / 0.9017 GB, free: 63.23 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/0.2259, allocations: 192 / 0.9017 GB, free: 63.23 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.967e-05/0.226, allocations: 3.938 kB / 0.9017 GB, free: 63.23 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.56e-06/0.226, allocations: 0 / 0.9017 GB, free: 63.23 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002694/0.2262, allocations: 47.97 kB / 0.9017 GB, free: 63.18 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005305/0.2268, allocations: 284.8 kB / 0.902 GB, free: 62.86 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002796/0.2271, allocations: 74.47 kB / 0.9021 GB, free: 62.77 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001906/0.2273, allocations: 36.97 kB / 0.9021 GB, free: 62.73 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.525e-05/0.2273, allocations: 8 kB / 0.9021 GB, free: 62.73 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003881/0.2277, allocations: 103.2 kB / 0.9022 GB, free: 62.61 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=9): time 1.974e-06/0.2277, allocations: 0 / 0.9022 GB, free: 62.61 MB / 0.6042 GB Notification: Performance of matching and sorting (n=9): time 0.0007923/0.2285, allocations: 177.5 kB / 0.9024 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.727e-05/0.2286, allocations: 59.41 kB / 0.9025 GB, free: 62.36 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.428e-05/0.2287, allocations: 109.8 kB / 0.9026 GB, free: 62.25 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.919e-05/0.2287, allocations: 29.7 kB / 0.9026 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.718e-05/0.2288, allocations: 84.14 kB / 0.9027 GB, free: 62.12 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.588e-05/0.2288, allocations: 27.77 kB / 0.9027 GB, free: 62.1 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.212e-05/0.2288, allocations: 0 / 0.9027 GB, free: 62.1 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.449e-05/0.2289, allocations: 314.8 kB / 0.903 GB, free: 61.78 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001511/0.2291, allocations: 31.98 kB / 0.903 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001659/0.2293, allocations: 49.62 kB / 0.9031 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001524/0.2294, allocations: 24 kB / 0.9031 GB, free: 61.67 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.2294, allocations: 0 / 0.9031 GB, free: 61.67 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003849/0.2298, allocations: 121.5 kB / 0.9032 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.021e-05/0.2299, allocations: 4 kB / 0.9032 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.2299, allocations: 0 / 0.9032 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.874e-05/0.2299, allocations: 0 / 0.9032 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001833/0.2301, allocations: 15.98 kB / 0.9032 GB, free: 61.53 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/0.2301, allocations: 480 / 0.9032 GB, free: 61.53 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001268/0.2303, allocations: 19.83 kB / 0.9033 GB, free: 61.51 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.486e-05/0.2303, allocations: 8 kB / 0.9033 GB, free: 61.5 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,$whenCondition3,$whenCondition2,booPul.y,$PRE.booPul.pulseStart,booPul.pulseStart,triggeredTrapezoid1.endValue,triggeredTrapezoid1.rate,triggeredTrapezoid1.T) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001076/0.2304, allocations: 121.8 kB / 0.9034 GB, free: 61.37 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.277e-05/0.2304, allocations: 4 kB / 0.9034 GB, free: 61.37 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.497e-05/0.2305, allocations: 12.31 kB / 0.9034 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.2305, allocations: 0 / 0.9034 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.2305, allocations: 4 kB / 0.9034 GB, free: 61.35 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.421e-05/0.2306, allocations: 89 kB / 0.9035 GB, free: 61.25 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.014e-05/0.2306, allocations: 3.938 kB / 0.9035 GB, free: 61.24 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001806/0.2308, allocations: 11.98 kB / 0.9035 GB, free: 61.23 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.074e-05/0.2309, allocations: 19.92 kB / 0.9035 GB, free: 61.21 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006212/0.2315, allocations: 220.9 kB / 0.9037 GB, free: 60.99 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.00054/0.2321, allocations: 314.7 kB / 0.904 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002149/0.2323, allocations: 51.91 kB / 0.9041 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 4.736e-05/0.2323, allocations: 91.27 kB / 0.9042 GB, free: 60.52 MB / 0.6042 GB Notification: Performance of Backend: time 8.71e-07/0.2324, allocations: 0 / 0.9042 GB, free: 60.52 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0005488/0.2329, allocations: 122.4 kB / 0.9043 GB, free: 60.4 MB / 0.6042 GB Notification: Performance of SimCode: time 0.0005503/0.2335, allocations: 0.6172 MB / 0.9049 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of Templates: time 0.004395/0.2379, allocations: 1.072 MB / 0.9059 GB, free: 58.67 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.makefile (rm -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe ; mkfifo Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe >> ../files/Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.sim & ./Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe 2>&1)