Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Pulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Pulse",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.486/1.486, allocations: 287.4 MB / 302.6 MB, free: 8.188 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.000882/0.000882, allocations: 178.1 kB / 371.1 MB, free: 10.8 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.24/1.24, allocations: 205.4 MB / 0.6298 GB, free: 10.58 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007216/0.0007216, allocations: 91.69 kB / 0.7431 GB, free: 6.562 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003367/0.0003368, allocations: 16.89 kB / 0.8662 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1601/0.1604, allocations: 115.3 MB / 0.9788 GB, free: 28.08 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.0008076/0.1613, allocations: 0.6572 MB / 0.9794 GB, free: 27.42 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001371/0.1627, allocations: 1.411 MB / 0.9808 GB, free: 26 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.172e-05/0.1628, allocations: 4 kB / 0.9808 GB, free: 25.99 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.272e-05/0.1628, allocations: 7.875 kB / 0.9808 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001295/0.163, allocations: 39.64 kB / 0.9808 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008424/0.1638, allocations: 375.4 kB / 0.9812 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002925/0.1641, allocations: 391.1 kB / 0.9816 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001114/0.1642, allocations: 41.66 kB / 0.9816 GB, free: 25.17 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001707/0.1644, allocations: 143.6 kB / 0.9817 GB, free: 25.03 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001347/0.1645, allocations: 115.5 kB / 0.9818 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 5.763e-05/0.1646, allocations: 16 kB / 0.9819 GB, free: 24.9 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 8.878e-05/0.1647, allocations: 35.97 kB / 0.9819 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.32e-05/0.1647, allocations: 23.86 kB / 0.9819 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.487e-05/0.1648, allocations: 73.58 kB / 0.982 GB, free: 24.76 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002354/0.165, allocations: 383.2 kB / 0.9823 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.1651, allocations: 0 / 0.9823 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.242e-06/0.1651, allocations: 0 / 0.9823 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.194e-06/0.1651, allocations: 4 kB / 0.9823 GB, free: 24.38 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0005171/0.1656, allocations: 0.56 MB / 0.9829 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.669e-05/0.1656, allocations: 12.03 kB / 0.9829 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.559e-05/0.1657, allocations: 38.73 kB / 0.9829 GB, free: 23.69 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.734e-05/0.1658, allocations: 32.66 kB / 0.983 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001288/0.1659, allocations: 223 kB / 0.9832 GB, free: 23.4 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.605e-05/0.1659, allocations: 20.38 kB / 0.9832 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.437e-05/0.166, allocations: 20.36 kB / 0.9832 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001505/0.1661, allocations: 123.7 kB / 0.9833 GB, free: 23.22 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.846e-06/0.1662, allocations: 3.938 kB / 0.9833 GB, free: 23.22 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.19e-05/0.1662, allocations: 8 kB / 0.9834 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.147e-06/0.1662, allocations: 0 / 0.9834 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.304e-05/0.1663, allocations: 55.91 kB / 0.9834 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006834/0.167, allocations: 0.8795 MB / 0.9843 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001127/0.1671, allocations: 126.3 kB / 0.9844 GB, free: 22.05 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.154e-05/0.1672, allocations: 51.48 kB / 0.9844 GB, free: 21.99 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 9.868e-06/0.1672, allocations: 4 kB / 0.9844 GB, free: 21.99 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002102/0.1674, allocations: 162.7 kB / 0.9846 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=16): time 1.693e-06/0.1674, allocations: 0 / 0.9846 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of matching and sorting (n=16): time 0.0003519/0.1678, allocations: 229.2 kB / 0.9848 GB, free: 21.57 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.498e-05/0.1678, allocations: 140.4 kB / 0.985 GB, free: 21.41 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000164/0.168, allocations: 248.8 kB / 0.9852 GB, free: 21.15 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.566e-05/0.168, allocations: 37.7 kB / 0.9852 GB, free: 21.11 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.864e-05/0.1681, allocations: 128.4 kB / 0.9853 GB, free: 20.98 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.277e-05/0.1681, allocations: 31.61 kB / 0.9854 GB, free: 20.95 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.708e-05/0.1682, allocations: 12 kB / 0.9854 GB, free: 20.93 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.486e-05/0.1682, allocations: 330.8 kB / 0.9857 GB, free: 20.6 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002392/0.1685, allocations: 148.2 kB / 0.9858 GB, free: 20.45 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002413/0.1687, allocations: 222.6 kB / 0.9861 GB, free: 20.2 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002972/0.169, allocations: 368.9 kB / 0.9864 GB, free: 19.78 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.169, allocations: 0 / 0.9864 GB, free: 19.78 MB / 0.6198 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.000686/0.1697, allocations: 0.5545 MB / 0.987 GB, free: 19.19 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 5.111e-05/0.1698, allocations: 134.8 kB / 0.9871 GB, free: 19.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.1698, allocations: 4 kB / 0.9871 GB, free: 19.03 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.1698, allocations: 4 kB / 0.9871 GB, free: 19.03 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.597e-05/0.1699, allocations: 16.19 kB / 0.9871 GB, free: 19.01 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.743e-06/0.1699, allocations: 8 kB / 0.9871 GB, free: 19 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006536/0.1705, allocations: 166.1 kB / 0.9873 GB, free: 18.84 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.595e-05/0.1706, allocations: 23.98 kB / 0.9873 GB, free: 18.82 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition7,$whenCondition8,pul3.y,$PRE.pul3.booPul.y,pul3.booPul.y,$whenCondition5,$whenCondition6,pul1.y,$PRE.pul1.booPul.y,pul1.booPul.y,$whenCondition3,$whenCondition4,pul2.y,$PRE.pul2.booPul.y,pul2.booPul.y,$whenCondition1,$whenCondition2,pul.y,$PRE.pul.booPul.y,pul.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 4 * 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 0.0001097/0.1707, allocations: 162.5 kB / 0.9874 GB, free: 18.65 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.368e-05/0.1707, allocations: 15.81 kB / 0.9875 GB, free: 18.64 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.357e-05/0.1708, allocations: 25.23 kB / 0.9875 GB, free: 18.61 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.524e-06/0.1708, allocations: 0 / 0.9875 GB, free: 18.61 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.1708, allocations: 4 kB / 0.9875 GB, free: 18.61 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.838e-06/0.1708, allocations: 7.938 kB / 0.9875 GB, free: 18.6 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001459/0.171, allocations: 261.4 kB / 0.9877 GB, free: 18.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.171, allocations: 0 / 0.9877 GB, free: 18.3 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.599e-05/0.171, allocations: 15.92 kB / 0.9878 GB, free: 18.28 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.171, allocations: 0 / 0.9878 GB, free: 18.28 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.134e-05/0.171, allocations: 8 kB / 0.9878 GB, free: 18.27 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.171, allocations: 4 kB / 0.9878 GB, free: 18.27 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.171, allocations: 7.922 kB / 0.9878 GB, free: 18.26 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001991/0.1712, allocations: 219.3 kB / 0.988 GB, free: 18.02 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.192e-05/0.1713, allocations: 96.83 kB / 0.9881 GB, free: 17.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.47e-05/0.1713, allocations: 7.984 kB / 0.9881 GB, free: 17.9 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.665e-05/0.1714, allocations: 4 kB / 0.9881 GB, free: 17.89 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.198e-05/0.1714, allocations: 15.92 kB / 0.9881 GB, free: 17.88 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.03e-05/0.1714, allocations: 11.98 kB / 0.9881 GB, free: 17.87 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 9.428e-05/0.1715, allocations: 164.5 kB / 0.9883 GB, free: 17.71 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1715, allocations: 4 kB / 0.9883 GB, free: 17.71 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002673/0.1718, allocations: 67.98 kB / 0.9883 GB, free: 17.64 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 16 ($whenCondition7,$whenCondition8,pul3.y,pul3.booPul.y,$whenCondition5,$whenCondition6,pul1.y,pul1.booPul.y,$whenCondition3,$whenCondition4,pul2.y,pul2.booPul.y,$whenCondition1,$whenCondition2,pul.y,pul.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * 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.000361/0.1722, allocations: 0.7609 MB / 0.9891 GB, free: 16.84 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000476/0.1727, allocations: 0.5216 MB / 0.9896 GB, free: 16.27 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.1727, allocations: 0 / 0.9896 GB, free: 16.27 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 8.02e-05/0.1727, allocations: 71.84 kB / 0.9897 GB, free: 16.2 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003751/0.1731, allocations: 60.83 kB / 0.9897 GB, free: 16.14 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001883/0.175, allocations: 1.615 MB / 0.9913 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001168/0.1752, allocations: 0.732 MB / 0.992 GB, free: 13.69 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 6.846e-05/0.1752, allocations: 22.28 kB / 0.992 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.176e-05/0.1753, allocations: 51.42 kB / 0.9921 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of SimCode: time 3.6e-07/0.1753, allocations: 3.938 kB / 0.9921 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01505/0.1904, allocations: 6.124 MB / 0.9981 GB, free: 7.672 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001239/0.1905, allocations: 193.4 kB / 0.9983 GB, free: 7.434 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.606/1.796, allocations: 4.062 kB / 0.9983 GB, free: 7.43 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Pulse_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Pulse.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe 2>&1)