Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001617/0.001617, allocations: 102.3 kB / 16.29 MB, free: 6.43 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00185/0.00185, allocations: 184.7 kB / 17.22 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.586/1.586, allocations: 205.1 MB / 223.1 MB, free: 12.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.91/1.91, allocations: 292.3 MB / 0.5495 GB, free: 17.5 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002054/0.002054, allocations: 67.89 kB / 0.6722 GB, free: 6.492 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3287/0.3308, allocations: 114.6 MB / 0.7841 GB, free: 3.82 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge): time 0.002772/0.3336, allocations: 0.7635 MB / 0.7848 GB, free: 3.051 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.002027/0.3357, allocations: 1.141 MB / 0.786 GB, free: 1.895 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.389e-05/0.3358, allocations: 0 / 0.786 GB, free: 1.895 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 4.652e-05/0.3359, allocations: 11.86 kB / 0.786 GB, free: 1.883 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0001001/0.336, allocations: 7.938 kB / 0.786 GB, free: 1.875 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006602/0.3366, allocations: 130.8 kB / 0.7861 GB, free: 1.75 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0002395/0.3369, allocations: 127.8 kB / 0.7862 GB, free: 1.625 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000144/0.337, allocations: 15.98 kB / 0.7862 GB, free: 1.609 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001461/0.3372, allocations: 51.84 kB / 0.7863 GB, free: 1.559 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000122/0.3373, allocations: 47.81 kB / 0.7863 GB, free: 1.512 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.649e-05/0.3374, allocations: 12 kB / 0.7863 GB, free: 1.5 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001043/0.3375, allocations: 27.98 kB / 0.7864 GB, free: 1.473 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 3.14e-05/0.3375, allocations: 11.92 kB / 0.7864 GB, free: 1.461 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001003/0.3376, allocations: 47.83 kB / 0.7864 GB, free: 1.414 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002542/0.3379, allocations: 111.7 kB / 0.7865 GB, free: 1.305 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 8.716e-06/0.3379, allocations: 3.984 kB / 0.7865 GB, free: 1.301 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.414e-06/0.3379, allocations: 3.938 kB / 0.7865 GB, free: 1.297 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.137e-05/0.3379, allocations: 0 / 0.7865 GB, free: 1.297 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0008781/0.3388, allocations: 417.2 kB / 0.7869 GB, free: 0.832 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.91e-05/0.3389, allocations: 12.03 kB / 0.7869 GB, free: 0.8203 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.884e-05/0.339, allocations: 8.844 kB / 0.787 GB, free: 0.8125 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001707/0.3391, allocations: 172.3 kB / 0.7871 GB, free: 0.6055 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.309e-05/0.3392, allocations: 4.375 kB / 0.7871 GB, free: 0.6016 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.605e-05/0.3392, allocations: 4.375 kB / 0.7871 GB, free: 0.5977 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002565/0.3395, allocations: 66.22 kB / 0.7872 GB, free: 0.5273 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.233e-05/0.3395, allocations: 192 / 0.7872 GB, free: 0.5273 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.019e-05/0.3395, allocations: 7.938 kB / 0.7872 GB, free: 0.5195 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.739e-06/0.3395, allocations: 8 kB / 0.7872 GB, free: 0.5117 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002208/0.3398, allocations: 39.95 kB / 0.7872 GB, free: 484 kB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007191/0.3405, allocations: 348.5 kB / 0.7876 GB, free: 84 kB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002158/0.3407, allocations: 54.61 kB / 0.7876 GB, free: 20 kB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.5112/0.852, allocations: 32.52 kB / 0.7877 GB, free: 48.82 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.602e-05/0.852, allocations: 1.219 kB / 0.7877 GB, free: 48.82 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003576/0.8524, allocations: 90.61 kB / 0.7877 GB, free: 48.78 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=8): time 2.475e-06/0.8524, allocations: 0 / 0.7877 GB, free: 48.78 MB / 0.6544 GB Notification: Performance of matching and sorting (n=8): time 0.000457/0.8529, allocations: 145.2 kB / 0.7879 GB, free: 48.75 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.039e-05/0.8529, allocations: 51.94 kB / 0.7879 GB, free: 48.68 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.578e-05/0.853, allocations: 127.8 kB / 0.7881 GB, free: 48.59 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.745e-05/0.853, allocations: 30.61 kB / 0.7881 GB, free: 48.55 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.721e-05/0.8531, allocations: 91.42 kB / 0.7882 GB, free: 48.47 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.193e-05/0.8531, allocations: 15.39 kB / 0.7882 GB, free: 48.47 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.224e-05/0.8532, allocations: 38.41 kB / 0.7882 GB, free: 48.46 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 6.114e-05/0.8533, allocations: 323.8 kB / 0.7885 GB, free: 48.14 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001393/0.8534, allocations: 51.45 kB / 0.7886 GB, free: 48.14 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001351/0.8536, allocations: 87.48 kB / 0.7887 GB, free: 48.11 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002157/0.8538, allocations: 151.7 kB / 0.7888 GB, free: 48.04 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.8538, allocations: 1.156 kB / 0.7888 GB, free: 48.04 MB / 0.6544 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003797/0.8542, allocations: 210 kB / 0.789 GB, free: 47.97 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 4.906e-05/0.8542, allocations: 39.72 kB / 0.789 GB, free: 47.94 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.531e-06/0.8542, allocations: 0 / 0.789 GB, free: 47.94 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.542e-05/0.8543, allocations: 2.5 kB / 0.7891 GB, free: 47.94 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.23e-05/0.8544, allocations: 15.12 kB / 0.7891 GB, free: 47.94 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.192e-06/0.8544, allocations: 0 / 0.7891 GB, free: 47.94 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001807/0.8546, allocations: 39.47 kB / 0.7891 GB, free: 47.94 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.124e-05/0.8546, allocations: 11.75 kB / 0.7891 GB, free: 47.94 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 10 (triggeredSampler.y,$PRE.triggeredSampler.y,$whenCondition1,$whenCondition2,falEdg.not_u,$PRE.falEdg.not_u,falEdg.y,booPul.y,$PRE.booPul.y,$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): 10 * Array equations: 0 * Algorithm blocks: 1 * 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 7.389e-05/0.8547, allocations: 120.7 kB / 0.7892 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.345e-05/0.8547, allocations: 6.812 kB / 0.7892 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.258e-05/0.8547, allocations: 15.17 kB / 0.7893 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.8547, allocations: 0.6562 kB / 0.7893 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.8547, allocations: 3.75 kB / 0.7893 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.8547, allocations: 0 / 0.7893 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003734/0.8551, allocations: 382.5 kB / 0.7896 GB, free: 47.52 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.8551, allocations: 0.5 kB / 0.7896 GB, free: 47.52 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.588e-05/0.8552, allocations: 8.094 kB / 0.7896 GB, free: 47.52 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.8552, allocations: 3.141 kB / 0.7896 GB, free: 47.52 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.686e-06/0.8552, allocations: 6.484 kB / 0.7896 GB, free: 47.52 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.8552, allocations: 0 / 0.7896 GB, free: 47.52 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.8552, allocations: 3.938 kB / 0.7896 GB, free: 47.52 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002256/0.8555, allocations: 213.5 kB / 0.7898 GB, free: 47.38 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.594e-05/0.8555, allocations: 85.33 kB / 0.7899 GB, free: 47.29 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.83e-05/0.8555, allocations: 2.625 kB / 0.7899 GB, free: 47.29 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.644e-05/0.8556, allocations: 9.531 kB / 0.7899 GB, free: 47.29 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.454e-05/0.8556, allocations: 11.31 kB / 0.7899 GB, free: 47.28 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.524e-06/0.8557, allocations: 2.625 kB / 0.79 GB, free: 47.28 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.008e-05/0.8557, allocations: 91.42 kB / 0.79 GB, free: 47.21 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8557, allocations: 3.312 kB / 0.79 GB, free: 47.21 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002529/0.856, allocations: 21.5 kB / 0.7901 GB, free: 47.21 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (falEdg.y,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,falEdg.not_u,triggeredSampler.y) * Number of discrete states: 1 (falEdg.not_u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001386/0.8561, allocations: 106.3 kB / 0.7902 GB, free: 47.12 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0003385/0.8565, allocations: 181.8 kB / 0.7903 GB, free: 47.06 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.8565, allocations: 0 / 0.7903 GB, free: 47.06 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001038/0.8566, allocations: 39.7 kB / 0.7904 GB, free: 47.06 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002772/0.8569, allocations: 18.31 kB / 0.7904 GB, free: 47.06 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003617/0.8572, allocations: 161.8 kB / 0.7905 GB, free: 46.95 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000129/0.8574, allocations: 0.6889 MB / 0.7912 GB, free: 46.25 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 3.243e-05/0.8574, allocations: 6.625 kB / 0.7912 GB, free: 46.25 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.84e-05/0.8574, allocations: 15.88 kB / 0.7912 GB, free: 46.25 MB / 0.6544 GB Notification: Performance of SimCode: time 2.3e-07/0.8574, allocations: 0 / 0.7912 GB, free: 46.25 MB / 0.6544 GB Notification: Performance of Templates: time 0.003568/0.861, allocations: 1.444 MB / 0.7927 GB, free: 46.2 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe 2>&1)