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.393/1.393, allocations: 252 MB / 267 MB, free: 10.96 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.001058/0.001058, allocations: 177.9 kB / 326.6 MB, free: 2.203 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.874/1.874, allocations: 205.4 MB / 0.5777 GB, free: 20.56 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.0008174/0.0008173, allocations: 92.23 kB / 0.6823 GB, free: 13.33 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003413/0.0003414, allocations: 10.84 kB / 0.7965 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2526/0.253, allocations: 106.4 MB / 0.9003 GB, free: 64.16 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid): time 0.001609/0.2547, allocations: 1.084 MB / 0.9014 GB, free: 63.06 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0004657/0.2552, allocations: 241.5 kB / 0.9016 GB, free: 62.82 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.567e-05/0.2552, allocations: 0 / 0.9016 GB, free: 62.82 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.605e-05/0.2552, allocations: 0 / 0.9016 GB, free: 62.82 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 8.646e-05/0.2553, allocations: 19.84 kB / 0.9016 GB, free: 62.8 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.000221/0.2555, allocations: 19.98 kB / 0.9017 GB, free: 62.78 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 9.18e-05/0.2556, allocations: 63.83 kB / 0.9017 GB, free: 62.72 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 8.254e-05/0.2557, allocations: 4 kB / 0.9017 GB, free: 62.71 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 7.232e-05/0.2558, allocations: 31.89 kB / 0.9018 GB, free: 62.68 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 7.115e-05/0.2559, allocations: 31.91 kB / 0.9018 GB, free: 62.65 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.082e-05/0.2559, allocations: 11.88 kB / 0.9018 GB, free: 62.64 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.471e-05/0.2559, allocations: 4 kB / 0.9018 GB, free: 62.64 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.174e-05/0.256, allocations: 7.984 kB / 0.9018 GB, free: 62.63 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.024e-05/0.256, allocations: 37.69 kB / 0.9018 GB, free: 62.59 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 8.134e-05/0.2561, allocations: 47.89 kB / 0.9019 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.2561, allocations: 0 / 0.9019 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.833e-06/0.2561, allocations: 0 / 0.9019 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.959e-06/0.2561, allocations: 0 / 0.9019 GB, free: 62.54 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.0005614/0.2567, allocations: 359.5 kB / 0.9022 GB, free: 62.14 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.249e-05/0.2568, allocations: 15.97 kB / 0.9022 GB, free: 62.12 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.9e-05/0.2568, allocations: 30.56 kB / 0.9023 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.205e-05/0.2568, allocations: 7.906 kB / 0.9023 GB, free: 62.08 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001403/0.257, allocations: 178.9 kB / 0.9025 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.085e-05/0.257, allocations: 4 kB / 0.9025 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.433e-05/0.257, allocations: 4 kB / 0.9025 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002073/0.2572, allocations: 81.58 kB / 0.9025 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.2573, allocations: 0 / 0.9025 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.271e-05/0.2573, allocations: 0 / 0.9025 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.2573, allocations: 4 kB / 0.9025 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001659/0.2575, allocations: 47.91 kB / 0.9026 GB, free: 61.72 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000405/0.2579, allocations: 280.8 kB / 0.9029 GB, free: 61.39 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001703/0.2581, allocations: 70.55 kB / 0.9029 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000104/0.2582, allocations: 40.97 kB / 0.903 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.127e-05/0.2582, allocations: 0 / 0.903 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002563/0.2585, allocations: 107.3 kB / 0.9031 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=9): time 1.723e-06/0.2585, allocations: 0 / 0.9031 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of matching and sorting (n=9): time 0.0004646/0.2589, allocations: 177.5 kB / 0.9032 GB, free: 60.98 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.068e-05/0.259, allocations: 51.41 kB / 0.9033 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.322e-05/0.2591, allocations: 121.9 kB / 0.9034 GB, free: 60.79 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.451e-05/0.2591, allocations: 29.7 kB / 0.9034 GB, free: 60.75 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.568e-05/0.2591, allocations: 96.03 kB / 0.9035 GB, free: 60.65 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.236e-05/0.2592, allocations: 11.81 kB / 0.9035 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.544e-06/0.2592, allocations: 4 kB / 0.9035 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.966e-05/0.2592, allocations: 318.8 kB / 0.9038 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.005e-05/0.2593, allocations: 31.92 kB / 0.9039 GB, free: 60.29 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.856e-05/0.2594, allocations: 41.7 kB / 0.9039 GB, free: 60.24 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.583e-05/0.2595, allocations: 35.92 kB / 0.9039 GB, free: 60.2 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.2595, allocations: 384 / 0.9039 GB, free: 60.2 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002182/0.2597, allocations: 109.5 kB / 0.904 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.255e-05/0.2598, allocations: 4 kB / 0.904 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.2598, allocations: 4 kB / 0.9041 GB, free: 60.08 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.277e-05/0.2598, allocations: 0 / 0.9041 GB, free: 60.08 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001111/0.2599, allocations: 16.02 kB / 0.9041 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.2599, allocations: 4 kB / 0.9041 GB, free: 60.06 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.552e-05/0.26, allocations: 23.88 kB / 0.9041 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.205e-06/0.26, allocations: 4 kB / 0.9041 GB, free: 60.04 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 8.641e-05/0.2601, allocations: 119.8 kB / 0.9042 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.499e-05/0.2601, allocations: 7.906 kB / 0.9042 GB, free: 59.9 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.831e-05/0.2602, allocations: 12.36 kB / 0.9042 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.2602, allocations: 0 / 0.9042 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.2602, allocations: 4 kB / 0.9042 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.2602, allocations: 0 / 0.9042 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005765/0.2608, allocations: 426.4 kB / 0.9046 GB, free: 59.41 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.2608, allocations: 0 / 0.9046 GB, free: 59.41 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.292e-05/0.2608, allocations: 8 kB / 0.9047 GB, free: 59.41 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.2608, allocations: 0 / 0.9047 GB, free: 59.41 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.266e-05/0.2609, allocations: 4 kB / 0.9047 GB, free: 59.4 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.2609, allocations: 3.984 kB / 0.9047 GB, free: 59.4 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.2609, allocations: 3.953 kB / 0.9047 GB, free: 59.39 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003162/0.2612, allocations: 235.3 kB / 0.9049 GB, free: 59.15 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.523e-05/0.2612, allocations: 89.09 kB / 0.905 GB, free: 59.04 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.127e-05/0.2613, allocations: 0 / 0.905 GB, free: 59.04 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001148/0.2614, allocations: 15.98 kB / 0.905 GB, free: 59.03 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.844e-05/0.2614, allocations: 12.22 kB / 0.905 GB, free: 59.02 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.986e-05/0.2615, allocations: 4 kB / 0.905 GB, free: 59.01 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.483e-05/0.2615, allocations: 91.27 kB / 0.9051 GB, free: 58.92 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2615, allocations: 7.875 kB / 0.9051 GB, free: 58.91 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002085/0.2617, allocations: 16 kB / 0.9051 GB, free: 58.9 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005672/0.2623, allocations: 0.767 MB / 0.9059 GB, free: 58.11 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002538/0.2626, allocations: 79.91 kB / 0.9059 GB, free: 58.03 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.2626, allocations: 8.062 kB / 0.9059 GB, free: 58.02 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001239/0.2627, allocations: 47.97 kB / 0.906 GB, free: 57.97 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002708/0.263, allocations: 11.98 kB / 0.906 GB, free: 57.96 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009996/0.264, allocations: 0.5508 MB / 0.9065 GB, free: 57.36 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001588/0.2642, allocations: 0.6848 MB / 0.9072 GB, free: 56.65 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 3.716e-05/0.2642, allocations: 12.66 kB / 0.9072 GB, free: 56.63 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.394e-05/0.2643, allocations: 15.44 kB / 0.9072 GB, free: 56.62 MB / 0.6042 GB Notification: Performance of SimCode: time 3.31e-07/0.2643, allocations: 0 / 0.9072 GB, free: 56.62 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01318/0.2775, allocations: 1.904 MB / 0.9091 GB, free: 54.89 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002227/0.2778, allocations: 224.6 kB / 0.9093 GB, free: 54.64 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.776/2.054, allocations: 0 / 0.9093 GB, free: 54.64 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)