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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_TriggeredTrapezoid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_TriggeredTrapezoid",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.588/1.588, allocations: 252 MB / 267.3 MB, free: 10.85 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.001206/0.001207, allocations: 180.6 kB / 327 MB, free: 2.105 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.15/2.15, allocations: 205.4 MB / 0.578 GB, free: 20.12 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.0009112/0.0009111, allocations: 94.25 kB / 0.6826 GB, free: 12.76 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003674/0.0003675, allocations: 15.42 kB / 0.7971 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.233/0.2334, allocations: 106.3 MB / 0.9009 GB, free: 63.4 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid): time 0.001735/0.2351, allocations: 1.112 MB / 0.902 GB, free: 62.28 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0005558/0.2357, allocations: 232.2 kB / 0.9022 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.011e-05/0.2358, allocations: 0 / 0.9022 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.433e-05/0.2359, allocations: 3.938 kB / 0.9022 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 9.668e-05/0.236, allocations: 15.91 kB / 0.9023 GB, free: 62.03 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002648/0.2362, allocations: 19.98 kB / 0.9023 GB, free: 62.01 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 9.541e-05/0.2363, allocations: 75.75 kB / 0.9023 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001148/0.2365, allocations: 4 kB / 0.9024 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 8.535e-05/0.2365, allocations: 35.84 kB / 0.9024 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 7.619e-05/0.2366, allocations: 27.91 kB / 0.9024 GB, free: 61.87 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.363e-05/0.2367, allocations: 7.938 kB / 0.9024 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.587e-05/0.2367, allocations: 0 / 0.9024 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.777e-05/0.2367, allocations: 15.92 kB / 0.9024 GB, free: 61.84 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 6.161e-05/0.2368, allocations: 57.59 kB / 0.9025 GB, free: 61.78 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001176/0.2369, allocations: 59.77 kB / 0.9025 GB, free: 61.72 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.132e-06/0.2369, allocations: 0 / 0.9025 GB, free: 61.72 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.505e-06/0.2369, allocations: 0 / 0.9025 GB, free: 61.72 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.342e-06/0.2369, allocations: 0 / 0.9025 GB, free: 61.72 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.0006621/0.2376, allocations: 359.7 kB / 0.9029 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.484e-05/0.2377, allocations: 8.031 kB / 0.9029 GB, free: 61.31 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.207e-05/0.2377, allocations: 34.75 kB / 0.9029 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.232e-05/0.2378, allocations: 8.828 kB / 0.9029 GB, free: 61.26 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001363/0.2379, allocations: 172.3 kB / 0.9031 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.562e-05/0.238, allocations: 4.375 kB / 0.9031 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.786e-05/0.238, allocations: 4.375 kB / 0.9031 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002421/0.2382, allocations: 86.12 kB / 0.9032 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.2383, allocations: 3.938 kB / 0.9032 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.474e-05/0.2383, allocations: 0 / 0.9032 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.411e-06/0.2383, allocations: 4 kB / 0.9032 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001652/0.2385, allocations: 43.97 kB / 0.9032 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000442/0.2389, allocations: 284.8 kB / 0.9035 GB, free: 60.58 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001753/0.2391, allocations: 74.42 kB / 0.9036 GB, free: 60.5 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001044/0.2392, allocations: 40.97 kB / 0.9036 GB, free: 60.45 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 9.989e-06/0.2392, allocations: 0 / 0.9036 GB, free: 60.45 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002535/0.2395, allocations: 103.3 kB / 0.9037 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=9): time 1.813e-06/0.2395, allocations: 4 kB / 0.9037 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of matching and sorting (n=9): time 0.0004882/0.24, allocations: 173.5 kB / 0.9039 GB, free: 60.16 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.782e-05/0.2401, allocations: 55.41 kB / 0.9039 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.365e-05/0.2401, allocations: 122.1 kB / 0.9041 GB, free: 59.96 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.418e-05/0.2402, allocations: 33.7 kB / 0.9041 GB, free: 59.93 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.266e-05/0.2402, allocations: 84.14 kB / 0.9042 GB, free: 59.84 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.618e-05/0.2402, allocations: 19.88 kB / 0.9042 GB, free: 59.82 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.177e-06/0.2402, allocations: 3.938 kB / 0.9042 GB, free: 59.82 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.842e-05/0.2403, allocations: 322.8 kB / 0.9045 GB, free: 59.49 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.674e-05/0.2404, allocations: 31.98 kB / 0.9045 GB, free: 59.46 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001028/0.2405, allocations: 49.58 kB / 0.9046 GB, free: 59.41 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001556/0.2407, allocations: 69.62 kB / 0.9046 GB, free: 59.33 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.037e-06/0.2407, allocations: 4 kB / 0.9047 GB, free: 59.33 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002301/0.2409, allocations: 105.5 kB / 0.9048 GB, free: 59.22 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/0.2409, allocations: 10.94 kB / 0.9048 GB, free: 59.21 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.241, allocations: 8 kB / 0.9048 GB, free: 59.2 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/0.241, allocations: 0 / 0.9048 GB, free: 59.2 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000109/0.2411, allocations: 15.98 kB / 0.9048 GB, free: 59.19 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.281e-06/0.2411, allocations: 0 / 0.9048 GB, free: 59.19 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.524e-05/0.2412, allocations: 19.92 kB / 0.9048 GB, free: 59.17 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.205e-06/0.2412, allocations: 4 kB / 0.9048 GB, free: 59.16 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.937e-05/0.2413, allocations: 124.2 kB / 0.9049 GB, free: 59.04 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.578e-05/0.2413, allocations: 11.91 kB / 0.9049 GB, free: 59.03 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.868e-05/0.2413, allocations: 12.36 kB / 0.905 GB, free: 59.02 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.2414, allocations: 0 / 0.905 GB, free: 59.02 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.2414, allocations: 4 kB / 0.905 GB, free: 59.01 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.2414, allocations: 0 / 0.905 GB, free: 59.01 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005607/0.2419, allocations: 430.4 kB / 0.9054 GB, free: 58.54 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.2419, allocations: 96 / 0.9054 GB, free: 58.54 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.26e-05/0.242, allocations: 7.938 kB / 0.9054 GB, free: 58.53 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.396e-06/0.242, allocations: 4 kB / 0.9054 GB, free: 58.52 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.324e-05/0.242, allocations: 0 / 0.9054 GB, free: 58.52 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.242, allocations: 0 / 0.9054 GB, free: 58.52 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.242, allocations: 0 / 0.9054 GB, free: 58.52 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003091/0.2423, allocations: 239.3 kB / 0.9056 GB, free: 58.27 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.082e-05/0.2424, allocations: 85.02 kB / 0.9057 GB, free: 58.17 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.39e-05/0.2424, allocations: 7.984 kB / 0.9057 GB, free: 58.16 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001042/0.2425, allocations: 11.98 kB / 0.9057 GB, free: 58.15 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.927e-05/0.2426, allocations: 4 kB / 0.9057 GB, free: 58.15 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.18e-05/0.2426, allocations: 11.92 kB / 0.9057 GB, free: 58.14 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.444e-05/0.2426, allocations: 91.28 kB / 0.9058 GB, free: 58.05 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2427, allocations: 0 / 0.9058 GB, free: 58.05 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.000227/0.2429, allocations: 16 kB / 0.9058 GB, free: 58.03 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.0006481/0.2435, allocations: 0.7659 MB / 0.9066 GB, free: 57.24 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.000263/0.2438, allocations: 87.84 kB / 0.9067 GB, free: 57.16 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.2438, allocations: 0 / 0.9067 GB, free: 57.16 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001319/0.244, allocations: 52.28 kB / 0.9067 GB, free: 57.11 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003089/0.2443, allocations: 20.11 kB / 0.9067 GB, free: 57.09 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001629/0.2459, allocations: 1.478 MB / 0.9082 GB, free: 55.52 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001729/0.2461, allocations: 0.6888 MB / 0.9088 GB, free: 54.8 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 4.177e-05/0.2462, allocations: 8.656 kB / 0.9088 GB, free: 54.79 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.295e-05/0.2462, allocations: 15.44 kB / 0.9089 GB, free: 54.78 MB / 0.6042 GB Notification: Performance of SimCode: time 2.21e-07/0.2462, allocations: 0 / 0.9089 GB, free: 54.78 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01205/0.2583, allocations: 1.9 MB / 0.9107 GB, free: 53.05 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001655/0.2585, allocations: 233.1 kB / 0.9109 GB, free: 52.79 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.77/2.028, allocations: 4 kB / 0.9109 GB, free: 52.79 MB / 0.6042 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_TriggeredTrapezoid_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_TriggeredTrapezoid.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe 2>&1)