Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low") translateModel(BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001135/0.001135, allocations: 110.7 kB / 16.41 MB, free: 6.488 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.001098/0.001098, allocations: 187 kB / 17.34 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.393/1.393, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002327/0.002327, allocations: 285.1 kB / 291.5 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9587/0.9587, allocations: 169.2 MB / 0.499 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002001/0.002002, allocations: 99.83 kB / 0.6821 GB, free: 6.934 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4575/0.4595, allocations: 86.98 MB / 0.767 GB, free: 3.871 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.002757/0.4623, allocations: 1.397 MB / 0.7684 GB, free: 2.465 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002292/0.4646, allocations: 1.943 MB / 0.7703 GB, free: 0.5195 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.095e-05/0.4647, allocations: 0 / 0.7703 GB, free: 0.5195 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001139/0.4658, allocations: 381.9 kB / 0.7707 GB, free: 148 kB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.407e-05/0.4659, allocations: 23.84 kB / 0.7707 GB, free: 124 kB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 4.058e-06/0.4659, allocations: 0 / 0.7707 GB, free: 124 kB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002181/0.4661, allocations: 119.2 kB / 0.7708 GB, free: 4 kB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 7.817e-05/0.4662, allocations: 29.42 kB / 0.7708 GB, free: 15.97 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 6.979e-05/0.4663, allocations: 43.8 kB / 0.7709 GB, free: 15.93 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001206/0.4664, allocations: 63.7 kB / 0.7709 GB, free: 15.87 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.869e-05/0.4665, allocations: 4 kB / 0.7709 GB, free: 15.86 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005518/0.467, allocations: 183.9 kB / 0.7711 GB, free: 15.68 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 5.631e-05/0.4671, allocations: 27.91 kB / 0.7711 GB, free: 15.66 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 9.463e-05/0.4672, allocations: 79.53 kB / 0.7712 GB, free: 15.58 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0005206/0.4677, allocations: 289.1 kB / 0.7715 GB, free: 15.3 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.4677, allocations: 0 / 0.7715 GB, free: 15.3 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.232e-06/0.4677, allocations: 0 / 0.7715 GB, free: 15.3 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.761e-06/0.4677, allocations: 0 / 0.7715 GB, free: 15.3 MB / 0.545 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.0007223/0.4685, allocations: 494.5 kB / 0.7719 GB, free: 14.77 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.4685, allocations: 16.03 kB / 0.772 GB, free: 14.75 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001719/0.4687, allocations: 92.03 kB / 0.7721 GB, free: 14.66 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002329/0.4689, allocations: 291.3 kB / 0.7723 GB, free: 14.34 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.581e-05/0.469, allocations: 154.9 kB / 0.7725 GB, free: 14.19 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.371e-05/0.4691, allocations: 150.9 kB / 0.7726 GB, free: 14.04 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.604e-05/0.4691, allocations: 109.1 kB / 0.7727 GB, free: 13.93 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.856e-05/0.4692, allocations: 83.22 kB / 0.7728 GB, free: 13.84 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.963e-05/0.4692, allocations: 150.6 kB / 0.7729 GB, free: 13.7 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.901e-05/0.4693, allocations: 150.6 kB / 0.7731 GB, free: 13.55 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.314e-05/0.4694, allocations: 154.6 kB / 0.7732 GB, free: 13.39 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003529/0.4697, allocations: 0.5016 MB / 0.7737 GB, free: 12.84 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 7.97e-05/0.4698, allocations: 173.1 kB / 0.7739 GB, free: 12.66 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.188e-05/0.4698, allocations: 84.08 kB / 0.774 GB, free: 12.58 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.756e-05/0.4699, allocations: 75.28 kB / 0.774 GB, free: 12.5 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.02e-05/0.4699, allocations: 113.8 kB / 0.7742 GB, free: 12.38 MB / 0.545 GB Notification: Performance of pre-optimization done (n=0): time 1.072e-06/0.4699, allocations: 0 / 0.7742 GB, free: 12.38 MB / 0.545 GB Notification: Performance of matching and sorting (n=0): time 0.0001849/0.4701, allocations: 45.52 kB / 0.7742 GB, free: 12.33 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.481e-05/0.4702, allocations: 130.7 kB / 0.7743 GB, free: 12.19 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003285/0.4705, allocations: 326.2 kB / 0.7746 GB, free: 11.87 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.523e-05/0.4705, allocations: 29.64 kB / 0.7747 GB, free: 11.84 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.841e-05/0.4706, allocations: 120.3 kB / 0.7748 GB, free: 11.71 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.917e-06/0.4706, allocations: 0 / 0.7748 GB, free: 11.71 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.021e-05/0.4707, allocations: 65.62 kB / 0.7748 GB, free: 11.64 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001154/0.4708, allocations: 330.8 kB / 0.7752 GB, free: 11.31 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.883e-05/0.4709, allocations: 63.97 kB / 0.7752 GB, free: 11.25 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001259/0.4711, allocations: 118.6 kB / 0.7753 GB, free: 11.11 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002234/0.4713, allocations: 205.8 kB / 0.7755 GB, free: 10.89 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.4713, allocations: 4 kB / 0.7755 GB, free: 10.88 MB / 0.545 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004409/0.4717, allocations: 237.2 kB / 0.7758 GB, free: 10.64 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.961e-05/0.4718, allocations: 11.94 kB / 0.7758 GB, free: 10.63 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.664e-06/0.4718, allocations: 0 / 0.7758 GB, free: 10.63 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.64e-05/0.4718, allocations: 4 kB / 0.7758 GB, free: 10.63 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.422e-06/0.4718, allocations: 0 / 0.7758 GB, free: 10.63 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.267e-06/0.4718, allocations: 7.984 kB / 0.7758 GB, free: 10.62 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001228/0.472, allocations: 27.59 kB / 0.7758 GB, free: 10.59 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.03e-05/0.472, allocations: 4 kB / 0.7758 GB, free: 10.59 MB / 0.545 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.00027/0.4723, allocations: 235.6 kB / 0.776 GB, free: 10.35 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.29e-05/0.4723, allocations: 116.7 kB / 0.7761 GB, free: 10.23 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.455e-05/0.4724, allocations: 109.9 kB / 0.7763 GB, free: 10.11 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.879e-05/0.4725, allocations: 184.2 kB / 0.7764 GB, free: 9.922 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.805e-05/0.4726, allocations: 184.2 kB / 0.7766 GB, free: 9.734 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001145/0.4727, allocations: 184.2 kB / 0.7768 GB, free: 9.547 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000333/0.473, allocations: 449.2 kB / 0.7772 GB, free: 9.051 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.692e-05/0.4731, allocations: 109 kB / 0.7773 GB, free: 8.938 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.744e-05/0.4731, allocations: 108.9 kB / 0.7774 GB, free: 8.824 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.691e-05/0.4732, allocations: 176.3 kB / 0.7776 GB, free: 8.645 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.305e-05/0.4733, allocations: 180.2 kB / 0.7778 GB, free: 8.461 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.33e-05/0.4733, allocations: 180.3 kB / 0.7779 GB, free: 8.277 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.586e-05/0.4734, allocations: 192.2 kB / 0.7781 GB, free: 8.082 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001406/0.4735, allocations: 307.6 kB / 0.7784 GB, free: 7.758 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001031/0.4737, allocations: 205.7 kB / 0.7786 GB, free: 7.531 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.199e-05/0.4737, allocations: 188.3 kB / 0.7788 GB, free: 7.34 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001341/0.4739, allocations: 104.9 kB / 0.7789 GB, free: 7.23 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.314e-05/0.4739, allocations: 180.2 kB / 0.779 GB, free: 7.047 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.826e-05/0.474, allocations: 101 kB / 0.7791 GB, free: 6.941 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001957/0.4742, allocations: 217.9 kB / 0.7794 GB, free: 6.734 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.41e-07/0.4742, allocations: 0 / 0.7794 GB, free: 6.734 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003746/0.4746, allocations: 64 kB / 0.7794 GB, free: 6.672 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0003617/0.4749, allocations: 286.5 kB / 0.7797 GB, free: 6.383 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002529/0.4752, allocations: 103.9 kB / 0.7798 GB, free: 6.281 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/0.4752, allocations: 4 kB / 0.7798 GB, free: 6.277 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 2.014e-06/0.4752, allocations: 0 / 0.7798 GB, free: 6.277 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004299/0.4757, allocations: 459.6 kB / 0.7802 GB, free: 5.828 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005568/0.4762, allocations: 423.4 kB / 0.7806 GB, free: 5.379 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002953/0.4765, allocations: 0.7392 MB / 0.7814 GB, free: 4.613 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.883e-05/0.4766, allocations: 7.438 kB / 0.7814 GB, free: 4.609 MB / 0.545 GB Notification: Performance of SimCode: time 4.81e-07/0.4766, allocations: 0 / 0.7814 GB, free: 4.609 MB / 0.545 GB Notification: Performance of Templates: time 0.004915/0.4815, allocations: 2.344 MB / 0.7837 GB, free: 2.27 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low.sim & ./BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe 2>&1)