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.007888/0.007888, allocations: 101.4 kB / 15.73 MB, free: 6.062 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.001843/0.001843, allocations: 190.4 kB / 16.67 MB, free: 5.977 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.296/1.296, allocations: 222.9 MB / 240.4 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.002023/0.002023, allocations: 286.4 kB / 290.8 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 0.9056/0.9056, allocations: 169.3 MB / 0.4983 GB, free: 4.414 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002725/0.002725, allocations: 88.28 kB / 0.6814 GB, free: 6.98 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4863/0.489, allocations: 86.98 MB / 0.7664 GB, free: 3.918 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.002809/0.4919, allocations: 1.397 MB / 0.7677 GB, free: 2.508 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002462/0.4944, allocations: 1.933 MB / 0.7696 GB, free: 0.5703 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.133e-05/0.4945, allocations: 0 / 0.7696 GB, free: 0.5703 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001267/0.4958, allocations: 388.9 kB / 0.77 GB, free: 196 kB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.53e-05/0.4958, allocations: 19.92 kB / 0.77 GB, free: 176 kB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 4.128e-06/0.4958, allocations: 0 / 0.77 GB, free: 176 kB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002168/0.4961, allocations: 127.1 kB / 0.7701 GB, free: 48 kB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 6.209e-05/0.4961, allocations: 29.48 kB / 0.7702 GB, free: 16 kB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 8.77e-05/0.4962, allocations: 47.91 kB / 0.7702 GB, free: 15.96 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001175/0.4964, allocations: 55.73 kB / 0.7703 GB, free: 15.91 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.484e-05/0.4964, allocations: 0 / 0.7703 GB, free: 15.91 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005784/0.497, allocations: 187.7 kB / 0.7704 GB, free: 15.73 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 6.21e-05/0.497, allocations: 31.89 kB / 0.7705 GB, free: 15.7 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 8.536e-05/0.4971, allocations: 71.56 kB / 0.7705 GB, free: 15.63 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.000565/0.4977, allocations: 293.1 kB / 0.7708 GB, free: 15.35 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.4977, allocations: 0 / 0.7708 GB, free: 15.35 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.864e-06/0.4977, allocations: 4 kB / 0.7708 GB, free: 15.34 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.151e-06/0.4977, allocations: 0 / 0.7708 GB, free: 15.34 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.0006731/0.4984, allocations: 486.6 kB / 0.7713 GB, free: 14.82 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.157e-05/0.4985, allocations: 11.97 kB / 0.7713 GB, free: 14.81 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001455/0.4986, allocations: 96.03 kB / 0.7714 GB, free: 14.71 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002136/0.4988, allocations: 287.3 kB / 0.7717 GB, free: 14.39 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.627e-05/0.4989, allocations: 158.9 kB / 0.7718 GB, free: 14.24 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.642e-05/0.499, allocations: 154.9 kB / 0.772 GB, free: 14.09 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.908e-05/0.499, allocations: 105.1 kB / 0.7721 GB, free: 13.98 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.59e-05/0.4991, allocations: 75.28 kB / 0.7721 GB, free: 13.9 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.819e-05/0.4991, allocations: 150.6 kB / 0.7723 GB, free: 13.75 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.766e-05/0.4992, allocations: 154.6 kB / 0.7724 GB, free: 13.6 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.375e-05/0.4992, allocations: 162.4 kB / 0.7726 GB, free: 13.44 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003257/0.4995, allocations: 0.5055 MB / 0.7731 GB, free: 12.89 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 7.591e-05/0.4996, allocations: 169.1 kB / 0.7732 GB, free: 12.71 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.507e-05/0.4997, allocations: 80.14 kB / 0.7733 GB, free: 12.63 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.595e-05/0.4997, allocations: 79.28 kB / 0.7734 GB, free: 12.55 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.636e-05/0.4997, allocations: 109.8 kB / 0.7735 GB, free: 12.43 MB / 0.545 GB Notification: Performance of pre-optimization done (n=0): time 2.394e-06/0.4997, allocations: 0 / 0.7735 GB, free: 12.43 MB / 0.545 GB Notification: Performance of matching and sorting (n=0): time 0.0001663/0.4999, allocations: 53.44 kB / 0.7735 GB, free: 12.38 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.893e-05/0.5, allocations: 126.7 kB / 0.7737 GB, free: 12.24 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003075/0.5003, allocations: 326.2 kB / 0.774 GB, free: 11.92 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.483e-05/0.5003, allocations: 29.7 kB / 0.774 GB, free: 11.88 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.58e-05/0.5004, allocations: 116.4 kB / 0.7741 GB, free: 11.76 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.555e-06/0.5004, allocations: 0 / 0.7741 GB, free: 11.76 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.201e-05/0.5005, allocations: 61.69 kB / 0.7742 GB, free: 11.7 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001068/0.5006, allocations: 334.8 kB / 0.7745 GB, free: 11.36 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.795e-05/0.5007, allocations: 67.89 kB / 0.7746 GB, free: 11.29 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001128/0.5008, allocations: 122.6 kB / 0.7747 GB, free: 11.15 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002058/0.501, allocations: 205.9 kB / 0.7749 GB, free: 10.93 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.501, allocations: 0 / 0.7749 GB, free: 10.93 MB / 0.545 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0003826/0.5014, allocations: 237.2 kB / 0.7751 GB, free: 10.69 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/0.5014, allocations: 7.984 kB / 0.7751 GB, free: 10.68 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/0.5014, allocations: 4 kB / 0.7751 GB, free: 10.68 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.449e-05/0.5014, allocations: 224 / 0.7751 GB, free: 10.68 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.335e-06/0.5014, allocations: 8 kB / 0.7751 GB, free: 10.67 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.112e-06/0.5015, allocations: 0 / 0.7751 GB, free: 10.67 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001065/0.5016, allocations: 31.59 kB / 0.7751 GB, free: 10.64 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.018e-05/0.5016, allocations: 4 kB / 0.7751 GB, free: 10.64 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.000203/0.5018, allocations: 221.1 kB / 0.7754 GB, free: 10.41 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.11e-05/0.5019, allocations: 124.7 kB / 0.7755 GB, free: 10.28 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.879e-05/0.5019, allocations: 121.8 kB / 0.7756 GB, free: 10.15 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.686e-05/0.502, allocations: 180.2 kB / 0.7758 GB, free: 9.965 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.117e-05/0.5021, allocations: 176.3 kB / 0.7759 GB, free: 9.785 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.673e-05/0.5021, allocations: 184.3 kB / 0.7761 GB, free: 9.598 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002486/0.5024, allocations: 453.1 kB / 0.7765 GB, free: 9.098 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.933e-05/0.5024, allocations: 105 kB / 0.7766 GB, free: 8.988 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.279e-05/0.5024, allocations: 112.9 kB / 0.7767 GB, free: 8.871 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.627e-05/0.5025, allocations: 180.3 kB / 0.7769 GB, free: 8.688 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.707e-05/0.5026, allocations: 180.2 kB / 0.7771 GB, free: 8.504 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.561e-05/0.5026, allocations: 180.2 kB / 0.7773 GB, free: 8.32 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.97e-05/0.5027, allocations: 176.3 kB / 0.7774 GB, free: 8.141 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001364/0.5028, allocations: 319.6 kB / 0.7777 GB, free: 7.805 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 9.004e-05/0.5029, allocations: 205.7 kB / 0.7779 GB, free: 7.578 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.526e-05/0.503, allocations: 188.1 kB / 0.7781 GB, free: 7.387 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001077/0.5031, allocations: 101 kB / 0.7782 GB, free: 7.281 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.191e-05/0.5032, allocations: 188.2 kB / 0.7784 GB, free: 7.09 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.805e-05/0.5032, allocations: 105 kB / 0.7785 GB, free: 6.98 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001793/0.5034, allocations: 213.9 kB / 0.7787 GB, free: 6.777 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5034, allocations: 0 / 0.7787 GB, free: 6.777 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003131/0.5037, allocations: 63.98 kB / 0.7788 GB, free: 6.715 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.0003177/0.5041, allocations: 290.7 kB / 0.779 GB, free: 6.422 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001722/0.5042, allocations: 99.89 kB / 0.7791 GB, free: 6.324 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.5043, allocations: 0 / 0.7791 GB, free: 6.324 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 3.406e-06/0.5043, allocations: 3.938 kB / 0.7791 GB, free: 6.32 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003685/0.5046, allocations: 469.4 kB / 0.7796 GB, free: 5.859 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005139/0.5052, allocations: 385.3 kB / 0.7799 GB, free: 5.453 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002889/0.5055, allocations: 0.7431 MB / 0.7807 GB, free: 4.684 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 1.546e-05/0.5055, allocations: 4 kB / 0.7807 GB, free: 4.68 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.664e-05/0.5055, allocations: 7.438 kB / 0.7807 GB, free: 4.676 MB / 0.545 GB Notification: Performance of SimCode: time 2e-07/0.5055, allocations: 0 / 0.7807 GB, free: 4.676 MB / 0.545 GB Notification: Performance of Templates: time 0.005333/0.5108, allocations: 2.308 MB / 0.7829 GB, free: 2.387 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)