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.001194/0.001194, allocations: 105.4 kB / 16.41 MB, free: 6.457 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.001181/0.001181, allocations: 192.2 kB / 17.34 MB, free: 5.719 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.358/1.358, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002177/0.002177, allocations: 283 kB / 291.5 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.289/1.289, allocations: 169.3 MB / 0.499 GB, free: 4.449 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001866/0.001866, allocations: 95.84 kB / 0.6821 GB, free: 7.004 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4205/0.4224, allocations: 86.98 MB / 0.767 GB, free: 3.961 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.002336/0.4248, allocations: 1.386 MB / 0.7684 GB, free: 2.562 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002153/0.427, allocations: 1.944 MB / 0.7703 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.538e-05/0.427, allocations: 0 / 0.7703 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0009805/0.428, allocations: 377.9 kB / 0.7706 GB, free: 248 kB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.844e-05/0.4281, allocations: 27.84 kB / 0.7707 GB, free: 220 kB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 4.438e-06/0.4281, allocations: 0 / 0.7707 GB, free: 220 kB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002056/0.4283, allocations: 123.2 kB / 0.7708 GB, free: 96 kB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.524e-05/0.4284, allocations: 21.5 kB / 0.7708 GB, free: 72 kB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 5.467e-05/0.4284, allocations: 47.8 kB / 0.7709 GB, free: 24 kB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001331/0.4286, allocations: 63.83 kB / 0.7709 GB, free: 15.96 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.756e-05/0.4286, allocations: 4 kB / 0.7709 GB, free: 15.95 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004328/0.429, allocations: 179.8 kB / 0.7711 GB, free: 15.78 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 4.805e-05/0.4291, allocations: 35.88 kB / 0.7711 GB, free: 15.75 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 6.947e-05/0.4292, allocations: 67.56 kB / 0.7712 GB, free: 15.68 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0004056/0.4296, allocations: 293.1 kB / 0.7715 GB, free: 15.4 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.4296, allocations: 0 / 0.7715 GB, free: 15.4 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.144e-06/0.4296, allocations: 4 kB / 0.7715 GB, free: 15.39 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.728e-06/0.4296, allocations: 0 / 0.7715 GB, free: 15.39 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.0006301/0.4303, allocations: 498.5 kB / 0.7719 GB, free: 14.86 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.366e-05/0.4303, allocations: 12.03 kB / 0.772 GB, free: 14.85 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001465/0.4305, allocations: 92.03 kB / 0.772 GB, free: 14.76 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002/0.4307, allocations: 291.3 kB / 0.7723 GB, free: 14.43 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.944e-05/0.4307, allocations: 150.9 kB / 0.7725 GB, free: 14.29 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.616e-05/0.4308, allocations: 162.9 kB / 0.7726 GB, free: 14.12 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.209e-05/0.4309, allocations: 109 kB / 0.7727 GB, free: 14.01 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.258e-05/0.4309, allocations: 75.28 kB / 0.7728 GB, free: 13.94 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.464e-05/0.4309, allocations: 150.6 kB / 0.7729 GB, free: 13.79 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.931e-05/0.431, allocations: 150.6 kB / 0.7731 GB, free: 13.64 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.282e-05/0.431, allocations: 154.6 kB / 0.7732 GB, free: 13.49 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003129/0.4313, allocations: 0.5055 MB / 0.7737 GB, free: 12.93 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 6.741e-05/0.4314, allocations: 169.1 kB / 0.7739 GB, free: 12.76 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.873e-05/0.4314, allocations: 84.14 kB / 0.774 GB, free: 12.67 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.507e-05/0.4315, allocations: 75.28 kB / 0.774 GB, free: 12.6 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.986e-05/0.4315, allocations: 121.8 kB / 0.7742 GB, free: 12.47 MB / 0.545 GB Notification: Performance of pre-optimization done (n=0): time 8.92e-07/0.4315, allocations: 0 / 0.7742 GB, free: 12.47 MB / 0.545 GB Notification: Performance of matching and sorting (n=0): time 0.0001676/0.4317, allocations: 45.52 kB / 0.7742 GB, free: 12.42 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.838e-05/0.4318, allocations: 126.7 kB / 0.7743 GB, free: 12.28 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002907/0.4321, allocations: 326.2 kB / 0.7746 GB, free: 11.96 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.456e-05/0.4321, allocations: 25.7 kB / 0.7747 GB, free: 11.93 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.689e-05/0.4322, allocations: 120.4 kB / 0.7748 GB, free: 11.8 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.324e-06/0.4322, allocations: 4 kB / 0.7748 GB, free: 11.8 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.487e-05/0.4322, allocations: 65.67 kB / 0.7748 GB, free: 11.73 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.259e-05/0.4323, allocations: 330.8 kB / 0.7752 GB, free: 11.4 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.79e-05/0.4324, allocations: 63.95 kB / 0.7752 GB, free: 11.34 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001079/0.4325, allocations: 122.6 kB / 0.7753 GB, free: 11.2 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000199/0.4327, allocations: 209.8 kB / 0.7755 GB, free: 10.97 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/0.4328, allocations: 0 / 0.7755 GB, free: 10.97 MB / 0.545 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0003819/0.4331, allocations: 241.2 kB / 0.7758 GB, free: 10.73 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.304e-05/0.4332, allocations: 4 kB / 0.7758 GB, free: 10.72 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.4332, allocations: 0 / 0.7758 GB, free: 10.72 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.188e-05/0.4332, allocations: 4 kB / 0.7758 GB, free: 10.72 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.765e-06/0.4332, allocations: 4 kB / 0.7758 GB, free: 10.71 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.199e-06/0.4332, allocations: 4.219 kB / 0.7758 GB, free: 10.71 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001132/0.4333, allocations: 27.59 kB / 0.7758 GB, free: 10.68 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.929e-06/0.4333, allocations: 7.938 kB / 0.7758 GB, free: 10.68 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.0001764/0.4335, allocations: 221.1 kB / 0.776 GB, free: 10.45 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.697e-05/0.4336, allocations: 120.7 kB / 0.7761 GB, free: 10.32 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.273e-05/0.4337, allocations: 121.8 kB / 0.7763 GB, free: 10.19 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.992e-05/0.4337, allocations: 184.2 kB / 0.7764 GB, free: 10 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.102e-05/0.4338, allocations: 176.3 kB / 0.7766 GB, free: 9.824 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.701e-05/0.4338, allocations: 184.1 kB / 0.7768 GB, free: 9.637 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000235/0.4341, allocations: 449.2 kB / 0.7772 GB, free: 9.141 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.141e-05/0.4341, allocations: 113 kB / 0.7773 GB, free: 9.023 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.821e-05/0.4341, allocations: 104.9 kB / 0.7774 GB, free: 8.914 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.96e-05/0.4342, allocations: 188.2 kB / 0.7776 GB, free: 8.723 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.317e-05/0.4342, allocations: 180.2 kB / 0.7778 GB, free: 8.539 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.994e-05/0.4343, allocations: 180.3 kB / 0.7779 GB, free: 8.355 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.449e-05/0.4344, allocations: 180.2 kB / 0.7781 GB, free: 8.172 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001201/0.4345, allocations: 323.6 kB / 0.7784 GB, free: 7.832 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 8.556e-05/0.4346, allocations: 201.8 kB / 0.7786 GB, free: 7.609 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.503e-05/0.4347, allocations: 176.3 kB / 0.7788 GB, free: 7.43 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001146/0.4348, allocations: 108.9 kB / 0.7789 GB, free: 7.316 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.01e-05/0.4348, allocations: 176.3 kB / 0.779 GB, free: 7.137 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.225e-05/0.4349, allocations: 112.9 kB / 0.7792 GB, free: 7.02 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001773/0.4351, allocations: 221.9 kB / 0.7794 GB, free: 6.809 MB / 0.545 GB Notification: Performance of sort global known variables: time 3.21e-07/0.4351, allocations: 0 / 0.7794 GB, free: 6.809 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000348/0.4354, allocations: 60 kB / 0.7794 GB, free: 6.75 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.000307/0.4357, allocations: 289 kB / 0.7797 GB, free: 6.461 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001712/0.4359, allocations: 103.9 kB / 0.7798 GB, free: 6.359 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.4359, allocations: 0 / 0.7798 GB, free: 6.359 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.503e-06/0.4359, allocations: 0 / 0.7798 GB, free: 6.359 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004004/0.4363, allocations: 472.6 kB / 0.7802 GB, free: 5.895 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004672/0.4368, allocations: 410.9 kB / 0.7806 GB, free: 5.457 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000259/0.4371, allocations: 0.7384 MB / 0.7814 GB, free: 4.695 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.567e-05/0.4371, allocations: 7.438 kB / 0.7814 GB, free: 4.691 MB / 0.545 GB Notification: Performance of SimCode: time 3.31e-07/0.4371, allocations: 4 kB / 0.7814 GB, free: 4.688 MB / 0.545 GB Notification: Performance of Templates: time 0.003698/0.4408, allocations: 2.336 MB / 0.7837 GB, free: 2.355 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)