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.0009968/0.0009968, allocations: 99.12 kB / 16.35 MB, free: 5.824 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.001021/0.001021, allocations: 195.2 kB / 17.3 MB, free: 5.48 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.295/1.295, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001996/0.001996, allocations: 282.2 kB / 291.4 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9435/0.9435, allocations: 169.3 MB / 0.4989 GB, free: 4.449 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001832/0.001832, allocations: 99.09 kB / 0.5967 GB, free: 14.45 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1459/0.1478, allocations: 86.97 MB / 0.6816 GB, free: 7.465 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.002469/0.1503, allocations: 1.403 MB / 0.683 GB, free: 6.047 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001991/0.1523, allocations: 1.933 MB / 0.6849 GB, free: 4.113 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.169e-05/0.1523, allocations: 0 / 0.6849 GB, free: 4.113 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009171/0.1533, allocations: 389 kB / 0.6852 GB, free: 3.734 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.587e-05/0.1533, allocations: 23.84 kB / 0.6852 GB, free: 3.711 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.288e-06/0.1533, allocations: 4 kB / 0.6852 GB, free: 3.707 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001991/0.1535, allocations: 127.1 kB / 0.6854 GB, free: 3.582 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.107e-05/0.1536, allocations: 21.44 kB / 0.6854 GB, free: 3.559 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.238e-05/0.1536, allocations: 39.86 kB / 0.6854 GB, free: 3.52 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001004/0.1537, allocations: 63.7 kB / 0.6855 GB, free: 3.457 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.268e-05/0.1538, allocations: 0 / 0.6855 GB, free: 3.457 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004429/0.1542, allocations: 183.9 kB / 0.6857 GB, free: 3.277 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.558e-05/0.1543, allocations: 35.83 kB / 0.6857 GB, free: 3.242 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 7.247e-05/0.1543, allocations: 71.61 kB / 0.6858 GB, free: 3.172 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004012/0.1548, allocations: 290.9 kB / 0.686 GB, free: 2.887 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.1548, allocations: 0 / 0.686 GB, free: 2.887 MB / 494.1 MB Notification: Performance of FrontEnd: time 9.61e-07/0.1548, allocations: 0 / 0.686 GB, free: 2.887 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.16e-06/0.1548, allocations: 0 / 0.686 GB, free: 2.887 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.0006229/0.1554, allocations: 494.6 kB / 0.6865 GB, free: 2.355 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.129e-05/0.1554, allocations: 8.031 kB / 0.6865 GB, free: 2.348 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001412/0.1556, allocations: 99.94 kB / 0.6866 GB, free: 2.25 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001913/0.1558, allocations: 291.3 kB / 0.6869 GB, free: 1.93 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.981e-05/0.1559, allocations: 158.9 kB / 0.687 GB, free: 1.773 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.282e-05/0.1559, allocations: 150.9 kB / 0.6872 GB, free: 1.625 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.245e-05/0.156, allocations: 105.1 kB / 0.6873 GB, free: 1.516 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.686e-05/0.156, allocations: 79.22 kB / 0.6874 GB, free: 1.438 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.096e-05/0.156, allocations: 154.6 kB / 0.6875 GB, free: 1.285 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.053e-05/0.1561, allocations: 158.5 kB / 0.6877 GB, free: 1.129 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.069e-05/0.1561, allocations: 150.6 kB / 0.6878 GB, free: 0.9805 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002921/0.1564, allocations: 0.5056 MB / 0.6883 GB, free: 436 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.012e-05/0.1565, allocations: 169.1 kB / 0.6885 GB, free: 256 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.045e-05/0.1565, allocations: 88.08 kB / 0.6886 GB, free: 164 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.113e-05/0.1566, allocations: 75.28 kB / 0.6886 GB, free: 88 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.2663/0.4229, allocations: 109.8 kB / 0.6887 GB, free: 18.75 MB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 3.427e-06/0.4229, allocations: 0 / 0.6887 GB, free: 18.75 MB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 0.0002322/0.4232, allocations: 47.98 kB / 0.6888 GB, free: 18.71 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.311e-05/0.4232, allocations: 127.3 kB / 0.6889 GB, free: 18.58 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003823/0.4236, allocations: 322 kB / 0.6892 GB, free: 18.47 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 9.568e-06/0.4236, allocations: 31.52 kB / 0.6892 GB, free: 18.44 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.364e-05/0.4237, allocations: 113.8 kB / 0.6893 GB, free: 18.35 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.514e-06/0.4237, allocations: 0 / 0.6893 GB, free: 18.35 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.64e-05/0.4238, allocations: 63.95 kB / 0.6894 GB, free: 18.34 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 6.113e-05/0.4239, allocations: 330 kB / 0.6897 GB, free: 18.02 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.745e-05/0.424, allocations: 63.64 kB / 0.6898 GB, free: 18.02 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001098/0.4241, allocations: 120.7 kB / 0.6899 GB, free: 17.97 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000219/0.4243, allocations: 210.8 kB / 0.6901 GB, free: 17.91 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.4243, allocations: 2.156 kB / 0.6901 GB, free: 17.91 MB / 494.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004138/0.4247, allocations: 238.7 kB / 0.6903 GB, free: 17.87 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/0.4247, allocations: 5.688 kB / 0.6903 GB, free: 17.87 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/0.4248, allocations: 3.047 kB / 0.6903 GB, free: 17.87 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.497e-05/0.4248, allocations: 2.406 kB / 0.6903 GB, free: 17.87 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.186e-06/0.4248, allocations: 3.828 kB / 0.6903 GB, free: 17.87 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.875e-06/0.4248, allocations: 7.188 kB / 0.6903 GB, free: 17.87 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001152/0.4249, allocations: 27.56 kB / 0.6904 GB, free: 17.86 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.115e-05/0.4249, allocations: 6 kB / 0.6904 GB, free: 17.86 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.0001669/0.4251, allocations: 224.8 kB / 0.6906 GB, free: 17.67 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.58e-05/0.4252, allocations: 125.2 kB / 0.6907 GB, free: 17.55 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.147e-05/0.4252, allocations: 115.5 kB / 0.6908 GB, free: 17.44 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.28e-05/0.4252, allocations: 177.5 kB / 0.691 GB, free: 17.26 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.597e-05/0.4253, allocations: 186.8 kB / 0.6912 GB, free: 17.08 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.266e-05/0.4253, allocations: 178.5 kB / 0.6913 GB, free: 16.9 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001727/0.4255, allocations: 454.8 kB / 0.6918 GB, free: 16.45 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-05/0.4255, allocations: 107.5 kB / 0.6919 GB, free: 16.34 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.354e-05/0.4255, allocations: 106.4 kB / 0.692 GB, free: 16.24 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.267e-05/0.4255, allocations: 181.9 kB / 0.6921 GB, free: 16.05 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.436e-05/0.4256, allocations: 179.8 kB / 0.6923 GB, free: 15.88 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-05/0.4256, allocations: 182.4 kB / 0.6925 GB, free: 15.69 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.481e-05/0.4256, allocations: 178.8 kB / 0.6927 GB, free: 15.51 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.867e-05/0.4257, allocations: 325 kB / 0.693 GB, free: 15.19 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.376e-05/0.4258, allocations: 199.9 kB / 0.6932 GB, free: 14.98 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.573e-05/0.4258, allocations: 184.6 kB / 0.6933 GB, free: 14.8 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001016/0.4259, allocations: 104.1 kB / 0.6934 GB, free: 14.69 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.01e-05/0.4259, allocations: 180.3 kB / 0.6936 GB, free: 14.51 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.449e-05/0.426, allocations: 106.4 kB / 0.6937 GB, free: 14.4 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.000195/0.4262, allocations: 216.7 kB / 0.6939 GB, free: 14.32 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4262, allocations: 0 / 0.6939 GB, free: 14.32 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003574/0.4265, allocations: 68.22 kB / 0.694 GB, free: 14.32 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.0002643/0.4268, allocations: 274.9 kB / 0.6942 GB, free: 14.16 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001636/0.427, allocations: 103.1 kB / 0.6943 GB, free: 14.16 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.427, allocations: 0 / 0.6943 GB, free: 14.16 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.282e-06/0.427, allocations: 1.031 kB / 0.6943 GB, free: 14.16 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002752/0.4273, allocations: 470.9 kB / 0.6948 GB, free: 13.71 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000435/0.4277, allocations: 393.5 kB / 0.6952 GB, free: 13.46 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001672/0.4279, allocations: 0.7403 MB / 0.6959 GB, free: 12.77 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 1.266e-05/0.4279, allocations: 4.219 kB / 0.6959 GB, free: 12.77 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.487e-05/0.4279, allocations: 9.094 kB / 0.6959 GB, free: 12.76 MB / 494.1 MB Notification: Performance of SimCode: time 2.1e-07/0.4279, allocations: 0 / 0.6959 GB, free: 12.76 MB / 494.1 MB Notification: Performance of Templates: time 0.005339/0.4333, allocations: 2.305 MB / 0.6982 GB, free: 12.51 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 cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe 2>&1)