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.001265/0.001265, allocations: 112.1 kB / 16.42 MB, free: 6.512 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.001361/0.001361, allocations: 189.5 kB / 17.35 MB, free: 5.738 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.36/1.36, 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.002084/0.002084, allocations: 281.7 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9681/0.9681, allocations: 169.3 MB / 0.499 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002047/0.002047, allocations: 91.86 kB / 0.6821 GB, free: 6.984 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4749/0.4769, allocations: 86.97 MB / 0.767 GB, free: 3.93 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.002689/0.4797, allocations: 1.419 MB / 0.7684 GB, free: 2.504 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.003417/0.4831, allocations: 2.674 MB / 0.771 GB, free: 15.82 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.473e-05/0.4832, allocations: 0 / 0.771 GB, free: 15.82 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001885/0.4851, allocations: 0.5839 MB / 0.7716 GB, free: 15.25 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 6.417e-05/0.4852, allocations: 23.84 kB / 0.7716 GB, free: 15.22 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 5.27e-06/0.4852, allocations: 0 / 0.7716 GB, free: 15.22 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002685/0.4854, allocations: 158.9 kB / 0.7718 GB, free: 15.07 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 6.838e-05/0.4855, allocations: 36.39 kB / 0.7718 GB, free: 15.03 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 9.04e-05/0.4856, allocations: 63.67 kB / 0.7719 GB, free: 14.97 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000154/0.4858, allocations: 79.58 kB / 0.7719 GB, free: 14.89 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.527e-05/0.4858, allocations: 0 / 0.7719 GB, free: 14.89 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001176/0.487, allocations: 471.3 kB / 0.7724 GB, free: 14.43 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 6.09e-05/0.4871, allocations: 31.84 kB / 0.7724 GB, free: 14.4 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001018/0.4872, allocations: 99.36 kB / 0.7725 GB, free: 14.3 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0007745/0.4879, allocations: 442.2 kB / 0.7729 GB, free: 13.87 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.488, allocations: 0 / 0.7729 GB, free: 13.87 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.393e-06/0.488, allocations: 0 / 0.7729 GB, free: 13.87 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.752e-06/0.488, allocations: 0 / 0.7729 GB, free: 13.87 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.0008253/0.4888, allocations: 0.5529 MB / 0.7735 GB, free: 13.26 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.46e-05/0.4889, allocations: 12.03 kB / 0.7735 GB, free: 13.25 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001844/0.4891, allocations: 103.8 kB / 0.7736 GB, free: 13.15 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002546/0.4893, allocations: 294.4 kB / 0.7739 GB, free: 12.82 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.026e-05/0.4894, allocations: 158.9 kB / 0.774 GB, free: 12.67 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.251e-05/0.4895, allocations: 154.9 kB / 0.7742 GB, free: 12.52 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.59e-05/0.4895, allocations: 105.5 kB / 0.7743 GB, free: 12.41 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.26e-05/0.4896, allocations: 83.41 kB / 0.7744 GB, free: 12.32 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.364e-05/0.4896, allocations: 158.5 kB / 0.7745 GB, free: 12.17 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.778e-05/0.4897, allocations: 154.5 kB / 0.7747 GB, free: 12.02 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.362e-05/0.4897, allocations: 150.6 kB / 0.7748 GB, free: 11.87 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003958/0.4901, allocations: 0.5367 MB / 0.7753 GB, free: 11.28 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 7.77e-05/0.4902, allocations: 169.1 kB / 0.7755 GB, free: 11.11 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.817e-05/0.4903, allocations: 80.14 kB / 0.7756 GB, free: 11.02 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.335e-05/0.4903, allocations: 75.28 kB / 0.7756 GB, free: 10.95 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.584e-05/0.4904, allocations: 117.8 kB / 0.7757 GB, free: 10.82 MB / 0.545 GB Notification: Performance of pre-optimization done (n=0): time 1.423e-06/0.4904, allocations: 0 / 0.7757 GB, free: 10.82 MB / 0.545 GB Notification: Performance of matching and sorting (n=0): time 0.0001888/0.4906, allocations: 57.36 kB / 0.7758 GB, free: 10.76 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.11e-05/0.4906, allocations: 51.41 kB / 0.7758 GB, free: 10.7 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004432/0.4911, allocations: 433.2 kB / 0.7763 GB, free: 10.27 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.597e-05/0.4911, allocations: 25.7 kB / 0.7763 GB, free: 10.23 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 9.897e-05/0.4912, allocations: 136.5 kB / 0.7764 GB, free: 10.1 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.108e-06/0.4912, allocations: 0 / 0.7764 GB, free: 10.1 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001003/0.4913, allocations: 89.66 kB / 0.7765 GB, free: 10 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001342/0.4914, allocations: 342.8 kB / 0.7768 GB, free: 9.66 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001225/0.4916, allocations: 104.4 kB / 0.7769 GB, free: 9.555 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001623/0.4917, allocations: 165.3 kB / 0.7771 GB, free: 9.375 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003361/0.4921, allocations: 301.6 kB / 0.7774 GB, free: 9.059 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.4921, allocations: 4 kB / 0.7774 GB, free: 9.055 MB / 0.545 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0005492/0.4927, allocations: 328.8 kB / 0.7777 GB, free: 8.727 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.847e-05/0.4927, allocations: 8 kB / 0.7777 GB, free: 8.719 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.755e-06/0.4927, allocations: 0 / 0.7777 GB, free: 8.719 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.951e-05/0.4927, allocations: 7.938 kB / 0.7777 GB, free: 8.711 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.943e-06/0.4927, allocations: 0 / 0.7777 GB, free: 8.711 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.292e-05/0.4927, allocations: 7.984 kB / 0.7777 GB, free: 8.703 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001491/0.4929, allocations: 43.36 kB / 0.7778 GB, free: 8.66 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.251e-05/0.4929, allocations: 8.219 kB / 0.7778 GB, free: 8.652 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.00022/0.4931, allocations: 245 kB / 0.778 GB, free: 8.402 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.745e-05/0.4932, allocations: 124.7 kB / 0.7781 GB, free: 8.273 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.909e-05/0.4933, allocations: 114.9 kB / 0.7782 GB, free: 8.156 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.388e-05/0.4933, allocations: 184.2 kB / 0.7784 GB, free: 7.969 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.863e-05/0.4934, allocations: 101 kB / 0.7785 GB, free: 7.863 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 9.478e-05/0.4935, allocations: 213.6 kB / 0.7787 GB, free: 7.629 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.723e-05/0.4936, allocations: 180.2 kB / 0.7789 GB, free: 7.445 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001266/0.4937, allocations: 105 kB / 0.779 GB, free: 7.336 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.909e-05/0.4938, allocations: 184.2 kB / 0.7791 GB, free: 7.148 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 8.472e-05/0.4939, allocations: 251.5 kB / 0.7794 GB, free: 6.895 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001604/0.494, allocations: 410.7 kB / 0.7798 GB, free: 6.469 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.487e-05/0.4941, allocations: 108.9 kB / 0.7799 GB, free: 6.355 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002483/0.4943, allocations: 275.1 kB / 0.7801 GB, free: 6.086 MB / 0.545 GB Notification: Performance of Backend: time 3.21e-07/0.4943, allocations: 0 / 0.7801 GB, free: 6.086 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0007577/0.4951, allocations: 386.2 kB / 0.7805 GB, free: 5.703 MB / 0.545 GB Notification: Performance of SimCode: time 0.0008682/0.496, allocations: 1.171 MB / 0.7817 GB, free: 4.477 MB / 0.545 GB Notification: Performance of Templates: time 0.006704/0.5027, allocations: 3.113 MB / 0.7847 GB, free: 1.379 MB / 0.545 GB 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe 2>&1)