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.001097/0.001097, allocations: 111.4 kB / 16.37 MB, free: 6.469 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.001035/0.001035, allocations: 196.6 kB / 17.31 MB, free: 5.824 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.379/1.379, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002001/0.002001, allocations: 283.4 kB / 291.4 MB, free: 14.49 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9181/0.9181, allocations: 169.3 MB / 0.4989 GB, free: 4.477 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001806/0.001807, allocations: 89.44 kB / 0.5967 GB, free: 14.46 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1571/0.1589, allocations: 86.97 MB / 0.6816 GB, free: 7.477 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.002339/0.1613, allocations: 1.394 MB / 0.683 GB, free: 6.07 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002082/0.1634, allocations: 1.94 MB / 0.6849 GB, free: 4.125 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.349e-05/0.1634, allocations: 0 / 0.6849 GB, free: 4.125 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008557/0.1643, allocations: 381.8 kB / 0.6852 GB, free: 3.75 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.357e-05/0.1643, allocations: 31.84 kB / 0.6852 GB, free: 3.719 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.617e-06/0.1643, allocations: 0 / 0.6852 GB, free: 3.719 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001895/0.1645, allocations: 123.2 kB / 0.6854 GB, free: 3.598 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.816e-05/0.1646, allocations: 17.5 kB / 0.6854 GB, free: 3.578 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.903e-05/0.1646, allocations: 47.8 kB / 0.6854 GB, free: 3.531 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001059/0.1648, allocations: 63.7 kB / 0.6855 GB, free: 3.469 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.328e-05/0.1648, allocations: 0 / 0.6855 GB, free: 3.469 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004355/0.1652, allocations: 179.9 kB / 0.6857 GB, free: 3.293 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.588e-05/0.1653, allocations: 43.77 kB / 0.6857 GB, free: 3.25 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 7.652e-05/0.1654, allocations: 71.55 kB / 0.6858 GB, free: 3.18 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004378/0.1658, allocations: 282.9 kB / 0.686 GB, free: 2.902 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.091e-06/0.1658, allocations: 0 / 0.686 GB, free: 2.902 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.542e-06/0.1658, allocations: 3.938 kB / 0.686 GB, free: 2.898 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.322e-06/0.1659, allocations: 0 / 0.686 GB, free: 2.898 MB / 494.1 MB 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.0006707/0.1665, allocations: 494.6 kB / 0.6865 GB, free: 2.367 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.384e-05/0.1666, allocations: 12.02 kB / 0.6865 GB, free: 2.355 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001478/0.1667, allocations: 103.9 kB / 0.6866 GB, free: 2.254 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002022/0.1669, allocations: 283.4 kB / 0.6869 GB, free: 1.941 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.535e-05/0.167, allocations: 158.9 kB / 0.687 GB, free: 1.785 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.755e-05/0.1671, allocations: 154.9 kB / 0.6872 GB, free: 1.633 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.357e-05/0.1671, allocations: 109 kB / 0.6873 GB, free: 1.52 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.397e-05/0.1672, allocations: 79.28 kB / 0.6874 GB, free: 1.441 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.48e-05/0.1672, allocations: 154.6 kB / 0.6875 GB, free: 1.289 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.034e-05/0.1673, allocations: 150.6 kB / 0.6877 GB, free: 1.141 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.364e-05/0.1673, allocations: 150.6 kB / 0.6878 GB, free: 0.9922 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003212/0.1676, allocations: 0.5017 MB / 0.6883 GB, free: 452 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.485e-05/0.1677, allocations: 173.1 kB / 0.6885 GB, free: 268 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.272e-05/0.1677, allocations: 80.14 kB / 0.6885 GB, free: 184 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.373e-05/0.1678, allocations: 75.28 kB / 0.6886 GB, free: 108 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.2403/0.4081, allocations: 114.4 kB / 0.6887 GB, free: 18.76 MB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 2.735e-06/0.4081, allocations: 0 / 0.6887 GB, free: 18.76 MB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 0.0002413/0.4084, allocations: 46.92 kB / 0.6888 GB, free: 18.73 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.503e-05/0.4084, allocations: 131.7 kB / 0.6889 GB, free: 18.59 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003733/0.4088, allocations: 321.3 kB / 0.6892 GB, free: 18.48 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 9.438e-06/0.4088, allocations: 28.95 kB / 0.6892 GB, free: 18.45 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.006e-05/0.4089, allocations: 113.6 kB / 0.6893 GB, free: 18.36 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.575e-06/0.4089, allocations: 1.062 kB / 0.6893 GB, free: 18.36 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.427e-05/0.409, allocations: 64.22 kB / 0.6894 GB, free: 18.35 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 5.301e-05/0.409, allocations: 329.5 kB / 0.6897 GB, free: 18.04 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.962e-05/0.4091, allocations: 67.66 kB / 0.6898 GB, free: 18.04 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001078/0.4092, allocations: 115.3 kB / 0.6899 GB, free: 17.98 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002103/0.4094, allocations: 211.3 kB / 0.6901 GB, free: 17.93 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.4095, allocations: 0 / 0.6901 GB, free: 17.93 MB / 494.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004019/0.4099, allocations: 243.9 kB / 0.6903 GB, free: 17.88 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/0.4099, allocations: 8.188 kB / 0.6903 GB, free: 17.88 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/0.4099, allocations: 2.766 kB / 0.6903 GB, free: 17.88 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/0.4099, allocations: 6.641 kB / 0.6903 GB, free: 17.88 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.406e-06/0.4099, allocations: 4.594 kB / 0.6903 GB, free: 17.88 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.672e-06/0.4099, allocations: 2.266 kB / 0.6903 GB, free: 17.88 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000114/0.4101, allocations: 26.48 kB / 0.6904 GB, free: 17.88 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.938e-06/0.4101, allocations: 3.688 kB / 0.6904 GB, free: 17.88 MB / 494.1 MB 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.0001552/0.4102, allocations: 224.7 kB / 0.6906 GB, free: 17.69 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.568e-05/0.4103, allocations: 131.4 kB / 0.6907 GB, free: 17.57 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.41e-05/0.4103, allocations: 111.2 kB / 0.6908 GB, free: 17.46 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.921e-05/0.4103, allocations: 178.5 kB / 0.691 GB, free: 17.28 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.161e-05/0.4104, allocations: 185 kB / 0.6912 GB, free: 17.09 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.801e-05/0.4104, allocations: 182.1 kB / 0.6913 GB, free: 16.91 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000179/0.4106, allocations: 457 kB / 0.6918 GB, free: 16.46 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.135e-05/0.4106, allocations: 103.3 kB / 0.6919 GB, free: 16.36 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.169e-05/0.4106, allocations: 105.6 kB / 0.692 GB, free: 16.25 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.838e-05/0.4106, allocations: 182.5 kB / 0.6921 GB, free: 16.07 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.22e-05/0.4107, allocations: 180.1 kB / 0.6923 GB, free: 15.89 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.799e-05/0.4107, allocations: 180.9 kB / 0.6925 GB, free: 15.71 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-05/0.4107, allocations: 180 kB / 0.6927 GB, free: 15.53 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.325e-05/0.4108, allocations: 322.2 kB / 0.693 GB, free: 15.2 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.86e-05/0.4108, allocations: 199.2 kB / 0.6932 GB, free: 15 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.139e-05/0.4109, allocations: 186.5 kB / 0.6933 GB, free: 14.81 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.606e-05/0.411, allocations: 105.3 kB / 0.6934 GB, free: 14.71 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.406e-05/0.411, allocations: 184.4 kB / 0.6936 GB, free: 14.52 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.173e-05/0.411, allocations: 101.8 kB / 0.6937 GB, free: 14.42 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001773/0.4112, allocations: 216.5 kB / 0.6939 GB, free: 14.34 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4112, allocations: 0.7188 kB / 0.6939 GB, free: 14.34 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003449/0.4116, allocations: 64.12 kB / 0.694 GB, free: 14.34 MB / 494.1 MB 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.0002545/0.4118, allocations: 276.7 kB / 0.6942 GB, free: 14.18 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001687/0.412, allocations: 101.8 kB / 0.6943 GB, free: 14.18 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.412, allocations: 0.7812 kB / 0.6943 GB, free: 14.18 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.733e-06/0.412, allocations: 1.25 kB / 0.6943 GB, free: 14.18 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000277/0.4123, allocations: 471.4 kB / 0.6948 GB, free: 13.72 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004244/0.4127, allocations: 394.8 kB / 0.6952 GB, free: 13.48 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001472/0.4129, allocations: 0.7445 MB / 0.6959 GB, free: 12.78 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 1.174e-05/0.4129, allocations: 3.891 kB / 0.6959 GB, free: 12.78 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.395e-05/0.4129, allocations: 9.781 kB / 0.6959 GB, free: 12.78 MB / 494.1 MB Notification: Performance of SimCode: time 2.7e-07/0.4129, allocations: 0 / 0.6959 GB, free: 12.78 MB / 494.1 MB Notification: Performance of Templates: time 0.005363/0.4183, allocations: 2.315 MB / 0.6982 GB, free: 12.53 MB / 494.1 MB 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 gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe 2>&1)