Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossing.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: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossing,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossing") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossing,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossing") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.084/2.084, allocations: 287.4 MB / 303.2 MB, free: 8.195 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.001647/0.001647, allocations: 184.8 kB / 371.8 MB, free: 10.83 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.61/1.61, allocations: 205.4 MB / 0.6305 GB, free: 10.59 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.0008497/0.0008498, allocations: 94.94 kB / 0.7438 GB, free: 6.582 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005504/0.0005504, allocations: 12.7 kB / 0.8667 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2836/0.2842, allocations: 115.3 MB / 0.9793 GB, free: 28.2 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossing): time 0.0009394/0.2852, allocations: 0.5177 MB / 0.9798 GB, free: 27.68 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001201/0.2864, allocations: 1.181 MB / 0.981 GB, free: 26.48 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.487e-05/0.2865, allocations: 0 / 0.981 GB, free: 26.48 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.015e-05/0.2865, allocations: 3.938 kB / 0.981 GB, free: 26.48 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.611e-05/0.2866, allocations: 7.922 kB / 0.981 GB, free: 26.47 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004538/0.2871, allocations: 126.1 kB / 0.9811 GB, free: 26.35 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001135/0.2872, allocations: 123.7 kB / 0.9812 GB, free: 26.23 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.83e-05/0.2873, allocations: 24.22 kB / 0.9812 GB, free: 26.2 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 8.302e-05/0.2874, allocations: 47.84 kB / 0.9813 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 7.432e-05/0.2875, allocations: 55.8 kB / 0.9813 GB, free: 26.1 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.503e-05/0.2875, allocations: 8 kB / 0.9813 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.143e-05/0.2876, allocations: 19.98 kB / 0.9814 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.164e-05/0.2876, allocations: 15.92 kB / 0.9814 GB, free: 26.06 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.644e-05/0.2876, allocations: 41.64 kB / 0.9814 GB, free: 26.01 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001132/0.2878, allocations: 108 kB / 0.9815 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.2878, allocations: 0 / 0.9815 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.776e-06/0.2878, allocations: 0 / 0.9815 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.19e-06/0.2878, allocations: 3.938 kB / 0.9815 GB, free: 25.9 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.000557/0.2883, allocations: 420.9 kB / 0.9819 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.01e-05/0.2884, allocations: 12.03 kB / 0.9819 GB, free: 25.42 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.571e-05/0.2884, allocations: 12.84 kB / 0.9819 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.535e-05/0.2885, allocations: 185.2 kB / 0.9821 GB, free: 25.19 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.64e-05/0.2886, allocations: 8.375 kB / 0.9821 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.684e-05/0.2886, allocations: 8.375 kB / 0.9821 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002605/0.2889, allocations: 114.1 kB / 0.9822 GB, free: 25.06 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.728e-06/0.2889, allocations: 192 / 0.9822 GB, free: 25.06 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.31e-05/0.2889, allocations: 3.938 kB / 0.9822 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.2889, allocations: 4 kB / 0.9823 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003059/0.2892, allocations: 107.9 kB / 0.9824 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004966/0.2897, allocations: 396.4 kB / 0.9827 GB, free: 24.51 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002365/0.29, allocations: 94.66 kB / 0.9828 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00017/0.2902, allocations: 72.81 kB / 0.9829 GB, free: 24.33 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.37e-05/0.2902, allocations: 3.938 kB / 0.9829 GB, free: 24.33 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002932/0.2905, allocations: 135.2 kB / 0.983 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=12): time 1.533e-06/0.2905, allocations: 0 / 0.983 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of matching and sorting (n=12): time 0.0006265/0.2911, allocations: 241.4 kB / 0.9833 GB, free: 23.94 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.24e-05/0.2912, allocations: 59.41 kB / 0.9833 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.654e-05/0.2912, allocations: 131.1 kB / 0.9834 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.371e-05/0.2913, allocations: 33.7 kB / 0.9835 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.49e-05/0.2913, allocations: 96.12 kB / 0.9836 GB, free: 23.6 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.352e-05/0.2914, allocations: 27.56 kB / 0.9836 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.27e-05/0.2914, allocations: 4 kB / 0.9836 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.684e-05/0.2914, allocations: 330.8 kB / 0.9839 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002169/0.2917, allocations: 87.88 kB / 0.984 GB, free: 23.15 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00022/0.2919, allocations: 128.2 kB / 0.9841 GB, free: 23.01 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000359/0.2923, allocations: 199.5 kB / 0.9843 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.2923, allocations: 0 / 0.9843 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005236/0.2928, allocations: 295.3 kB / 0.9846 GB, free: 22.49 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.143e-05/0.2928, allocations: 39.25 kB / 0.9846 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.161e-06/0.2929, allocations: 7.938 kB / 0.9846 GB, free: 22.44 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.299e-05/0.2929, allocations: 0 / 0.9846 GB, free: 22.44 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001298/0.293, allocations: 27.98 kB / 0.9847 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.477e-06/0.293, allocations: 0 / 0.9847 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002428/0.2933, allocations: 69.78 kB / 0.9847 GB, free: 22.35 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.319e-05/0.2933, allocations: 12 kB / 0.9847 GB, free: 22.34 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 14 ($PRE.triggeredSampler.y,triggeredSampler.y,$whenCondition1,$whenCondition2,$whenCondition3,$PRE.booPul1.y,booPul1.y,zeroCrossing.y,$PRE.zeroCrossing.enable,zeroCrossing.enable,$PRE.zeroCrossing.disable,zeroCrossing.disable,$PRE.zeroCrossing.u_pos,zeroCrossing.u_pos) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 1 * 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 8.134e-05/0.2934, allocations: 129.7 kB / 0.9849 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.627e-05/0.2934, allocations: 15.91 kB / 0.9849 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004058/0.2938, allocations: 186 kB / 0.985 GB, free: 22 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.369e-06/0.2938, allocations: 3.984 kB / 0.9851 GB, free: 22 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.2938, allocations: 0 / 0.9851 GB, free: 22 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.009e-05/0.2939, allocations: 85.02 kB / 0.9851 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.239e-05/0.2939, allocations: 4 kB / 0.9851 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.837e-05/0.294, allocations: 19.92 kB / 0.9852 GB, free: 21.87 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.173e-05/0.2941, allocations: 23.91 kB / 0.9852 GB, free: 21.85 MB / 0.6198 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004514/0.2945, allocations: 277.4 kB / 0.9854 GB, free: 21.57 MB / 0.6198 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0004199/0.295, allocations: 354.6 kB / 0.9858 GB, free: 21.21 MB / 0.6198 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000169/0.2951, allocations: 83.88 kB / 0.9859 GB, free: 21.12 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.759e-05/0.2952, allocations: 97.02 kB / 0.986 GB, free: 21.03 MB / 0.6198 GB Notification: Performance of Backend: time 5.91e-07/0.2952, allocations: 0 / 0.986 GB, free: 21.03 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0006173/0.2958, allocations: 270.5 kB / 0.9862 GB, free: 20.75 MB / 0.6198 GB Notification: Performance of SimCode: time 0.0004403/0.2963, allocations: 0.6605 MB / 0.9869 GB, free: 20.04 MB / 0.6198 GB Notification: Performance of Templates: time 0.003924/0.3002, allocations: 1.831 MB / 0.9886 GB, free: 18.23 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossing.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossing.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossing.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossing.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossing.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossing -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossing.pipe 2>&1)