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.291/1.291, allocations: 251.5 MB / 266.7 MB, free: 11.03 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.001001/0.001001, allocations: 162.8 kB / 325.8 MB, free: 2.695 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.538/1.538, allocations: 205 MB / 0.576 GB, free: 21 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.0008318/0.0008317, allocations: 85.19 kB / 0.6797 GB, free: 14.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002966/0.0002967, allocations: 11.97 kB / 0.7933 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1594/0.1597, allocations: 105.4 MB / 0.8962 GB, free: 68.07 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid): time 0.001288/0.161, allocations: 1.119 MB / 0.8973 GB, free: 66.94 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0003925/0.1614, allocations: 241.8 kB / 0.8975 GB, free: 66.7 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.367e-05/0.1615, allocations: 0 / 0.8975 GB, free: 66.7 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.636e-05/0.1615, allocations: 3.984 kB / 0.8975 GB, free: 66.7 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.499e-05/0.1616, allocations: 7.938 kB / 0.8975 GB, free: 66.69 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001831/0.1618, allocations: 35.89 kB / 0.8976 GB, free: 66.65 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.586e-05/0.1619, allocations: 67.78 kB / 0.8976 GB, free: 66.59 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 6.765e-05/0.1619, allocations: 8.219 kB / 0.8977 GB, free: 66.58 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.163e-05/0.162, allocations: 31.91 kB / 0.8977 GB, free: 66.55 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.532e-05/0.1621, allocations: 31.89 kB / 0.8977 GB, free: 66.52 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.209e-05/0.1621, allocations: 4 kB / 0.8977 GB, free: 66.51 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.247e-05/0.1621, allocations: 4 kB / 0.8977 GB, free: 66.51 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.005e-05/0.1621, allocations: 11.97 kB / 0.8977 GB, free: 66.5 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.197e-05/0.1622, allocations: 27.86 kB / 0.8978 GB, free: 66.47 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 7.364e-05/0.1623, allocations: 59.81 kB / 0.8978 GB, free: 66.41 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.1623, allocations: 0 / 0.8978 GB, free: 66.41 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.423e-06/0.1623, allocations: 0 / 0.8978 GB, free: 66.41 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.346e-06/0.1623, allocations: 0 / 0.8978 GB, free: 66.41 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.0004243/0.1627, allocations: 363.4 kB / 0.8982 GB, free: 66 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.184e-05/0.1627, allocations: 8.031 kB / 0.8982 GB, free: 66 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.991e-05/0.1628, allocations: 34.69 kB / 0.8982 GB, free: 65.95 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.592e-05/0.1628, allocations: 16.77 kB / 0.8982 GB, free: 65.94 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.235e-05/0.1629, allocations: 164.4 kB / 0.8984 GB, free: 65.74 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.646e-05/0.1629, allocations: 8.375 kB / 0.8984 GB, free: 65.73 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.289e-05/0.1629, allocations: 384 / 0.8984 GB, free: 65.73 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001723/0.1631, allocations: 82.2 kB / 0.8985 GB, free: 65.64 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/0.1631, allocations: 7.938 kB / 0.8985 GB, free: 65.64 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.093e-05/0.1631, allocations: 0 / 0.8985 GB, free: 65.64 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.506e-06/0.1631, allocations: 0 / 0.8985 GB, free: 65.64 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001381/0.1633, allocations: 51.91 kB / 0.8985 GB, free: 65.59 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003274/0.1636, allocations: 292.6 kB / 0.8988 GB, free: 65.25 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001474/0.1638, allocations: 74.55 kB / 0.8989 GB, free: 65.17 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.12e-05/0.1639, allocations: 40.97 kB / 0.8989 GB, free: 65.12 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.109e-05/0.1639, allocations: 3.984 kB / 0.8989 GB, free: 65.12 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002009/0.1641, allocations: 103.3 kB / 0.899 GB, free: 65.01 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=9): time 1.352e-06/0.1641, allocations: 0 / 0.899 GB, free: 65.01 MB / 0.6042 GB Notification: Performance of matching and sorting (n=9): time 0.0003992/0.1645, allocations: 177.6 kB / 0.8992 GB, free: 64.83 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.831e-05/0.1646, allocations: 51.41 kB / 0.8992 GB, free: 64.77 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.439e-05/0.1646, allocations: 122 kB / 0.8993 GB, free: 64.64 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.031e-05/0.1646, allocations: 25.7 kB / 0.8994 GB, free: 64.61 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.282e-05/0.1647, allocations: 92.14 kB / 0.8995 GB, free: 64.51 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.859e-05/0.1647, allocations: 15.81 kB / 0.8995 GB, free: 64.5 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.473e-05/0.1647, allocations: 17.7 kB / 0.8995 GB, free: 64.47 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 3.648e-05/0.1648, allocations: 318.8 kB / 0.8998 GB, free: 64.15 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.931e-05/0.1649, allocations: 23.98 kB / 0.8998 GB, free: 64.13 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.785e-05/0.1649, allocations: 49.69 kB / 0.8999 GB, free: 64.07 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001382/0.1651, allocations: 73.58 kB / 0.8999 GB, free: 64 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.1651, allocations: 384 / 0.8999 GB, free: 64 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000191/0.1653, allocations: 113.4 kB / 0.9 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 9.948e-06/0.1653, allocations: 4 kB / 0.9 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.1653, allocations: 4.031 kB / 0.9001 GB, free: 63.87 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.217e-06/0.1653, allocations: 3.938 kB / 0.9001 GB, free: 63.87 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.404e-05/0.1654, allocations: 16 kB / 0.9001 GB, free: 63.85 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.1655, allocations: 8.047 kB / 0.9001 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.419e-05/0.1655, allocations: 8 kB / 0.9001 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.073e-06/0.1655, allocations: 4 kB / 0.9001 GB, free: 63.83 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 5.492e-05/0.1656, allocations: 133.2 kB / 0.9002 GB, free: 63.7 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.361e-05/0.1656, allocations: 11.91 kB / 0.9002 GB, free: 63.68 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.02e-05/0.1656, allocations: 8.375 kB / 0.9002 GB, free: 63.68 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.1656, allocations: 4 kB / 0.9002 GB, free: 63.67 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.1657, allocations: 0 / 0.9002 GB, free: 63.67 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.1657, allocations: 0 / 0.9002 GB, free: 63.67 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004747/0.1661, allocations: 430.4 kB / 0.9007 GB, free: 63.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.1662, allocations: 0 / 0.9007 GB, free: 63.2 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.038e-05/0.1662, allocations: 7.984 kB / 0.9007 GB, free: 63.19 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.724e-06/0.1662, allocations: 0 / 0.9007 GB, free: 63.19 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.099e-05/0.1662, allocations: 4 kB / 0.9007 GB, free: 63.18 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.1662, allocations: 0 / 0.9007 GB, free: 63.18 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.1662, allocations: 4 kB / 0.9007 GB, free: 63.18 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002522/0.1665, allocations: 239.3 kB / 0.9009 GB, free: 62.93 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.727e-05/0.1665, allocations: 81.02 kB / 0.901 GB, free: 62.83 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.952e-05/0.1665, allocations: 4 kB / 0.901 GB, free: 62.83 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001038/0.1666, allocations: 11.98 kB / 0.901 GB, free: 62.82 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.44e-05/0.1667, allocations: 12.2 kB / 0.901 GB, free: 62.8 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.536e-05/0.1667, allocations: 11.94 kB / 0.901 GB, free: 62.79 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.525e-05/0.1667, allocations: 87.27 kB / 0.9011 GB, free: 62.71 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1667, allocations: 7.938 kB / 0.9011 GB, free: 62.7 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.000199/0.1669, allocations: 16 kB / 0.9011 GB, free: 62.68 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.0004085/0.1674, allocations: 0.7593 MB / 0.9019 GB, free: 61.9 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001914/0.1676, allocations: 87.89 kB / 0.9019 GB, free: 61.81 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.1676, allocations: 0 / 0.9019 GB, free: 61.81 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001087/0.1677, allocations: 43.98 kB / 0.902 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002409/0.1679, allocations: 24.33 kB / 0.902 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001068/0.169, allocations: 1.456 MB / 0.9034 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.079e-05/0.1691, allocations: 0.6933 MB / 0.9041 GB, free: 59.49 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 2.967e-05/0.1692, allocations: 4.672 kB / 0.9041 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.452e-05/0.1692, allocations: 19.38 kB / 0.9041 GB, free: 59.46 MB / 0.6042 GB Notification: Performance of SimCode: time 2.2e-07/0.1692, allocations: 0 / 0.9041 GB, free: 59.46 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1799/0.3491, allocations: 1.918 MB / 0.906 GB, free: 57.72 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001544/0.3493, allocations: 235.7 kB / 0.9062 GB, free: 57.46 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.597/1.947, allocations: 0 / 0.9062 GB, free: 57.46 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)