Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_med.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_med,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_med") translateModel(BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_med,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_med") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001134/0.001134, allocations: 106.2 kB / 16.36 MB, free: 6.289 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.001047/0.001047, allocations: 192.5 kB / 17.29 MB, free: 5.863 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.337/1.337, 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.002123/0.002123, allocations: 288 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.9242/0.9242, allocations: 169.3 MB / 0.4989 GB, free: 4.426 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001766/0.001766, allocations: 90.48 kB / 0.5967 GB, free: 14.41 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1497/0.1515, allocations: 86.97 MB / 0.6816 GB, free: 7.422 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.002393/0.1539, allocations: 1.414 MB / 0.683 GB, free: 5.996 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002818/0.1567, allocations: 2.674 MB / 0.6856 GB, free: 3.316 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.719e-05/0.1568, allocations: 3.938 kB / 0.6856 GB, free: 3.312 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00124/0.158, allocations: 0.5936 MB / 0.6862 GB, free: 2.719 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.317e-05/0.1581, allocations: 19.91 kB / 0.6862 GB, free: 2.699 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.978e-06/0.1581, allocations: 0 / 0.6862 GB, free: 2.699 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002246/0.1583, allocations: 158.9 kB / 0.6863 GB, free: 2.543 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.581e-05/0.1584, allocations: 36.41 kB / 0.6864 GB, free: 2.508 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.017e-05/0.1584, allocations: 55.72 kB / 0.6864 GB, free: 2.453 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001169/0.1586, allocations: 75.59 kB / 0.6865 GB, free: 2.379 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.324e-05/0.1586, allocations: 4 kB / 0.6865 GB, free: 2.375 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009223/0.1595, allocations: 471.2 kB / 0.687 GB, free: 1.914 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.613e-05/0.1596, allocations: 39.78 kB / 0.687 GB, free: 1.875 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 9.537e-05/0.1597, allocations: 95.42 kB / 0.6871 GB, free: 1.781 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005755/0.1602, allocations: 430.3 kB / 0.6875 GB, free: 1.359 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.69e-06/0.1603, allocations: 0 / 0.6875 GB, free: 1.359 MB / 494.1 MB Notification: Performance of FrontEnd: time 3.427e-06/0.1603, allocations: 3.938 kB / 0.6875 GB, free: 1.355 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.761e-06/0.1603, allocations: 7.938 kB / 0.6875 GB, free: 1.348 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.0006975/0.161, allocations: 0.549 MB / 0.688 GB, free: 0.7461 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.183e-05/0.161, allocations: 8.031 kB / 0.688 GB, free: 0.7383 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001487/0.1612, allocations: 99.94 kB / 0.6881 GB, free: 0.6406 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002023/0.1614, allocations: 302.3 kB / 0.6884 GB, free: 316 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.208e-05/0.1614, allocations: 162.9 kB / 0.6886 GB, free: 152 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.2498/0.4113, allocations: 155.5 kB / 0.6887 GB, free: 18.57 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.536e-05/0.4114, allocations: 102.6 kB / 0.6888 GB, free: 18.46 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.577e-05/0.4114, allocations: 77.91 kB / 0.6889 GB, free: 18.39 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.655e-05/0.4115, allocations: 150.6 kB / 0.689 GB, free: 18.24 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.197e-05/0.4115, allocations: 151.3 kB / 0.6892 GB, free: 18.09 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.763e-05/0.4115, allocations: 153.2 kB / 0.6893 GB, free: 17.94 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004614/0.412, allocations: 0.5335 MB / 0.6899 GB, free: 17.46 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.44e-05/0.4121, allocations: 172.1 kB / 0.69 GB, free: 17.29 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.368e-05/0.4121, allocations: 80.64 kB / 0.6901 GB, free: 17.21 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.948e-05/0.4121, allocations: 75.88 kB / 0.6902 GB, free: 17.13 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.034e-05/0.4122, allocations: 112.4 kB / 0.6903 GB, free: 17.02 MB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 2.024e-06/0.4122, allocations: 0.5 kB / 0.6903 GB, free: 17.02 MB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 0.0002393/0.4124, allocations: 56.8 kB / 0.6903 GB, free: 16.98 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.363e-05/0.4125, allocations: 127.5 kB / 0.6905 GB, free: 16.84 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005255/0.413, allocations: 434.2 kB / 0.6909 GB, free: 16.72 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 7.674e-06/0.413, allocations: 25.7 kB / 0.6909 GB, free: 16.69 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.388e-05/0.4131, allocations: 133.8 kB / 0.691 GB, free: 16.6 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.156e-06/0.4131, allocations: 2.406 kB / 0.691 GB, free: 16.6 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.984e-05/0.4132, allocations: 94.41 kB / 0.6911 GB, free: 16.58 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 6.252e-05/0.4133, allocations: 339.1 kB / 0.6914 GB, free: 16.27 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001182/0.4134, allocations: 103 kB / 0.6915 GB, free: 16.27 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001475/0.4135, allocations: 164.6 kB / 0.6917 GB, free: 16.21 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002836/0.4138, allocations: 310.2 kB / 0.692 GB, free: 16.14 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.4138, allocations: 1.594 kB / 0.692 GB, free: 16.14 MB / 494.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0005102/0.4144, allocations: 323.2 kB / 0.6923 GB, free: 16.06 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/0.4144, allocations: 7.844 kB / 0.6923 GB, free: 16.06 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/0.4144, allocations: 5.562 kB / 0.6923 GB, free: 16.06 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.517e-05/0.4144, allocations: 1.281 kB / 0.6923 GB, free: 16.06 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.026e-06/0.4144, allocations: 4.031 kB / 0.6923 GB, free: 16.06 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.343e-06/0.4144, allocations: 7.516 kB / 0.6923 GB, free: 16.05 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001383/0.4146, allocations: 45.61 kB / 0.6924 GB, free: 16.02 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.212e-05/0.4146, allocations: 8.672 kB / 0.6924 GB, free: 16.02 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.0002166/0.4148, allocations: 242.6 kB / 0.6926 GB, free: 15.82 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.023e-05/0.4149, allocations: 125.1 kB / 0.6927 GB, free: 15.7 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.314e-05/0.4149, allocations: 116.1 kB / 0.6928 GB, free: 15.58 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.125e-05/0.415, allocations: 179.2 kB / 0.693 GB, free: 15.4 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.974e-05/0.415, allocations: 186.4 kB / 0.6932 GB, free: 15.21 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-05/0.415, allocations: 179.3 kB / 0.6934 GB, free: 15.04 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002226/0.4152, allocations: 476.7 kB / 0.6938 GB, free: 14.57 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.795e-05/0.4153, allocations: 107 kB / 0.6939 GB, free: 14.46 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.957e-05/0.4153, allocations: 106.1 kB / 0.694 GB, free: 14.35 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.709e-05/0.4153, allocations: 186.1 kB / 0.6942 GB, free: 14.16 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.73e-05/0.4154, allocations: 180.2 kB / 0.6944 GB, free: 13.98 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.506e-05/0.4154, allocations: 178.5 kB / 0.6945 GB, free: 13.8 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.329e-05/0.4154, allocations: 182.6 kB / 0.6947 GB, free: 13.62 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.806e-05/0.4155, allocations: 334.2 kB / 0.695 GB, free: 13.29 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.201e-05/0.4156, allocations: 202.2 kB / 0.6952 GB, free: 13.07 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.429e-05/0.4156, allocations: 183.9 kB / 0.6954 GB, free: 12.89 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001216/0.4158, allocations: 108.9 kB / 0.6955 GB, free: 12.78 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.234e-05/0.4158, allocations: 177.7 kB / 0.6957 GB, free: 12.6 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.665e-05/0.4158, allocations: 111.2 kB / 0.6958 GB, free: 12.49 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0002866/0.4161, allocations: 279.1 kB / 0.696 GB, free: 12.36 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.4161, allocations: 0 / 0.696 GB, free: 12.36 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0004214/0.4166, allocations: 84.44 kB / 0.6961 GB, free: 12.36 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.0003248/0.4169, allocations: 302.4 kB / 0.6964 GB, free: 12.19 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002085/0.4171, allocations: 165 kB / 0.6966 GB, free: 12.11 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.4171, allocations: 0 / 0.6966 GB, free: 12.11 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.653e-06/0.4171, allocations: 3.828 kB / 0.6966 GB, free: 12.11 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003012/0.4174, allocations: 472.9 kB / 0.697 GB, free: 11.65 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005779/0.418, allocations: 0.501 MB / 0.6975 GB, free: 11.35 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002142/0.4182, allocations: 0.7749 MB / 0.6983 GB, free: 10.64 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 1.268e-05/0.4183, allocations: 3.234 kB / 0.6983 GB, free: 10.64 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.455e-05/0.4183, allocations: 10.69 kB / 0.6983 GB, free: 10.64 MB / 494.1 MB Notification: Performance of SimCode: time 2.7e-07/0.4183, allocations: 1.312 kB / 0.6983 GB, free: 10.64 MB / 494.1 MB Notification: Performance of Templates: time 0.00685/0.4251, allocations: 3.072 MB / 0.7013 GB, free: 10.32 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_med.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_med.sim & ./BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_med -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe 2>&1)