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.001526/0.001526, allocations: 105.1 kB / 16.35 MB, free: 5.879 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.001294/0.001294, allocations: 195.2 kB / 17.29 MB, free: 5.516 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.51/1.51, allocations: 205.1 MB / 223.2 MB, free: 12.24 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.871/1.871, allocations: 292.3 MB / 0.5496 GB, free: 17.51 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.001431/0.001431, allocations: 74.86 kB / 0.6729 GB, free: 5.828 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2295/0.2309, allocations: 114.6 MB / 0.7848 GB, free: 3.16 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge): time 0.00272/0.2337, allocations: 0.7645 MB / 0.7855 GB, free: 2.387 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001834/0.2355, allocations: 1.145 MB / 0.7867 GB, free: 1.227 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.982e-05/0.2357, allocations: 4 kB / 0.7867 GB, free: 1.223 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.789e-05/0.2357, allocations: 3.938 kB / 0.7867 GB, free: 1.219 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0001029/0.2358, allocations: 11.86 kB / 0.7867 GB, free: 1.207 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006819/0.2365, allocations: 135.1 kB / 0.7868 GB, free: 1.078 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0002379/0.2368, allocations: 123.7 kB / 0.7869 GB, free: 0.957 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001396/0.2369, allocations: 19.98 kB / 0.7869 GB, free: 0.9375 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001371/0.2371, allocations: 43.91 kB / 0.787 GB, free: 0.8945 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001276/0.2372, allocations: 43.88 kB / 0.787 GB, free: 0.8516 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.723e-05/0.2373, allocations: 11.98 kB / 0.787 GB, free: 0.8398 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001095/0.2374, allocations: 35.92 kB / 0.7871 GB, free: 0.8047 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.952e-05/0.2374, allocations: 7.938 kB / 0.7871 GB, free: 0.7969 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 8.954e-05/0.2375, allocations: 43.84 kB / 0.7871 GB, free: 0.7539 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002347/0.2378, allocations: 111.7 kB / 0.7872 GB, free: 0.6445 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.2378, allocations: 0 / 0.7872 GB, free: 0.6445 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.945e-06/0.2378, allocations: 0 / 0.7872 GB, free: 0.6445 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 8.856e-06/0.2378, allocations: 4 kB / 0.7872 GB, free: 0.6406 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.0007658/0.2386, allocations: 416.9 kB / 0.7876 GB, free: 180 kB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.149e-05/0.2386, allocations: 12.03 kB / 0.7876 GB, free: 168 kB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.423e-05/0.2387, allocations: 8.844 kB / 0.7876 GB, free: 160 kB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.426/0.6647, allocations: 166.6 kB / 0.7878 GB, free: 48.88 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.516e-05/0.6648, allocations: 3.469 kB / 0.7878 GB, free: 48.88 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.501e-05/0.6649, allocations: 11.44 kB / 0.7878 GB, free: 48.88 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003605/0.6653, allocations: 66.89 kB / 0.7879 GB, free: 48.85 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.179e-05/0.6653, allocations: 0.9375 kB / 0.7879 GB, free: 48.85 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.559e-05/0.6654, allocations: 1.5 kB / 0.7879 GB, free: 48.85 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.373e-05/0.6654, allocations: 3.375 kB / 0.7879 GB, free: 48.85 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00029/0.6657, allocations: 51.34 kB / 0.7879 GB, free: 48.85 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000706/0.6664, allocations: 338.9 kB / 0.7883 GB, free: 48.59 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002752/0.6667, allocations: 60.78 kB / 0.7883 GB, free: 48.56 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001744/0.6669, allocations: 32.16 kB / 0.7883 GB, free: 48.55 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.815e-05/0.6669, allocations: 4.812 kB / 0.7884 GB, free: 48.55 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004088/0.6674, allocations: 90.53 kB / 0.7884 GB, free: 48.5 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=8): time 2.796e-06/0.6674, allocations: 0 / 0.7884 GB, free: 48.5 MB / 0.6544 GB Notification: Performance of matching and sorting (n=8): time 0.0006952/0.6681, allocations: 144.6 kB / 0.7886 GB, free: 48.47 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.548e-05/0.6681, allocations: 53.94 kB / 0.7886 GB, free: 48.41 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001262/0.6683, allocations: 125.6 kB / 0.7887 GB, free: 48.31 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.708e-05/0.6683, allocations: 30.14 kB / 0.7888 GB, free: 48.28 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 7.402e-05/0.6684, allocations: 92.12 kB / 0.7889 GB, free: 48.2 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.196e-05/0.6685, allocations: 18.19 kB / 0.7889 GB, free: 48.19 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001125/0.6686, allocations: 38.23 kB / 0.7889 GB, free: 48.18 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 6.792e-05/0.6687, allocations: 320 kB / 0.7892 GB, free: 47.86 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002596/0.669, allocations: 58.58 kB / 0.7893 GB, free: 47.86 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002828/0.6693, allocations: 84.64 kB / 0.7894 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004319/0.6697, allocations: 151.6 kB / 0.7895 GB, free: 47.75 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/0.6697, allocations: 4.656 kB / 0.7895 GB, free: 47.75 MB / 0.6544 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0006999/0.6704, allocations: 210.8 kB / 0.7897 GB, free: 47.68 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 4.304e-05/0.6705, allocations: 38.02 kB / 0.7897 GB, free: 47.65 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.395e-06/0.6705, allocations: 0 / 0.7897 GB, free: 47.65 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.981e-05/0.6706, allocations: 3.469 kB / 0.7897 GB, free: 47.65 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000141/0.6707, allocations: 17.45 kB / 0.7898 GB, free: 47.65 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.207e-05/0.6707, allocations: 2.688 kB / 0.7898 GB, free: 47.65 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003225/0.6711, allocations: 36.02 kB / 0.7898 GB, free: 47.65 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.189e-05/0.6711, allocations: 6.688 kB / 0.7898 GB, free: 47.65 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 0.0001115/0.6712, allocations: 127.4 kB / 0.7899 GB, free: 47.54 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.288e-05/0.6713, allocations: 10.53 kB / 0.7899 GB, free: 47.53 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.017e-05/0.6713, allocations: 7.938 kB / 0.7899 GB, free: 47.53 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.6713, allocations: 2.719 kB / 0.7899 GB, free: 47.53 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.328e-06/0.6714, allocations: 2.25 kB / 0.79 GB, free: 47.53 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.571e-06/0.6714, allocations: 2.812 kB / 0.79 GB, free: 47.53 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006262/0.672, allocations: 387.2 kB / 0.7903 GB, free: 47.23 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.672, allocations: 0.75 kB / 0.7903 GB, free: 47.23 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.751e-05/0.6721, allocations: 11.47 kB / 0.7903 GB, free: 47.23 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/0.6722, allocations: 0.5312 kB / 0.7903 GB, free: 47.23 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.532e-05/0.6722, allocations: 4.797 kB / 0.7903 GB, free: 47.23 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.365e-06/0.6722, allocations: 0 / 0.7903 GB, free: 47.23 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.305e-06/0.6722, allocations: 1.641 kB / 0.7903 GB, free: 47.23 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004023/0.6726, allocations: 211.3 kB / 0.7905 GB, free: 47.09 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.065e-05/0.6727, allocations: 81.02 kB / 0.7906 GB, free: 47 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.654e-05/0.6727, allocations: 10.19 kB / 0.7906 GB, free: 47 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000139/0.6729, allocations: 5 kB / 0.7906 GB, free: 47 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.464e-05/0.6729, allocations: 8.016 kB / 0.7906 GB, free: 47 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.262e-05/0.673, allocations: 9.078 kB / 0.7907 GB, free: 47 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 5.439e-05/0.673, allocations: 100 kB / 0.7907 GB, free: 46.92 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.61e-07/0.673, allocations: 0 / 0.7907 GB, free: 46.92 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0004698/0.6735, allocations: 21 kB / 0.7908 GB, free: 46.92 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.0001881/0.6737, allocations: 111.9 kB / 0.7909 GB, free: 46.83 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0005902/0.6743, allocations: 173.3 kB / 0.791 GB, free: 46.77 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.6744, allocations: 4.688 kB / 0.791 GB, free: 46.77 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001867/0.6745, allocations: 39.42 kB / 0.7911 GB, free: 46.77 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004625/0.675, allocations: 12.84 kB / 0.7911 GB, free: 46.77 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004518/0.6755, allocations: 159.9 kB / 0.7912 GB, free: 46.66 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001399/0.6756, allocations: 0.6923 MB / 0.7919 GB, free: 45.96 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 4.698e-05/0.6757, allocations: 6.203 kB / 0.7919 GB, free: 45.96 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.515e-05/0.6758, allocations: 12.03 kB / 0.7919 GB, free: 45.96 MB / 0.6544 GB Notification: Performance of SimCode: time 3.91e-07/0.6758, allocations: 0 / 0.7919 GB, free: 45.96 MB / 0.6544 GB Notification: Performance of Templates: time 0.006001/0.6818, allocations: 1.45 MB / 0.7934 GB, free: 45.9 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 gbode -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe 2>&1)