Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.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.Edge,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Edge") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Edge,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Edge") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001583/0.001583, allocations: 111.5 kB / 16.37 MB, free: 6.309 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.001858/0.001857, allocations: 189.8 kB / 17.3 MB, free: 5.871 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.562/1.562, allocations: 205.1 MB / 223.2 MB, free: 12.22 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.996/1.996, allocations: 292.3 MB / 0.5496 GB, free: 17.59 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.001491/0.001492, allocations: 71.91 kB / 0.6729 GB, free: 5.852 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2757/0.2772, allocations: 114.6 MB / 0.7848 GB, free: 3.18 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Edge): time 0.002262/0.2796, allocations: 0.7596 MB / 0.7855 GB, free: 2.418 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001476/0.2811, allocations: 1.152 MB / 0.7867 GB, free: 1.25 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.308e-05/0.2811, allocations: 0 / 0.7867 GB, free: 1.25 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.395e-05/0.2812, allocations: 3.938 kB / 0.7867 GB, free: 1.246 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 7.081e-05/0.2813, allocations: 7.875 kB / 0.7867 GB, free: 1.238 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005282/0.2818, allocations: 138.7 kB / 0.7868 GB, free: 1.105 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001874/0.282, allocations: 119.8 kB / 0.7869 GB, free: 0.9883 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001072/0.2821, allocations: 16 kB / 0.7869 GB, free: 0.9727 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 9.35e-05/0.2822, allocations: 47.89 kB / 0.787 GB, free: 0.9258 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001045/0.2823, allocations: 47.81 kB / 0.787 GB, free: 0.8789 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.39e-05/0.2823, allocations: 8 kB / 0.787 GB, free: 0.8711 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 7.19e-05/0.2824, allocations: 31.92 kB / 0.7871 GB, free: 0.8398 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.039e-05/0.2825, allocations: 8 kB / 0.7871 GB, free: 0.832 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 6.756e-05/0.2825, allocations: 47.83 kB / 0.7871 GB, free: 0.7852 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001782/0.2827, allocations: 111.7 kB / 0.7872 GB, free: 0.6758 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.2827, allocations: 0 / 0.7872 GB, free: 0.6758 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.753e-06/0.2827, allocations: 0 / 0.7872 GB, free: 0.6758 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.39e-06/0.2827, allocations: 0 / 0.7872 GB, free: 0.6758 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006465/0.2834, allocations: 412.9 kB / 0.7876 GB, free: 220 kB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.102e-05/0.2834, allocations: 11.97 kB / 0.7876 GB, free: 208 kB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.576e-05/0.2835, allocations: 8.844 kB / 0.7876 GB, free: 200 kB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.5221/0.8056, allocations: 168.3 kB / 0.7878 GB, free: 48.82 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.72e-05/0.8057, allocations: 9.062 kB / 0.7878 GB, free: 48.82 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.659e-05/0.8058, allocations: 6.5 kB / 0.7878 GB, free: 48.82 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002836/0.8061, allocations: 63.41 kB / 0.7879 GB, free: 48.79 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.211e-05/0.8061, allocations: 2.594 kB / 0.7879 GB, free: 48.79 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.388e-05/0.8061, allocations: 3 kB / 0.7879 GB, free: 48.79 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.565e-06/0.8061, allocations: 1.375 kB / 0.7879 GB, free: 48.79 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000196/0.8063, allocations: 49.03 kB / 0.7879 GB, free: 48.79 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005233/0.8068, allocations: 330.1 kB / 0.7883 GB, free: 48.53 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001793/0.807, allocations: 60.8 kB / 0.7883 GB, free: 48.5 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001003/0.8071, allocations: 40.02 kB / 0.7883 GB, free: 48.5 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.439e-05/0.8072, allocations: 3.031 kB / 0.7884 GB, free: 48.5 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002713/0.8074, allocations: 91.69 kB / 0.7884 GB, free: 48.45 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=8): time 1.853e-06/0.8075, allocations: 0.5938 kB / 0.7884 GB, free: 48.45 MB / 0.6544 GB Notification: Performance of matching and sorting (n=8): time 0.0004747/0.8079, allocations: 144.9 kB / 0.7886 GB, free: 48.41 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.716e-05/0.808, allocations: 54.28 kB / 0.7886 GB, free: 48.35 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.073e-05/0.8081, allocations: 120.2 kB / 0.7887 GB, free: 48.25 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.411e-05/0.8081, allocations: 29.64 kB / 0.7888 GB, free: 48.22 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 5.899e-05/0.8082, allocations: 93.42 kB / 0.7889 GB, free: 48.14 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.994e-05/0.8082, allocations: 19.02 kB / 0.7889 GB, free: 48.14 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.928e-05/0.8083, allocations: 35.64 kB / 0.7889 GB, free: 48.12 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 6.435e-05/0.8083, allocations: 323.1 kB / 0.7892 GB, free: 47.81 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001526/0.8085, allocations: 48.14 kB / 0.7893 GB, free: 47.81 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001561/0.8087, allocations: 91.62 kB / 0.7894 GB, free: 47.77 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002459/0.8089, allocations: 141 kB / 0.7895 GB, free: 47.7 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.8089, allocations: 0.5312 kB / 0.7895 GB, free: 47.7 MB / 0.6544 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004469/0.8094, allocations: 220.6 kB / 0.7897 GB, free: 47.63 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.85e-05/0.8094, allocations: 37.64 kB / 0.7897 GB, free: 47.6 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.8095, allocations: 2.688 kB / 0.7897 GB, free: 47.6 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.024e-05/0.8095, allocations: 1.219 kB / 0.7897 GB, free: 47.6 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.852e-05/0.8096, allocations: 16.02 kB / 0.7898 GB, free: 47.6 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.979e-06/0.8096, allocations: 0 / 0.7898 GB, free: 47.6 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002056/0.8098, allocations: 39.77 kB / 0.7898 GB, free: 47.6 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.211e-05/0.8098, allocations: 11.8 kB / 0.7898 GB, free: 47.6 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,edge1.y,edge1.u,$PRE.edge1.u,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.382e-05/0.8099, allocations: 122.5 kB / 0.7899 GB, free: 47.48 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.49e-05/0.8099, allocations: 13.44 kB / 0.7899 GB, free: 47.48 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.253e-05/0.81, allocations: 10.78 kB / 0.7899 GB, free: 47.48 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.81, allocations: 3.609 kB / 0.7899 GB, free: 47.48 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.81, allocations: 0 / 0.7899 GB, free: 47.48 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.223e-05/0.81, allocations: 84.45 kB / 0.79 GB, free: 47.38 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.849e-05/0.81, allocations: 0.75 kB / 0.79 GB, free: 47.38 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.737e-05/0.8101, allocations: 11.38 kB / 0.79 GB, free: 47.38 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.172e-05/0.8102, allocations: 8.547 kB / 0.79 GB, free: 47.38 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002889/0.8105, allocations: 194 kB / 0.7902 GB, free: 47.27 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002729/0.8107, allocations: 284.5 kB / 0.7905 GB, free: 47.06 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001092/0.8109, allocations: 35.83 kB / 0.7905 GB, free: 47.06 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.35e-05/0.8109, allocations: 92.2 kB / 0.7906 GB, free: 46.99 MB / 0.6544 GB Notification: Performance of Backend: time 5.81e-07/0.8109, allocations: 0 / 0.7906 GB, free: 46.99 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0005953/0.8115, allocations: 235.6 kB / 0.7909 GB, free: 46.86 MB / 0.6544 GB Notification: Performance of SimCode: time 0.0005151/0.812, allocations: 0.5956 MB / 0.7914 GB, free: 46.29 MB / 0.6544 GB Notification: Performance of Templates: time 0.004202/0.8163, allocations: 1.541 MB / 0.7929 GB, free: 46.24 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Edge -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe 2>&1)