Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_TriggeredTrapezoid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid,fileNamePrefix="Buildings_8_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 8.1.4-maint.8.1.x/package.mo): time 1.778/1.778, allocations: 289.9 MB / 297.4 MB, free: 6.406 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001358/0.001358, allocations: 184.8 kB / 366.7 MB, free: 1.672 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.781/1.781, allocations: 205.2 MB / 0.626 GB, free: 7.164 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008729/0.0008729, allocations: 87.86 kB / 0.74 GB, free: 39.53 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.032e-05/3.031e-05, allocations: 8 kB / 0.8598 GB, free: 12.92 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7105/0.7105, allocations: 116.3 MB / 0.9734 GB, free: 76.3 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1954/0.906, allocations: 138.5 MB / 1.109 GB, free: 11.58 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002278/0.9063, allocations: 72.61 kB / 1.109 GB, free: 11.51 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.007586/0.9139, allocations: 2.439 MB / 1.111 GB, free: 9.109 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.292e-06/0.9139, allocations: 0 / 1.111 GB, free: 9.109 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 8.946e-06/0.9139, allocations: 5.469 kB / 1.111 GB, free: 9.105 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005601/0.9145, allocations: 392 kB / 1.111 GB, free: 8.672 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.867e-05/0.9146, allocations: 14.09 kB / 1.111 GB, free: 8.66 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.631e-05/0.9147, allocations: 4 kB / 1.111 GB, free: 8.656 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001871/0.9149, allocations: 174.9 kB / 1.112 GB, free: 8.445 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.604e-05/0.9149, allocations: 1.125 kB / 1.112 GB, free: 8.445 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.441e-05/0.9149, allocations: 4 kB / 1.112 GB, free: 8.441 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000101/0.915, allocations: 34.59 kB / 1.112 GB, free: 8.41 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001213/0.9152, allocations: 61.66 kB / 1.112 GB, free: 8.344 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.9152, allocations: 7.688 kB / 1.112 GB, free: 8.34 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.523e-05/0.9152, allocations: 0 / 1.112 GB, free: 8.34 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/0.9152, allocations: 4 kB / 1.112 GB, free: 8.336 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005488/0.9158, allocations: 294.6 kB / 1.112 GB, free: 8.012 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001232/0.9159, allocations: 59.84 kB / 1.112 GB, free: 7.945 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.126e-05/0.916, allocations: 32.98 kB / 1.112 GB, free: 7.91 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.216e-05/0.916, allocations: 4 kB / 1.112 GB, free: 7.906 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002042/0.9162, allocations: 96.25 kB / 1.112 GB, free: 7.805 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=9): time 1.743e-06/0.9162, allocations: 0 / 1.112 GB, free: 7.805 MB / 0.7136 GB Notification: Performance of matching and sorting (n=9): time 0.0003082/0.9165, allocations: 129.5 kB / 1.112 GB, free: 7.672 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.343e-05/0.9166, allocations: 55.41 kB / 1.112 GB, free: 7.605 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.025e-05/0.9167, allocations: 104.1 kB / 1.112 GB, free: 7.5 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.625e-05/0.9167, allocations: 25.7 kB / 1.112 GB, free: 7.469 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.793e-05/0.9168, allocations: 92.31 kB / 1.113 GB, free: 7.371 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.606e-05/0.9168, allocations: 23.66 kB / 1.113 GB, free: 7.348 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.457e-05/0.9168, allocations: 0 / 1.113 GB, free: 7.348 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001307/0.917, allocations: 326.8 kB / 1.113 GB, free: 7.02 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.99e-05/0.9171, allocations: 40.53 kB / 1.113 GB, free: 6.98 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.85e-05/0.9172, allocations: 63.19 kB / 1.113 GB, free: 6.914 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000214/0.9174, allocations: 51.91 kB / 1.113 GB, free: 6.863 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.9174, allocations: 5.688 kB / 1.113 GB, free: 6.859 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005598/0.918, allocations: 205.2 kB / 1.113 GB, free: 6.652 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 4.27e-05/0.918, allocations: 37.7 kB / 1.113 GB, free: 6.609 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.386e-06/0.918, allocations: 3.984 kB / 1.113 GB, free: 6.605 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001416/0.9182, allocations: 32.84 kB / 1.113 GB, free: 6.57 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.312e-05/0.9183, allocations: 7.984 kB / 1.113 GB, free: 6.562 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001287/0.9196, allocations: 1.38 MB / 1.115 GB, free: 5.059 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002141/0.9198, allocations: 42.31 kB / 1.115 GB, free: 5.02 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.338e-05/0.9198, allocations: 11.98 kB / 1.115 GB, free: 5.008 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,$whenCondition2,$whenCondition4,$whenCondition3,$PRE.booPul.y,booPul.y,triggeredTrapezoid1.endValue,triggeredTrapezoid1.rate,triggeredTrapezoid1.T) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0001039/0.9199, allocations: 105 kB / 1.115 GB, free: 4.898 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001973/0.9201, allocations: 125.6 kB / 1.115 GB, free: 4.77 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.936e-05/0.9202, allocations: 21.53 kB / 1.115 GB, free: 4.75 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.061e-05/0.9202, allocations: 8.625 kB / 1.115 GB, free: 4.746 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.9202, allocations: 0 / 1.115 GB, free: 4.746 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.282e-06/0.9202, allocations: 0 / 1.115 GB, free: 4.746 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.9202, allocations: 0 / 1.115 GB, free: 4.746 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003494/0.9206, allocations: 359 kB / 1.115 GB, free: 4.352 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.9206, allocations: 7.953 kB / 1.115 GB, free: 4.344 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.142e-05/0.9206, allocations: 8 kB / 1.115 GB, free: 4.336 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.9206, allocations: 96 / 1.115 GB, free: 4.336 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.377e-05/0.9207, allocations: 0 / 1.115 GB, free: 4.336 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.9207, allocations: 3.938 kB / 1.115 GB, free: 4.332 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.59e-06/0.9207, allocations: 7.984 kB / 1.115 GB, free: 4.324 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002246/0.9209, allocations: 213.5 kB / 1.116 GB, free: 4.102 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.067e-05/0.921, allocations: 88.97 kB / 1.116 GB, free: 3.996 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.913e-05/0.921, allocations: 0 / 1.116 GB, free: 3.996 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.915e-05/0.9211, allocations: 17.11 kB / 1.116 GB, free: 3.98 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.963e-05/0.9211, allocations: 3.984 kB / 1.116 GB, free: 3.977 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.461e-05/0.9212, allocations: 8 kB / 1.116 GB, free: 3.969 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 4.653e-05/0.9212, allocations: 87.03 kB / 1.116 GB, free: 3.887 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.7e-07/0.9212, allocations: 0 / 1.116 GB, free: 3.887 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000318/0.9216, allocations: 39.92 kB / 1.116 GB, free: 3.848 MB / 0.7136 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 ($whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,triggeredTrapezoid1.endValue,triggeredTrapezoid1.rate,triggeredTrapezoid1.T) * Number of discrete states: 1 (triggeredTrapezoid1.y) * 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.0006374/0.9222, allocations: 0.7728 MB / 1.117 GB, free: 3.047 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.000395/0.9226, allocations: 269.1 kB / 1.117 GB, free: 2.762 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.247e-06/0.9226, allocations: 0 / 1.117 GB, free: 2.762 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 7.142e-05/0.9227, allocations: 36 kB / 1.117 GB, free: 2.727 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000214/0.9229, allocations: 22.11 kB / 1.117 GB, free: 2.707 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004134/0.9233, allocations: 139.3 kB / 1.117 GB, free: 2.535 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003055/0.9237, allocations: 0.6924 MB / 1.118 GB, free: 1.816 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.599e-05/0.9237, allocations: 4.672 kB / 1.118 GB, free: 1.812 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.172e-05/0.9238, allocations: 15.44 kB / 1.118 GB, free: 1.797 MB / 0.7136 GB Notification: Performance of SimCode: time 2.41e-07/0.9238, allocations: 0 / 1.118 GB, free: 1.797 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02255/0.9463, allocations: 2.177 MB / 1.12 GB, free: 15.69 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00021/0.9466, allocations: 156.6 kB / 1.12 GB, free: 15.5 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.648/2.595, allocations: 5.969 kB / 1.12 GB, free: 15.49 MB / 0.7292 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_TriggeredTrapezoid_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_TriggeredTrapezoid.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe 2>&1)