Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.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.Sources.Validation.SampleTrigger,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTrigger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTrigger",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.33/1.33, allocations: 251.5 MB / 266.7 MB, free: 11.05 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.001112/0.001112, allocations: 179.1 kB / 325.8 MB, free: 2.691 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.556/1.556, allocations: 205 MB / 0.576 GB, free: 20.95 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.0007482/0.0007482, allocations: 82.36 kB / 0.6797 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000338/0.0003381, allocations: 17.44 kB / 0.7933 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1636/0.164, allocations: 105.4 MB / 0.8962 GB, free: 68.01 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger): time 0.00125/0.1652, allocations: 1.14 MB / 0.8973 GB, free: 66.85 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0003061/0.1656, allocations: 189.1 kB / 0.8975 GB, free: 66.66 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.378e-05/0.1656, allocations: 0 / 0.8975 GB, free: 66.66 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.934e-05/0.1656, allocations: 7.922 kB / 0.8975 GB, free: 66.66 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.437e-05/0.1657, allocations: 0 / 0.8975 GB, free: 66.66 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001238/0.1658, allocations: 19.88 kB / 0.8975 GB, free: 66.64 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.542e-05/0.1659, allocations: 27.92 kB / 0.8976 GB, free: 66.61 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 7.836e-05/0.166, allocations: 16.27 kB / 0.8976 GB, free: 66.59 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.656e-05/0.166, allocations: 7.938 kB / 0.8976 GB, free: 66.59 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.303e-05/0.1661, allocations: 15.92 kB / 0.8976 GB, free: 66.57 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.337e-05/0.1661, allocations: 4 kB / 0.8976 GB, free: 66.57 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 8.486e-06/0.1661, allocations: 0 / 0.8976 GB, free: 66.57 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.453e-05/0.1661, allocations: 11.92 kB / 0.8976 GB, free: 66.55 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.838e-05/0.1662, allocations: 15.92 kB / 0.8976 GB, free: 66.54 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 5.97e-05/0.1662, allocations: 31.83 kB / 0.8977 GB, free: 66.51 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.1662, allocations: 3.984 kB / 0.8977 GB, free: 66.5 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.202e-06/0.1663, allocations: 4 kB / 0.8977 GB, free: 66.5 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.416e-06/0.1663, allocations: 0 / 0.8977 GB, free: 66.5 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003445/0.1666, allocations: 347.5 kB / 0.898 GB, free: 66.11 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.622e-05/0.1667, allocations: 12.03 kB / 0.898 GB, free: 66.1 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.847e-05/0.1667, allocations: 30.75 kB / 0.8981 GB, free: 66.06 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.313e-05/0.1667, allocations: 4.938 kB / 0.8981 GB, free: 66.05 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.783e-05/0.1668, allocations: 172.2 kB / 0.8982 GB, free: 65.85 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.116e-05/0.1668, allocations: 4.375 kB / 0.8982 GB, free: 65.84 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.676e-06/0.1668, allocations: 8.359 kB / 0.8982 GB, free: 65.84 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001645/0.167, allocations: 62.23 kB / 0.8983 GB, free: 65.77 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.444e-06/0.167, allocations: 3.938 kB / 0.8983 GB, free: 65.77 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.276e-06/0.167, allocations: 0 / 0.8983 GB, free: 65.77 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.167, allocations: 0 / 0.8983 GB, free: 65.77 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001461/0.1672, allocations: 47.97 kB / 0.8983 GB, free: 65.72 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003242/0.1675, allocations: 268.8 kB / 0.8986 GB, free: 65.41 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001272/0.1676, allocations: 50.55 kB / 0.8986 GB, free: 65.35 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.36e-05/0.1677, allocations: 33.81 kB / 0.8987 GB, free: 65.31 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.128e-05/0.1678, allocations: 3.984 kB / 0.8987 GB, free: 65.31 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001641/0.1679, allocations: 75.38 kB / 0.8988 GB, free: 65.22 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=4): time 1.343e-06/0.1679, allocations: 3.938 kB / 0.8988 GB, free: 65.22 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4): time 0.000324/0.1683, allocations: 125.5 kB / 0.8989 GB, free: 65.09 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.574e-05/0.1683, allocations: 51.41 kB / 0.8989 GB, free: 65.03 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.836e-05/0.1684, allocations: 109.8 kB / 0.899 GB, free: 64.91 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.246e-06/0.1684, allocations: 25.7 kB / 0.8991 GB, free: 64.88 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.69e-05/0.1684, allocations: 92.14 kB / 0.8991 GB, free: 64.79 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.148e-05/0.1684, allocations: 3.906 kB / 0.8991 GB, free: 64.78 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.105e-05/0.1685, allocations: 21.7 kB / 0.8992 GB, free: 64.75 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.03e-05/0.1685, allocations: 314.8 kB / 0.8995 GB, free: 64.44 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.029e-05/0.1686, allocations: 23.98 kB / 0.8995 GB, free: 64.41 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.161e-05/0.1687, allocations: 50.55 kB / 0.8995 GB, free: 64.36 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001474/0.1688, allocations: 70.48 kB / 0.8996 GB, free: 64.28 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.1688, allocations: 3.938 kB / 0.8996 GB, free: 64.27 MB / 0.6042 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001859/0.169, allocations: 101.6 kB / 0.8997 GB, free: 64.17 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.004e-05/0.169, allocations: 4 kB / 0.8997 GB, free: 64.16 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-06/0.1691, allocations: 0 / 0.8997 GB, free: 64.16 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.097e-05/0.1691, allocations: 8.109 kB / 0.8997 GB, free: 64.16 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.2e-05/0.1691, allocations: 12 kB / 0.8997 GB, free: 64.14 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.388e-06/0.1692, allocations: 0 / 0.8997 GB, free: 64.14 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.123e-05/0.1692, allocations: 19.92 kB / 0.8997 GB, free: 64.12 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.39e-06/0.1692, allocations: 0 / 0.8997 GB, free: 64.12 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 (triggeredSampler.y,$PRE.triggeredSampler.y,samTri.y,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 4.577e-05/0.1693, allocations: 125.8 kB / 0.8999 GB, free: 63.99 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.107e-06/0.1693, allocations: 4 kB / 0.8999 GB, free: 63.99 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.04e-05/0.1693, allocations: 3.906 kB / 0.8999 GB, free: 63.98 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.1693, allocations: 3.984 kB / 0.8999 GB, free: 63.97 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.1693, allocations: 0 / 0.8999 GB, free: 63.97 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/0.1693, allocations: 0 / 0.8999 GB, free: 63.97 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002808/0.1696, allocations: 346.5 kB / 0.9002 GB, free: 63.58 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.1696, allocations: 0 / 0.9002 GB, free: 63.58 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.559e-05/0.1697, allocations: 15.92 kB / 0.9002 GB, free: 63.56 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.1697, allocations: 0 / 0.9002 GB, free: 63.56 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.552e-06/0.1697, allocations: 0 / 0.9002 GB, free: 63.56 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.1697, allocations: 0 / 0.9002 GB, free: 63.56 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.1697, allocations: 0 / 0.9002 GB, free: 63.56 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000197/0.1699, allocations: 195.4 kB / 0.9004 GB, free: 63.36 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.52e-05/0.1699, allocations: 81.05 kB / 0.9005 GB, free: 63.26 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.284e-05/0.17, allocations: 3.984 kB / 0.9005 GB, free: 63.25 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.172e-05/0.17, allocations: 12 kB / 0.9005 GB, free: 63.24 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.338e-05/0.1701, allocations: 7.922 kB / 0.9005 GB, free: 63.23 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.12e-06/0.1701, allocations: 4 kB / 0.9005 GB, free: 63.23 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.241e-05/0.1701, allocations: 83.28 kB / 0.9006 GB, free: 63.15 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1e-07/0.1701, allocations: 0 / 0.9006 GB, free: 63.15 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002055/0.1703, allocations: 8 kB / 0.9006 GB, free: 63.14 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: 3 (samTri.y,$whenCondition1,triggeredSampler.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0003461/0.1707, allocations: 0.724 MB / 0.9013 GB, free: 62.39 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001813/0.1709, allocations: 68.22 kB / 0.9014 GB, free: 62.32 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.1709, allocations: 0 / 0.9014 GB, free: 62.32 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 8.548e-05/0.171, allocations: 27.98 kB / 0.9014 GB, free: 62.3 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002144/0.1712, allocations: 20.05 kB / 0.9014 GB, free: 62.28 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000329/0.1715, allocations: 157 kB / 0.9016 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.634e-05/0.1716, allocations: 0.6809 MB / 0.9022 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 2.316e-05/0.1717, allocations: 11.89 kB / 0.9022 GB, free: 61.37 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.936e-05/0.1717, allocations: 11.44 kB / 0.9023 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of SimCode: time 2.9e-07/0.1717, allocations: 4 kB / 0.9023 GB, free: 61.35 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01695/0.1887, allocations: 1.274 MB / 0.9035 GB, free: 60.26 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001455/0.1888, allocations: 228 kB / 0.9037 GB, free: 60.01 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.452/1.641, allocations: 3.938 kB / 0.9037 GB, free: 60 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTrigger_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTrigger.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe 2>&1)