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.001799/0.001799, allocations: 109.2 kB / 16.41 MB, free: 6.492 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.001851/0.001851, allocations: 191.8 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.426/1.426, 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.002548/0.002548, allocations: 298.1 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.015/1.015, allocations: 169.3 MB / 0.499 GB, free: 4.41 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002814/0.002814, allocations: 95.84 kB / 0.6821 GB, free: 6.945 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4327/0.4356, allocations: 86.97 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.002489/0.438, allocations: 1.386 MB / 0.7684 GB, free: 2.473 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002534/0.4406, allocations: 1.947 MB / 0.7703 GB, free: 0.5234 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.557e-05/0.4406, allocations: 0 / 0.7703 GB, free: 0.5234 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0009481/0.4416, allocations: 389.8 kB / 0.7707 GB, free: 144 kB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.763e-05/0.4416, allocations: 19.91 kB / 0.7707 GB, free: 124 kB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 3.666e-06/0.4416, allocations: 0 / 0.7707 GB, free: 124 kB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002044/0.4418, allocations: 123.1 kB / 0.7708 GB, free: 0 / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 6.034e-05/0.4419, allocations: 25.61 kB / 0.7708 GB, free: 15.97 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 5.802e-05/0.4419, allocations: 47.73 kB / 0.7709 GB, free: 15.92 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001096/0.442, allocations: 63.7 kB / 0.7709 GB, free: 15.86 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.253e-05/0.442, allocations: 0 / 0.7709 GB, free: 15.86 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004508/0.4425, allocations: 183.9 kB / 0.7711 GB, free: 15.68 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 4.761e-05/0.4425, allocations: 27.91 kB / 0.7711 GB, free: 15.65 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 8.142e-05/0.4426, allocations: 75.53 kB / 0.7712 GB, free: 15.58 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0004578/0.4431, allocations: 296.4 kB / 0.7715 GB, free: 15.3 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.4431, allocations: 0 / 0.7715 GB, free: 15.3 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.312e-06/0.4431, allocations: 0 / 0.7715 GB, free: 15.3 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.588e-06/0.4431, 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.0007927/0.4439, allocations: 0.4905 MB / 0.772 GB, free: 14.76 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.098e-05/0.4439, allocations: 8.031 kB / 0.772 GB, free: 14.75 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001739/0.4441, allocations: 96.12 kB / 0.7721 GB, free: 14.66 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002999/0.4444, allocations: 295.3 kB / 0.7723 GB, free: 14.33 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001009/0.4445, allocations: 154.9 kB / 0.7725 GB, free: 14.18 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.322e-05/0.4446, allocations: 154.9 kB / 0.7726 GB, free: 14.02 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.379e-05/0.4447, allocations: 105.1 kB / 0.7727 GB, free: 13.91 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.98e-05/0.4447, allocations: 75.28 kB / 0.7728 GB, free: 13.84 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.483e-05/0.4448, allocations: 154.6 kB / 0.773 GB, free: 13.69 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.674e-05/0.4449, allocations: 158.6 kB / 0.7731 GB, free: 13.53 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.478e-05/0.445, allocations: 150.6 kB / 0.7733 GB, free: 13.38 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004724/0.4455, allocations: 0.5094 MB / 0.7737 GB, free: 12.82 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001178/0.4456, allocations: 169.1 kB / 0.7739 GB, free: 12.65 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.735e-05/0.4456, allocations: 88.14 kB / 0.774 GB, free: 12.56 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.858e-05/0.4457, allocations: 75.28 kB / 0.7741 GB, free: 12.48 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.903e-05/0.4457, allocations: 109.8 kB / 0.7742 GB, free: 12.37 MB / 0.545 GB Notification: Performance of pre-optimization done (n=0): time 1.012e-06/0.4457, allocations: 0 / 0.7742 GB, free: 12.37 MB / 0.545 GB Notification: Performance of matching and sorting (n=0): time 0.0001926/0.4459, allocations: 53.53 kB / 0.7742 GB, free: 12.31 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.079e-05/0.446, allocations: 126.7 kB / 0.7743 GB, free: 12.17 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004005/0.4464, allocations: 322.4 kB / 0.7746 GB, free: 11.86 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.355e-05/0.4464, allocations: 33.7 kB / 0.7747 GB, free: 11.82 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001041/0.4465, allocations: 112.5 kB / 0.7748 GB, free: 11.7 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.36e-06/0.4465, allocations: 7.938 kB / 0.7748 GB, free: 11.69 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.403e-05/0.4466, allocations: 57.69 kB / 0.7749 GB, free: 11.63 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001938/0.4468, allocations: 334.8 kB / 0.7752 GB, free: 11.29 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001118/0.4469, allocations: 63.95 kB / 0.7752 GB, free: 11.23 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001539/0.4471, allocations: 118.6 kB / 0.7753 GB, free: 11.09 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002831/0.4474, allocations: 209.8 kB / 0.7755 GB, free: 10.87 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.4474, allocations: 0 / 0.7755 GB, free: 10.87 MB / 0.545 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.000485/0.4478, allocations: 233.3 kB / 0.7758 GB, free: 10.63 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.808e-05/0.4479, allocations: 4.219 kB / 0.7758 GB, free: 10.63 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.096e-05/0.4479, allocations: 11.94 kB / 0.7758 GB, free: 10.62 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.037e-05/0.4479, allocations: 0 / 0.7758 GB, free: 10.62 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.182e-05/0.4479, allocations: 15.92 kB / 0.7758 GB, free: 10.6 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.4479, allocations: 0 / 0.7758 GB, free: 10.6 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001319/0.4481, allocations: 31.67 kB / 0.7758 GB, free: 10.57 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.196e-05/0.4481, allocations: 4 kB / 0.7758 GB, free: 10.57 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.0002663/0.4483, allocations: 233.3 kB / 0.7761 GB, free: 10.34 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.214e-05/0.4484, allocations: 128.8 kB / 0.7762 GB, free: 10.2 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.897e-05/0.4485, allocations: 109.9 kB / 0.7763 GB, free: 10.08 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.623e-05/0.4486, allocations: 180.2 kB / 0.7765 GB, free: 9.898 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.989e-05/0.4487, allocations: 180.2 kB / 0.7766 GB, free: 9.715 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.996e-05/0.4488, allocations: 180.3 kB / 0.7768 GB, free: 9.531 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003203/0.4491, allocations: 457.1 kB / 0.7772 GB, free: 9.027 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.635e-05/0.4491, allocations: 109 kB / 0.7773 GB, free: 8.914 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.033e-05/0.4492, allocations: 104.9 kB / 0.7774 GB, free: 8.805 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.14e-05/0.4493, allocations: 184.2 kB / 0.7776 GB, free: 8.617 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.188e-05/0.4494, allocations: 176.3 kB / 0.7778 GB, free: 8.438 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.73e-05/0.4494, allocations: 184.2 kB / 0.778 GB, free: 8.25 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.258e-05/0.4495, allocations: 180.3 kB / 0.7781 GB, free: 8.066 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001788/0.4497, allocations: 323.6 kB / 0.7784 GB, free: 7.727 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001752/0.4499, allocations: 197.9 kB / 0.7786 GB, free: 7.508 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000103/0.45, allocations: 180.2 kB / 0.7788 GB, free: 7.324 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001379/0.4501, allocations: 105 kB / 0.7789 GB, free: 7.215 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.214e-05/0.4502, allocations: 188.2 kB / 0.7791 GB, free: 7.023 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.156e-05/0.4502, allocations: 105 kB / 0.7792 GB, free: 6.914 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.000227/0.4505, allocations: 213.9 kB / 0.7794 GB, free: 6.711 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.4505, allocations: 0 / 0.7794 GB, free: 6.711 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004091/0.4509, allocations: 67.86 kB / 0.7794 GB, free: 6.645 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.0003877/0.4513, allocations: 278.7 kB / 0.7797 GB, free: 6.363 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002026/0.4515, allocations: 79.89 kB / 0.7798 GB, free: 6.285 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 7.464e-06/0.4515, allocations: 448 / 0.7798 GB, free: 6.285 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.423e-06/0.4515, allocations: 4 kB / 0.7798 GB, free: 6.281 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005301/0.452, allocations: 460.2 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.0006563/0.4527, allocations: 408.9 kB / 0.7806 GB, free: 5.398 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003806/0.453, allocations: 0.7431 MB / 0.7813 GB, free: 4.629 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 1.131e-05/0.4531, allocations: 0 / 0.7813 GB, free: 4.629 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.803e-05/0.4531, allocations: 11.44 kB / 0.7814 GB, free: 4.621 MB / 0.545 GB Notification: Performance of SimCode: time 3e-07/0.4531, allocations: 0 / 0.7814 GB, free: 4.621 MB / 0.545 GB Notification: Performance of Templates: time 0.005941/0.459, allocations: 2.319 MB / 0.7836 GB, free: 2.316 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe 2>&1)