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.001458/0.001458, allocations: 106.6 kB / 15.99 MB, free: 6.359 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.001504/0.001504, allocations: 191.2 kB / 16.91 MB, free: 6.195 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.552/1.552, allocations: 205.1 MB / 222.8 MB, free: 4.707 MB / 174.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.8/1.8, allocations: 292.3 MB / 0.5492 GB, free: 13.61 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.001224/0.001224, allocations: 63.95 kB / 0.6717 GB, free: 26.48 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.243/0.2442, allocations: 114.6 MB / 0.7835 GB, free: 13.9 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge): time 0.001851/0.2461, allocations: 0.8135 MB / 0.7843 GB, free: 13.08 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001387/0.2475, allocations: 1.153 MB / 0.7855 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.137e-05/0.2476, allocations: 3.938 kB / 0.7855 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.549e-05/0.2476, allocations: 0 / 0.7855 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.267e-05/0.2478, allocations: 7.938 kB / 0.7855 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000475/0.2482, allocations: 126.5 kB / 0.7856 GB, free: 11.78 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001525/0.2484, allocations: 119.8 kB / 0.7857 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001012/0.2485, allocations: 15.94 kB / 0.7857 GB, free: 11.65 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 8.654e-05/0.2486, allocations: 51.84 kB / 0.7858 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.478e-05/0.2487, allocations: 43.88 kB / 0.7858 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.261e-05/0.2487, allocations: 8 kB / 0.7858 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 7.02e-05/0.2488, allocations: 31.92 kB / 0.7858 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.367e-05/0.2488, allocations: 15.92 kB / 0.7859 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.211e-05/0.2489, allocations: 43.84 kB / 0.7859 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000121/0.249, allocations: 75.83 kB / 0.786 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.249, allocations: 0 / 0.786 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.014e-06/0.249, allocations: 0 / 0.786 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.639e-06/0.249, allocations: 0 / 0.786 GB, free: 11.38 MB / 0.6075 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.0005973/0.2496, allocations: 421.2 kB / 0.7864 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.005e-05/0.2497, allocations: 8.031 kB / 0.7864 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.818e-05/0.2497, allocations: 8.844 kB / 0.7864 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00011/0.2499, allocations: 164.4 kB / 0.7865 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.217e-05/0.2499, allocations: 16.34 kB / 0.7866 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.608e-05/0.2499, allocations: 8.375 kB / 0.7866 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001958/0.2501, allocations: 66.16 kB / 0.7866 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.2501, allocations: 8.188 kB / 0.7866 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.349e-05/0.2502, allocations: 7.938 kB / 0.7866 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.995e-06/0.2502, allocations: 0 / 0.7866 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001764/0.2503, allocations: 47.89 kB / 0.7867 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004798/0.2508, allocations: 336.6 kB / 0.787 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001868/0.251, allocations: 66.48 kB / 0.7871 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.964e-05/0.2511, allocations: 33.02 kB / 0.7871 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.217e-05/0.2512, allocations: 0 / 0.7871 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002705/0.2514, allocations: 83.36 kB / 0.7872 GB, free: 9.961 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=8): time 1.383e-06/0.2515, allocations: 4 kB / 0.7872 GB, free: 9.957 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8): time 0.0004246/0.2519, allocations: 149.5 kB / 0.7873 GB, free: 9.805 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.37e-05/0.2519, allocations: 51.41 kB / 0.7874 GB, free: 9.742 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.211e-05/0.252, allocations: 121.8 kB / 0.7875 GB, free: 9.613 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.064e-05/0.2521, allocations: 29.7 kB / 0.7875 GB, free: 9.578 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.604e-05/0.2521, allocations: 92.05 kB / 0.7876 GB, free: 9.484 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.161e-05/0.2521, allocations: 19.8 kB / 0.7876 GB, free: 9.465 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.486e-05/0.2522, allocations: 37.7 kB / 0.7877 GB, free: 9.422 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001129/0.2523, allocations: 326.8 kB / 0.788 GB, free: 9.094 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001521/0.2525, allocations: 51.97 kB / 0.788 GB, free: 9.043 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001631/0.2527, allocations: 84.25 kB / 0.7881 GB, free: 8.945 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000258/0.2529, allocations: 146.2 kB / 0.7883 GB, free: 8.781 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.093e-06/0.253, allocations: 0 / 0.7883 GB, free: 8.781 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000425/0.2534, allocations: 215.1 kB / 0.7885 GB, free: 8.559 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.031e-05/0.2534, allocations: 41.69 kB / 0.7885 GB, free: 8.512 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.2534, allocations: 3.938 kB / 0.7885 GB, free: 8.508 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.393e-05/0.2535, allocations: 4 kB / 0.7885 GB, free: 8.504 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.367e-05/0.2536, allocations: 15.92 kB / 0.7885 GB, free: 8.488 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.542e-06/0.2536, allocations: 0 / 0.7885 GB, free: 8.488 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002157/0.2538, allocations: 40.02 kB / 0.7886 GB, free: 8.449 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.307e-05/0.2538, allocations: 12 kB / 0.7886 GB, free: 8.438 MB / 0.6075 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 9.858e-05/0.2539, allocations: 124.7 kB / 0.7887 GB, free: 8.309 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.254e-05/0.2539, allocations: 7.844 kB / 0.7887 GB, free: 8.301 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.555e-05/0.254, allocations: 16.36 kB / 0.7887 GB, free: 8.285 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.254, allocations: 0 / 0.7887 GB, free: 8.285 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.254, allocations: 0 / 0.7887 GB, free: 8.285 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.254, allocations: 0 / 0.7887 GB, free: 8.285 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004496/0.2545, allocations: 386.3 kB / 0.7891 GB, free: 7.852 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.2545, allocations: 0 / 0.7891 GB, free: 7.852 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.366e-05/0.2545, allocations: 7.984 kB / 0.7891 GB, free: 7.844 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.2545, allocations: 0 / 0.7891 GB, free: 7.844 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.324e-05/0.2546, allocations: 8 kB / 0.7891 GB, free: 7.836 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.2546, allocations: 0 / 0.7891 GB, free: 7.836 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.2546, allocations: 0 / 0.7891 GB, free: 7.836 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002717/0.2549, allocations: 207.4 kB / 0.7893 GB, free: 7.617 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.195e-05/0.2549, allocations: 89.02 kB / 0.7894 GB, free: 7.512 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.811e-05/0.2549, allocations: 0 / 0.7894 GB, free: 7.512 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.513e-05/0.255, allocations: 11.98 kB / 0.7894 GB, free: 7.5 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.578e-05/0.2551, allocations: 11.92 kB / 0.7894 GB, free: 7.488 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.362e-06/0.2551, allocations: 0 / 0.7894 GB, free: 7.488 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.688e-05/0.2551, allocations: 95.27 kB / 0.7895 GB, free: 7.395 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.2552, allocations: 4 kB / 0.7895 GB, free: 7.391 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002599/0.2554, allocations: 24 kB / 0.7895 GB, free: 7.367 MB / 0.6075 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.0001743/0.2556, allocations: 103.2 kB / 0.7896 GB, free: 7.258 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003738/0.256, allocations: 179.2 kB / 0.7898 GB, free: 7.07 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.256, allocations: 8.188 kB / 0.7898 GB, free: 7.062 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001131/0.2561, allocations: 39.97 kB / 0.7898 GB, free: 7.023 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000281/0.2564, allocations: 15.98 kB / 0.7898 GB, free: 7.008 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003677/0.2568, allocations: 212 kB / 0.7901 GB, free: 6.762 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002326/0.257, allocations: 0.6914 MB / 0.7907 GB, free: 6.047 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.756e-05/0.2571, allocations: 15.38 kB / 0.7907 GB, free: 6.035 MB / 0.6075 GB Notification: Performance of SimCode: time 1.733e-06/0.2571, allocations: 0 / 0.7907 GB, free: 6.035 MB / 0.6075 GB Notification: Performance of Templates: time 0.002859/0.2599, allocations: 1.283 MB / 0.792 GB, free: 4.762 MB / 0.6075 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 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe 2>&1)