Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_med,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_med") translateModel(IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_med,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.000972/0.000972, allocations: 90.42 kB / 16.67 MB, free: 6.594 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.0009943/0.0009943, allocations: 182.4 kB / 17.58 MB, free: 6.188 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.358/1.358, allocations: 223.3 MB / 241.6 MB, free: 14.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7894/0.7894, allocations: 115.5 MB / 408.2 MB, free: 7.105 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003721/0.0003723, allocations: 8 kB / 496.5 MB, free: 15.72 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.388/0.3884, allocations: 77.51 MB / 0.5606 GB, free: 35.53 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.001472/0.3899, allocations: 1.133 MB / 0.5617 GB, free: 34.7 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002617/0.3925, allocations: 2.615 MB / 0.5642 GB, free: 32.85 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.039e-05/0.3926, allocations: 2.219 kB / 0.5642 GB, free: 32.85 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001387/0.394, allocations: 0.5506 MB / 0.5648 GB, free: 32.56 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.382e-05/0.394, allocations: 16.75 kB / 0.5648 GB, free: 32.55 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.948e-06/0.394, allocations: 0 / 0.5648 GB, free: 32.55 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002306/0.3943, allocations: 173.7 kB / 0.565 GB, free: 32.48 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.65e-05/0.3943, allocations: 38.09 kB / 0.565 GB, free: 32.47 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.464e-05/0.3944, allocations: 53.34 kB / 0.565 GB, free: 32.45 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001257/0.3945, allocations: 83.08 kB / 0.5651 GB, free: 32.42 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.404e-05/0.3946, allocations: 3 kB / 0.5651 GB, free: 32.42 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001035/0.3956, allocations: 493 kB / 0.5656 GB, free: 32.32 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.386e-05/0.3957, allocations: 34.05 kB / 0.5656 GB, free: 32.3 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001276/0.3958, allocations: 123.5 kB / 0.5657 GB, free: 32.22 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003585/0.3962, allocations: 284.5 kB / 0.566 GB, free: 32.1 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.3962, allocations: 0.8125 kB / 0.566 GB, free: 32.1 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.3962, allocations: 0.5625 kB / 0.566 GB, free: 32.1 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.32e-06/0.3962, allocations: 0 / 0.566 GB, free: 32.1 MB / 446.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.0006661/0.3969, allocations: 0.534 MB / 0.5665 GB, free: 31.62 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.485e-05/0.3969, allocations: 11.36 kB / 0.5666 GB, free: 31.62 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00015/0.3971, allocations: 105.4 kB / 0.5667 GB, free: 31.54 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002097/0.3973, allocations: 299.1 kB / 0.5669 GB, free: 31.24 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.21e-05/0.3974, allocations: 153.1 kB / 0.5671 GB, free: 31.09 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.065e-05/0.3974, allocations: 155.3 kB / 0.5672 GB, free: 30.94 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 3.846e-05/0.3974, allocations: 111.2 kB / 0.5673 GB, free: 30.83 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.376e-05/0.3975, allocations: 75.47 kB / 0.5674 GB, free: 30.75 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.874e-05/0.3975, allocations: 156.9 kB / 0.5676 GB, free: 30.6 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.923e-05/0.3975, allocations: 151.6 kB / 0.5677 GB, free: 30.45 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.35e-05/0.3975, allocations: 151.2 kB / 0.5679 GB, free: 30.3 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002878/0.3978, allocations: 0.5331 MB / 0.5684 GB, free: 29.79 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.538e-05/0.3979, allocations: 172.8 kB / 0.5685 GB, free: 29.61 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.663e-05/0.3979, allocations: 84.08 kB / 0.5686 GB, free: 29.52 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.588e-05/0.3979, allocations: 76.22 kB / 0.5687 GB, free: 29.45 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.241e-05/0.398, allocations: 112.5 kB / 0.5688 GB, free: 29.33 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 1.042e-06/0.398, allocations: 1.062 kB / 0.5688 GB, free: 29.33 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 0.0001914/0.3982, allocations: 59.11 kB / 0.5689 GB, free: 29.28 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.564e-05/0.3982, allocations: 130.4 kB / 0.569 GB, free: 29.14 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004632/0.3987, allocations: 435.4 kB / 0.5694 GB, free: 28.93 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.134e-05/0.3987, allocations: 30.8 kB / 0.5694 GB, free: 28.9 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.631e-05/0.3988, allocations: 130.6 kB / 0.5695 GB, free: 28.79 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.096e-06/0.3988, allocations: 1.281 kB / 0.5695 GB, free: 28.79 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.863e-05/0.3989, allocations: 78.62 kB / 0.5696 GB, free: 28.75 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.827e-05/0.3989, allocations: 336.5 kB / 0.5699 GB, free: 28.43 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000117/0.3991, allocations: 99.16 kB / 0.57 GB, free: 28.39 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001653/0.3992, allocations: 163.3 kB / 0.5702 GB, free: 28.29 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003094/0.3996, allocations: 307.8 kB / 0.5705 GB, free: 28.14 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.3996, allocations: 0 / 0.5705 GB, free: 28.14 MB / 446.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0005245/0.4001, allocations: 326.3 kB / 0.5708 GB, free: 28 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.689e-05/0.4001, allocations: 8.25 kB / 0.5708 GB, free: 28 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.777e-06/0.4001, allocations: 5.906 kB / 0.5708 GB, free: 28 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.532e-05/0.4002, allocations: 3.125 kB / 0.5708 GB, free: 28 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.705e-06/0.4002, allocations: 1.125 kB / 0.5708 GB, free: 28 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.4002, allocations: 11.72 kB / 0.5708 GB, free: 27.99 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001488/0.4003, allocations: 45.16 kB / 0.5709 GB, free: 27.96 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.203e-05/0.4004, allocations: 4.781 kB / 0.5709 GB, free: 27.96 MB / 446.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.0001799/0.4005, allocations: 239.2 kB / 0.5711 GB, free: 27.76 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.419e-05/0.4006, allocations: 132.4 kB / 0.5712 GB, free: 27.63 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.552e-05/0.4006, allocations: 123.7 kB / 0.5713 GB, free: 27.5 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.553e-05/0.4007, allocations: 179.4 kB / 0.5715 GB, free: 27.32 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.688e-05/0.4007, allocations: 181.9 kB / 0.5717 GB, free: 27.14 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.666e-05/0.4007, allocations: 183 kB / 0.5719 GB, free: 26.96 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002134/0.401, allocations: 470.6 kB / 0.5723 GB, free: 26.5 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.694e-05/0.401, allocations: 106.6 kB / 0.5724 GB, free: 26.39 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.668e-05/0.401, allocations: 104 kB / 0.5725 GB, free: 26.28 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.728e-05/0.401, allocations: 185.9 kB / 0.5727 GB, free: 26.09 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.757e-05/0.4011, allocations: 183.1 kB / 0.5729 GB, free: 25.91 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.305e-05/0.4011, allocations: 179.7 kB / 0.573 GB, free: 25.73 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-05/0.4011, allocations: 182.1 kB / 0.5732 GB, free: 25.55 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.426e-05/0.4012, allocations: 332.7 kB / 0.5735 GB, free: 25.21 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.413e-05/0.4013, allocations: 198.6 kB / 0.5737 GB, free: 25 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.194e-05/0.4014, allocations: 185 kB / 0.5739 GB, free: 24.82 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001105/0.4015, allocations: 111.5 kB / 0.574 GB, free: 24.7 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.997e-05/0.4015, allocations: 178.9 kB / 0.5742 GB, free: 24.52 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.583e-05/0.4015, allocations: 110.7 kB / 0.5743 GB, free: 24.41 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002764/0.4018, allocations: 275.9 kB / 0.5745 GB, free: 24.29 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4018, allocations: 2 kB / 0.5745 GB, free: 24.29 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003975/0.4022, allocations: 79.67 kB / 0.5746 GB, free: 24.28 MB / 446.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.0003646/0.4026, allocations: 297.6 kB / 0.5749 GB, free: 24.08 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002122/0.4028, allocations: 162 kB / 0.5751 GB, free: 24.01 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.4028, allocations: 0.7188 kB / 0.5751 GB, free: 24.01 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.303e-06/0.4029, allocations: 4.875 kB / 0.5751 GB, free: 24 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003157/0.4032, allocations: 0.5321 MB / 0.5756 GB, free: 23.47 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006869/0.4039, allocations: 0.5706 MB / 0.5761 GB, free: 23.09 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002231/0.4041, allocations: 0.7733 MB / 0.5769 GB, free: 22.39 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.735e-05/0.4041, allocations: 11.91 kB / 0.5769 GB, free: 22.38 MB / 446.1 MB Notification: Performance of SimCode: time 2.51e-07/0.4041, allocations: 0 / 0.5769 GB, free: 22.38 MB / 446.1 MB Notification: Performance of Templates: time 0.005918/0.4101, allocations: 3.027 MB / 0.5799 GB, free: 22.12 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_med.makefile (rm -f IBPSA_latest_IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_med.sim & ./IBPSA_latest_IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_med -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe 2>&1)