Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse") translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.195/2.195, allocations: 251.1 MB / 266.7 MB, free: 11.62 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001318/0.001318, allocations: 171.8 kB / 326.2 MB, free: 2.867 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.637/2.637, allocations: 205.4 MB / 0.5772 GB, free: 20.79 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009511/0.0009505, allocations: 90 kB / 0.6817 GB, free: 13.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006523/0.0006526, allocations: 12.75 kB / 0.7958 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2174/0.2181, allocations: 106.3 MB / 0.8995 GB, free: 65.5 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse): time 0.001535/0.2197, allocations: 1.002 MB / 0.9005 GB, free: 64.48 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0004083/0.2202, allocations: 181.5 kB / 0.9007 GB, free: 64.3 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.92e-05/0.2202, allocations: 0 / 0.9007 GB, free: 64.3 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.967e-05/0.2202, allocations: 3.984 kB / 0.9007 GB, free: 64.3 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.935e-05/0.2203, allocations: 11.92 kB / 0.9007 GB, free: 64.29 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001171/0.2204, allocations: 3.938 kB / 0.9007 GB, free: 64.28 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.385e-05/0.2205, allocations: 27.92 kB / 0.9007 GB, free: 64.25 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.664e-05/0.2206, allocations: 0 / 0.9007 GB, free: 64.25 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.073e-05/0.2206, allocations: 7.938 kB / 0.9007 GB, free: 64.25 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.435e-05/0.2207, allocations: 7.984 kB / 0.9007 GB, free: 64.24 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.757e-05/0.2207, allocations: 0 / 0.9007 GB, free: 64.24 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.233e-05/0.2208, allocations: 0 / 0.9007 GB, free: 64.24 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.576e-05/0.2208, allocations: 12 kB / 0.9008 GB, free: 64.23 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.917e-05/0.2209, allocations: 29.64 kB / 0.9008 GB, free: 64.19 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 8.287e-05/0.221, allocations: 15.95 kB / 0.9008 GB, free: 64.18 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/0.221, allocations: 0 / 0.9008 GB, free: 64.18 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.535e-06/0.221, allocations: 0 / 0.9008 GB, free: 64.18 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.43e-06/0.221, allocations: 0 / 0.9008 GB, free: 64.18 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004621/0.2215, allocations: 339.4 kB / 0.9011 GB, free: 63.79 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.064e-05/0.2215, allocations: 12.03 kB / 0.9011 GB, free: 63.78 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.616e-05/0.2216, allocations: 4.938 kB / 0.9011 GB, free: 63.78 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.47e-05/0.2217, allocations: 160.7 kB / 0.9013 GB, free: 63.58 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.628e-05/0.2217, allocations: 384 / 0.9013 GB, free: 63.58 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.228e-05/0.2217, allocations: 4.375 kB / 0.9013 GB, free: 63.58 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.324e-05/0.2218, allocations: 38.25 kB / 0.9013 GB, free: 63.54 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.016e-06/0.2219, allocations: 192 / 0.9013 GB, free: 63.54 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.227e-05/0.2219, allocations: 3.938 kB / 0.9013 GB, free: 63.53 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.2219, allocations: 3.938 kB / 0.9013 GB, free: 63.53 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.409e-05/0.2219, allocations: 7.938 kB / 0.9013 GB, free: 63.52 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001389/0.2221, allocations: 169.6 kB / 0.9015 GB, free: 63.3 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 5.763e-05/0.2222, allocations: 18.58 kB / 0.9015 GB, free: 63.28 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.32e-05/0.2222, allocations: 12.92 kB / 0.9015 GB, free: 63.26 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.142e-05/0.2222, allocations: 0 / 0.9015 GB, free: 63.26 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001385/0.2224, allocations: 63.3 kB / 0.9016 GB, free: 63.19 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=3): time 1.754e-06/0.2224, allocations: 4 kB / 0.9016 GB, free: 63.18 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3): time 0.0001856/0.2226, allocations: 57.56 kB / 0.9017 GB, free: 63.12 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.565e-05/0.2226, allocations: 51.41 kB / 0.9017 GB, free: 63.06 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.706e-05/0.2227, allocations: 101.9 kB / 0.9018 GB, free: 62.95 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.135e-05/0.2227, allocations: 25.7 kB / 0.9018 GB, free: 62.92 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.418e-05/0.2228, allocations: 84.14 kB / 0.9019 GB, free: 62.83 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.929e-05/0.2228, allocations: 11.89 kB / 0.9019 GB, free: 62.82 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.368e-06/0.2228, allocations: 0 / 0.9019 GB, free: 62.82 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.485e-05/0.2229, allocations: 314.8 kB / 0.9022 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.215e-05/0.2229, allocations: 8 kB / 0.9022 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.164e-05/0.2229, allocations: 18.09 kB / 0.9022 GB, free: 62.47 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.872e-05/0.223, allocations: 12.02 kB / 0.9023 GB, free: 62.46 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.223, allocations: 0 / 0.9023 GB, free: 62.46 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001065/0.2231, allocations: 57.62 kB / 0.9023 GB, free: 62.4 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.691e-05/0.2231, allocations: 7.984 kB / 0.9023 GB, free: 62.39 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.2232, allocations: 3.938 kB / 0.9023 GB, free: 62.39 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.562e-05/0.2232, allocations: 0 / 0.9023 GB, free: 62.39 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.465e-05/0.2233, allocations: 8.031 kB / 0.9023 GB, free: 62.38 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.655e-06/0.2233, allocations: 3.938 kB / 0.9023 GB, free: 62.38 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.924e-05/0.2234, allocations: 4 kB / 0.9023 GB, free: 62.37 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.364e-06/0.2234, allocations: 4 kB / 0.9023 GB, free: 62.37 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,booPul.y,$PRE.booPul.pulseStart,booPul.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * 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 6.228e-05/0.2235, allocations: 109.8 kB / 0.9024 GB, free: 62.25 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.44e-05/0.2235, allocations: 8 kB / 0.9025 GB, free: 62.24 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.707e-05/0.2235, allocations: 7.438 kB / 0.9025 GB, free: 62.23 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.2235, allocations: 0 / 0.9025 GB, free: 62.23 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.2235, allocations: 4 kB / 0.9025 GB, free: 62.23 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.547e-05/0.2236, allocations: 85.02 kB / 0.9025 GB, free: 62.12 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.58e-05/0.2236, allocations: 4 kB / 0.9026 GB, free: 62.12 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.765e-05/0.2237, allocations: 7.984 kB / 0.9026 GB, free: 62.11 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.225e-05/0.2237, allocations: 3.938 kB / 0.9026 GB, free: 62.11 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001535/0.2239, allocations: 137 kB / 0.9027 GB, free: 61.97 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0001224/0.224, allocations: 222.7 kB / 0.9029 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.746e-05/0.2241, allocations: 8 kB / 0.9029 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.431e-05/0.2241, allocations: 87.27 kB / 0.903 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of Backend: time 8.42e-07/0.2242, allocations: 0 / 0.903 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003749/0.2245, allocations: 91.64 kB / 0.9031 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of SimCode: time 0.000461/0.225, allocations: 0.5624 MB / 0.9036 GB, free: 60.94 MB / 0.6042 GB Notification: Performance of Templates: time 0.002854/0.2279, allocations: 490.1 kB / 0.9041 GB, free: 60.46 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.makefile (rm -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe ; mkfifo Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe >> ../files/Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.sim & ./Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe 2>&1)