Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.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.Electrical.Transmission.Functions.Validation.SelectCable_med,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med") translateModel(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001099/0.001099, allocations: 111.2 kB / 16.38 MB, free: 6.016 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.001128/0.001128, allocations: 189.1 kB / 17.31 MB, free: 5.621 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.475/1.475, allocations: 205.1 MB / 223.2 MB, free: 12.27 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.943/1.943, allocations: 292.3 MB / 0.5496 GB, free: 17.65 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.00169/0.00169, allocations: 79.08 kB / 0.6729 GB, free: 5.871 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2256/0.2273, allocations: 114.6 MB / 0.7848 GB, free: 3.203 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.002741/0.2301, allocations: 1.423 MB / 0.7862 GB, free: 1.766 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.3958/0.6259, allocations: 2.656 MB / 0.7888 GB, free: 47.03 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.259e-05/0.626, allocations: 0 / 0.7888 GB, free: 47.03 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001544/0.6276, allocations: 0.5817 MB / 0.7893 GB, free: 47.02 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 4.779e-05/0.6277, allocations: 21.59 kB / 0.7894 GB, free: 47.02 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 4.99e-06/0.6277, allocations: 0 / 0.7894 GB, free: 47.02 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0002247/0.6279, allocations: 159 kB / 0.7895 GB, free: 47.02 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 6.645e-05/0.628, allocations: 33.83 kB / 0.7896 GB, free: 47.02 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 6.143e-05/0.6281, allocations: 62.98 kB / 0.7896 GB, free: 47 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000122/0.6282, allocations: 77.86 kB / 0.7897 GB, free: 46.98 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.33e-05/0.6282, allocations: 3.062 kB / 0.7897 GB, free: 46.98 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009783/0.6292, allocations: 471.7 kB / 0.7901 GB, free: 46.97 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 5.721e-05/0.6293, allocations: 32.48 kB / 0.7902 GB, free: 46.96 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 9.865e-05/0.6294, allocations: 101.3 kB / 0.7903 GB, free: 46.93 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0006064/0.63, allocations: 448.2 kB / 0.7907 GB, free: 46.87 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.239e-06/0.63, allocations: 0.8125 kB / 0.7907 GB, free: 46.87 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.843e-06/0.63, allocations: 2.812 kB / 0.7907 GB, free: 46.87 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.993e-06/0.63, allocations: 0.75 kB / 0.7907 GB, free: 46.87 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0006967/0.6307, allocations: 0.5405 MB / 0.7912 GB, free: 46.43 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.326e-05/0.6308, allocations: 8.375 kB / 0.7912 GB, free: 46.43 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001499/0.6309, allocations: 104.2 kB / 0.7913 GB, free: 46.34 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001866/0.6311, allocations: 308.4 kB / 0.7916 GB, free: 46.05 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.496e-05/0.6312, allocations: 150.9 kB / 0.7918 GB, free: 45.9 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.364e-05/0.6312, allocations: 160.2 kB / 0.7919 GB, free: 45.75 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.394e-05/0.6313, allocations: 102.8 kB / 0.792 GB, free: 45.65 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.587e-05/0.6313, allocations: 79.88 kB / 0.7921 GB, free: 45.57 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.385e-05/0.6313, allocations: 155.5 kB / 0.7922 GB, free: 45.42 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.362e-05/0.6313, allocations: 153 kB / 0.7924 GB, free: 45.27 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.834e-05/0.6314, allocations: 158.2 kB / 0.7925 GB, free: 45.12 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002899/0.6317, allocations: 0.5315 MB / 0.7931 GB, free: 44.63 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 4.771e-05/0.6317, allocations: 166.8 kB / 0.7932 GB, free: 44.46 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.8e-05/0.6318, allocations: 84.92 kB / 0.7933 GB, free: 44.38 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.452e-05/0.6318, allocations: 79.06 kB / 0.7934 GB, free: 44.3 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.414e-05/0.6318, allocations: 106.7 kB / 0.7935 GB, free: 44.19 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=0): time 1.082e-06/0.6318, allocations: 3.844 kB / 0.7935 GB, free: 44.19 MB / 0.6544 GB Notification: Performance of matching and sorting (n=0): time 0.000166/0.632, allocations: 65.45 kB / 0.7935 GB, free: 44.14 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.7e-05/0.632, allocations: 51.41 kB / 0.7936 GB, free: 44.07 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003644/0.6324, allocations: 425.4 kB / 0.794 GB, free: 43.95 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.031e-05/0.6324, allocations: 28.14 kB / 0.794 GB, free: 43.92 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 5.947e-05/0.6325, allocations: 135.4 kB / 0.7942 GB, free: 43.82 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.036e-06/0.6325, allocations: 0 / 0.7942 GB, free: 43.82 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.96e-05/0.6325, allocations: 92.02 kB / 0.7942 GB, free: 43.81 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 6.13e-05/0.6326, allocations: 343.6 kB / 0.7946 GB, free: 43.5 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.636e-05/0.6327, allocations: 99.52 kB / 0.7947 GB, free: 43.5 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001233/0.6328, allocations: 164.8 kB / 0.7948 GB, free: 43.44 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002536/0.6331, allocations: 305 kB / 0.7951 GB, free: 43.39 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.6331, allocations: 0 / 0.7951 GB, free: 43.39 MB / 0.6544 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.000439/0.6336, allocations: 332.5 kB / 0.7954 GB, free: 43.34 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.304e-05/0.6336, allocations: 4.281 kB / 0.7954 GB, free: 43.34 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.012e-06/0.6336, allocations: 3.5 kB / 0.7954 GB, free: 43.34 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.707e-05/0.6336, allocations: 7.125 kB / 0.7954 GB, free: 43.34 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.095e-06/0.6336, allocations: 5.156 kB / 0.7954 GB, free: 43.34 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/0.6336, allocations: 3.125 kB / 0.7955 GB, free: 43.34 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001294/0.6338, allocations: 45.19 kB / 0.7955 GB, free: 43.3 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.16e-05/0.6338, allocations: 6.781 kB / 0.7955 GB, free: 43.3 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 7 (cab[1].material,cab[2].material,cab[3].material,cab[4].material,cab[5].material,cab[6].material,cab[7].material) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 7 * 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 0.0001518/0.6339, allocations: 247.7 kB / 0.7957 GB, free: 43.11 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.215e-05/0.634, allocations: 124.4 kB / 0.7959 GB, free: 42.99 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.251e-05/0.634, allocations: 124.5 kB / 0.796 GB, free: 42.88 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.711e-05/0.6341, allocations: 178.9 kB / 0.7961 GB, free: 42.7 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.689e-05/0.6341, allocations: 103.6 kB / 0.7962 GB, free: 42.59 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 5.687e-05/0.6342, allocations: 204 kB / 0.7964 GB, free: 42.38 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.645e-05/0.6342, allocations: 181.5 kB / 0.7966 GB, free: 42.2 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001099/0.6343, allocations: 107.2 kB / 0.7967 GB, free: 42.09 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.769e-05/0.6344, allocations: 183.9 kB / 0.7969 GB, free: 41.91 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 4.553e-05/0.6344, allocations: 263 kB / 0.7971 GB, free: 41.65 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001011/0.6345, allocations: 404.3 kB / 0.7975 GB, free: 41.24 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.606e-05/0.6346, allocations: 109.5 kB / 0.7976 GB, free: 41.14 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0002061/0.6348, allocations: 275.4 kB / 0.7979 GB, free: 41.05 MB / 0.6544 GB Notification: Performance of Backend: time 7.31e-07/0.6348, allocations: 0 / 0.7979 GB, free: 41.05 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0006923/0.6355, allocations: 371.4 kB / 0.7982 GB, free: 40.97 MB / 0.6544 GB Notification: Performance of SimCode: time 0.0006389/0.6362, allocations: 1.174 MB / 0.7994 GB, free: 40 MB / 0.6544 GB Notification: Performance of Templates: time 0.006136/0.6423, allocations: 3.086 MB / 0.8024 GB, free: 39.77 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.makefile (rm -f Buildings_8_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; mkfifo Buildings_8_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe >> ../files/Buildings_8_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.sim & ./Buildings_8_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe 2>&1)