Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.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.Validation.Or3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Or3") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Or3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Or3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.237/2.237, allocations: 251.1 MB / 266.7 MB, free: 11.64 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.002161/0.00216, allocations: 184.5 kB / 326.3 MB, free: 2.871 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.729/2.729, allocations: 205.4 MB / 0.5772 GB, free: 20.81 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.0008702/0.0008701, allocations: 90.92 kB / 0.6817 GB, free: 13.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005881/0.0005883, allocations: 18.72 kB / 0.7958 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2027/0.2033, allocations: 106.3 MB / 0.8995 GB, free: 65.5 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or3): time 0.001672/0.2051, allocations: 1.142 MB / 0.9006 GB, free: 64.34 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0004844/0.2056, allocations: 221.5 kB / 0.9008 GB, free: 64.12 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.286e-05/0.2057, allocations: 0 / 0.9008 GB, free: 64.12 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.738e-05/0.2057, allocations: 3.938 kB / 0.9008 GB, free: 64.12 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001006/0.2058, allocations: 23.84 kB / 0.9009 GB, free: 64.09 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001505/0.206, allocations: 19.92 kB / 0.9009 GB, free: 64.07 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001077/0.2061, allocations: 75.72 kB / 0.901 GB, free: 64 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001105/0.2062, allocations: 16.17 kB / 0.901 GB, free: 63.98 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.781e-05/0.2063, allocations: 27.86 kB / 0.901 GB, free: 63.95 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.644e-05/0.2064, allocations: 31.83 kB / 0.901 GB, free: 63.92 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.993e-05/0.2064, allocations: 4 kB / 0.901 GB, free: 63.92 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.747e-05/0.2064, allocations: 4 kB / 0.901 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.915e-05/0.2064, allocations: 7.984 kB / 0.901 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.839e-05/0.2065, allocations: 45.64 kB / 0.9011 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 8.904e-05/0.2066, allocations: 47.89 kB / 0.9011 GB, free: 63.81 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.2066, allocations: 0 / 0.9011 GB, free: 63.81 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.923e-06/0.2066, allocations: 0 / 0.9011 GB, free: 63.81 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.538e-06/0.2066, allocations: 0 / 0.9011 GB, free: 63.81 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.000715/0.2074, allocations: 399.5 kB / 0.9015 GB, free: 63.37 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.154e-05/0.2074, allocations: 8.031 kB / 0.9015 GB, free: 63.36 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.845e-05/0.2075, allocations: 12.83 kB / 0.9015 GB, free: 63.35 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001235/0.2076, allocations: 184.2 kB / 0.9017 GB, free: 63.13 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.877e-05/0.2076, allocations: 4.375 kB / 0.9017 GB, free: 63.13 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.807e-05/0.2076, allocations: 4.375 kB / 0.9017 GB, free: 63.12 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001521/0.2078, allocations: 62.17 kB / 0.9018 GB, free: 63.06 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.2078, allocations: 3.938 kB / 0.9018 GB, free: 63.05 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.468e-05/0.2078, allocations: 8 kB / 0.9018 GB, free: 63.05 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.252e-06/0.2079, allocations: 4 kB / 0.9018 GB, free: 63.04 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001103/0.208, allocations: 35.95 kB / 0.9018 GB, free: 63.01 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004597/0.2085, allocations: 304.7 kB / 0.9021 GB, free: 62.66 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001123/0.2086, allocations: 42.58 kB / 0.9022 GB, free: 62.61 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.122e-05/0.2087, allocations: 28.84 kB / 0.9022 GB, free: 62.58 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.764e-05/0.2087, allocations: 4 kB / 0.9022 GB, free: 62.57 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001971/0.2089, allocations: 87.31 kB / 0.9023 GB, free: 62.48 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=10): time 2.224e-06/0.2089, allocations: 3.938 kB / 0.9023 GB, free: 62.47 MB / 0.6042 GB Notification: Performance of matching and sorting (n=10): time 0.0003091/0.2092, allocations: 109.6 kB / 0.9024 GB, free: 62.36 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.028e-05/0.2093, allocations: 55.39 kB / 0.9024 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001014/0.2094, allocations: 133.7 kB / 0.9026 GB, free: 62.15 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.668e-05/0.2094, allocations: 29.7 kB / 0.9026 GB, free: 62.12 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.021e-05/0.2095, allocations: 96.12 kB / 0.9027 GB, free: 62.02 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.03e-05/0.2095, allocations: 27.8 kB / 0.9027 GB, free: 61.99 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.524e-06/0.2095, allocations: 0 / 0.9027 GB, free: 61.99 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.072e-05/0.2096, allocations: 322.8 kB / 0.903 GB, free: 61.67 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.11e-05/0.2097, allocations: 20 kB / 0.903 GB, free: 61.65 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.189e-05/0.2098, allocations: 48.8 kB / 0.9031 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.646e-05/0.2098, allocations: 23.94 kB / 0.9031 GB, free: 61.57 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.2098, allocations: 4 kB / 0.9031 GB, free: 61.56 MB / 0.6042 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001923/0.21, allocations: 97.52 kB / 0.9032 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/0.2101, allocations: 7.938 kB / 0.9032 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/0.2101, allocations: 0 / 0.9032 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.675e-05/0.2101, allocations: 4 kB / 0.9032 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.923e-05/0.2102, allocations: 4.094 kB / 0.9032 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.606e-06/0.2102, allocations: 11.98 kB / 0.9032 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001956/0.2104, allocations: 23.97 kB / 0.9033 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.226e-05/0.2104, allocations: 4 kB / 0.9033 GB, free: 61.41 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition3,$whenCondition2,$whenCondition1,booPul1.y,$PRE.booPul1.pulseStart,booPul1.pulseStart,booPul2.y,$PRE.booPul2.pulseStart,booPul2.pulseStart,or1.y,booPul3.y,$PRE.booPul3.pulseStart,booPul3.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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 8.73e-05/0.2105, allocations: 126.2 kB / 0.9034 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.924e-05/0.2106, allocations: 7.906 kB / 0.9034 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.885e-05/0.2106, allocations: 20.36 kB / 0.9034 GB, free: 61.25 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.2106, allocations: 0 / 0.9034 GB, free: 61.25 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.2106, allocations: 4 kB / 0.9034 GB, free: 61.24 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.207e-05/0.2107, allocations: 88.95 kB / 0.9035 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.392e-05/0.2107, allocations: 0 / 0.9035 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001848/0.2109, allocations: 31.91 kB / 0.9035 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.046e-05/0.211, allocations: 7.984 kB / 0.9035 GB, free: 61.1 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003875/0.2114, allocations: 192.9 kB / 0.9037 GB, free: 60.9 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0002285/0.2116, allocations: 266.7 kB / 0.904 GB, free: 60.62 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.413e-05/0.2117, allocations: 27.98 kB / 0.904 GB, free: 60.6 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 5.86e-05/0.2118, allocations: 107.2 kB / 0.9041 GB, free: 60.49 MB / 0.6042 GB Notification: Performance of Backend: time 6.51e-07/0.2118, allocations: 0 / 0.9041 GB, free: 60.49 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0004708/0.2123, allocations: 118.3 kB / 0.9042 GB, free: 60.37 MB / 0.6042 GB Notification: Performance of SimCode: time 0.0006273/0.2129, allocations: 0.6408 MB / 0.9048 GB, free: 59.68 MB / 0.6042 GB Notification: Performance of Templates: time 0.004392/0.2173, allocations: 1.158 MB / 0.906 GB, free: 58.54 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.makefile (rm -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe ; mkfifo Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe >> ../files/Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.sim & ./Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Or3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe 2>&1)