Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.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.LogicalSwitch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.301/2.301, allocations: 251.1 MB / 266.7 MB, free: 11.54 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.00136/0.00136, allocations: 176.2 kB / 326.3 MB, free: 2.824 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.519/2.519, allocations: 205.4 MB / 0.5772 GB, free: 20.73 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.0009677/0.0009676, allocations: 94.28 kB / 0.6817 GB, free: 13.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004746/0.0004747, allocations: 11.81 kB / 0.7957 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2178/0.2183, 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.LogicalSwitch): time 0.001834/0.2202, allocations: 1.142 MB / 0.9006 GB, free: 64.35 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0005729/0.2208, allocations: 221.5 kB / 0.9008 GB, free: 64.13 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.449e-05/0.2209, allocations: 0 / 0.9008 GB, free: 64.13 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.75e-05/0.2209, allocations: 0 / 0.9008 GB, free: 64.13 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001134/0.2211, allocations: 19.86 kB / 0.9009 GB, free: 64.11 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001812/0.2212, allocations: 23.97 kB / 0.9009 GB, free: 64.09 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001321/0.2214, allocations: 75.72 kB / 0.901 GB, free: 64.01 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000127/0.2215, allocations: 12.17 kB / 0.901 GB, free: 64 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.678e-05/0.2216, allocations: 27.86 kB / 0.901 GB, free: 63.97 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 7.48e-05/0.2217, allocations: 23.91 kB / 0.901 GB, free: 63.95 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.685e-05/0.2217, allocations: 11.88 kB / 0.901 GB, free: 63.93 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.881e-05/0.2218, allocations: 4 kB / 0.901 GB, free: 63.93 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.948e-05/0.2218, allocations: 7.984 kB / 0.901 GB, free: 63.92 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.123e-05/0.2218, allocations: 45.62 kB / 0.9011 GB, free: 63.87 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 9.577e-05/0.2219, allocations: 55.88 kB / 0.9011 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.222, allocations: 0 / 0.9011 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.334e-06/0.222, allocations: 0 / 0.9011 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.619e-06/0.222, allocations: 0 / 0.9011 GB, free: 63.82 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.0007395/0.2227, allocations: 399.5 kB / 0.9015 GB, free: 63.38 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.062e-05/0.2228, allocations: 12.03 kB / 0.9015 GB, free: 63.37 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.111e-05/0.2229, allocations: 8.828 kB / 0.9015 GB, free: 63.36 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000129/0.223, allocations: 176.2 kB / 0.9017 GB, free: 63.15 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.453e-05/0.2231, allocations: 8.375 kB / 0.9017 GB, free: 63.14 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.833e-05/0.2231, allocations: 4.375 kB / 0.9017 GB, free: 63.14 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000164/0.2233, allocations: 62.17 kB / 0.9018 GB, free: 63.07 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/0.2233, allocations: 3.938 kB / 0.9018 GB, free: 63.07 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.554e-05/0.2233, allocations: 4 kB / 0.9018 GB, free: 63.06 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.2233, allocations: 4 kB / 0.9018 GB, free: 63.06 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001175/0.2234, allocations: 31.97 kB / 0.9018 GB, free: 63.03 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005155/0.224, allocations: 308.7 kB / 0.9021 GB, free: 62.68 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001235/0.2241, allocations: 46.56 kB / 0.9022 GB, free: 62.62 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.472e-05/0.2242, allocations: 28.78 kB / 0.9022 GB, free: 62.59 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.778e-05/0.2242, allocations: 4 kB / 0.9022 GB, free: 62.59 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002101/0.2244, allocations: 91.31 kB / 0.9023 GB, free: 62.48 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=10): time 3.136e-06/0.2245, allocations: 0 / 0.9023 GB, free: 62.48 MB / 0.6042 GB Notification: Performance of matching and sorting (n=10): time 0.0003383/0.2248, allocations: 109.6 kB / 0.9024 GB, free: 62.37 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.127e-05/0.2249, allocations: 55.41 kB / 0.9024 GB, free: 62.3 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001115/0.225, allocations: 130.1 kB / 0.9026 GB, free: 62.17 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.968e-05/0.225, allocations: 29.7 kB / 0.9026 GB, free: 62.13 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.348e-05/0.2251, allocations: 100.1 kB / 0.9027 GB, free: 62.03 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.924e-05/0.2251, allocations: 23.66 kB / 0.9027 GB, free: 62.01 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.195e-06/0.2251, allocations: 0 / 0.9027 GB, free: 62.01 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.959e-05/0.2252, allocations: 326.8 kB / 0.903 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.248e-05/0.2253, allocations: 16 kB / 0.903 GB, free: 61.66 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.183e-05/0.2254, allocations: 47.42 kB / 0.9031 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.479e-05/0.2254, allocations: 27.94 kB / 0.9031 GB, free: 61.58 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.2254, allocations: 0 / 0.9031 GB, free: 61.58 MB / 0.6042 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002036/0.2257, allocations: 101.9 kB / 0.9032 GB, free: 61.47 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.2257, allocations: 9.562 kB / 0.9032 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.2257, allocations: 0 / 0.9032 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.635e-05/0.2257, allocations: 0 / 0.9032 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.994e-05/0.2258, allocations: 12.03 kB / 0.9032 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.915e-06/0.2258, allocations: 3.938 kB / 0.9032 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002069/0.2261, allocations: 28.06 kB / 0.9033 GB, free: 61.42 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.361e-05/0.2261, allocations: 8 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,booPul3.y,$PRE.booPul3.pulseStart,booPul3.pulseStart,logicalSwitch.y) * 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 9.31e-05/0.2262, allocations: 117.8 kB / 0.9034 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.301e-05/0.2262, allocations: 7.906 kB / 0.9034 GB, free: 61.28 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.468e-05/0.2263, allocations: 20.3 kB / 0.9034 GB, free: 61.26 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.2263, allocations: 4 kB / 0.9034 GB, free: 61.26 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.993e-06/0.2263, allocations: 0 / 0.9034 GB, free: 61.26 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.987e-05/0.2264, allocations: 85.02 kB / 0.9035 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.598e-05/0.2264, allocations: 4 kB / 0.9035 GB, free: 61.15 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001849/0.2266, allocations: 23.91 kB / 0.9035 GB, free: 61.13 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.558e-05/0.2267, allocations: 19.97 kB / 0.9035 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000439/0.2271, allocations: 197 kB / 0.9037 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0002453/0.2274, allocations: 266.7 kB / 0.904 GB, free: 60.63 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.857e-05/0.2275, allocations: 27.98 kB / 0.904 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 6.251e-05/0.2276, allocations: 103.3 kB / 0.9041 GB, free: 60.5 MB / 0.6042 GB Notification: Performance of Backend: time 6.51e-07/0.2276, allocations: 4 kB / 0.9041 GB, free: 60.5 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.00052/0.2281, allocations: 124.4 kB / 0.9042 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of SimCode: time 0.0006823/0.2288, allocations: 0.6411 MB / 0.9048 GB, free: 59.68 MB / 0.6042 GB Notification: Performance of Templates: time 0.004561/0.2334, allocations: 1.142 MB / 0.906 GB, free: 58.55 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.makefile (rm -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.pipe ; mkfifo Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.pipe >> ../files/Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.sim & ./Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.pipe 2>&1)