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.001438/0.001438, allocations: 106.5 kB / 16.52 MB, free: 6.656 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.001657/0.001657, allocations: 198.7 kB / 17.44 MB, free: 6.047 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.394/1.394, allocations: 222.9 MB / 241.1 MB, free: 15.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.706/0.706, allocations: 115.3 MB / 406.6 MB, free: 6.434 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001428/0.001428, allocations: 55.91 kB / 493.6 MB, free: 0.8438 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3659/0.3673, allocations: 76.18 MB / 0.5564 GB, free: 36.35 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.002558/0.3699, allocations: 1.464 MB / 0.5578 GB, free: 35.35 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00263/0.3726, allocations: 2.647 MB / 0.5604 GB, free: 33.5 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.305e-05/0.3726, allocations: 1.344 kB / 0.5604 GB, free: 33.5 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00145/0.3741, allocations: 0.5545 MB / 0.5609 GB, free: 33.2 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.986e-05/0.3742, allocations: 20.66 kB / 0.561 GB, free: 33.19 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.567e-06/0.3742, allocations: 0 / 0.561 GB, free: 33.19 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002352/0.3744, allocations: 173.4 kB / 0.5611 GB, free: 33.11 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.305e-05/0.3745, allocations: 35.86 kB / 0.5612 GB, free: 33.11 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.703e-05/0.3746, allocations: 55.61 kB / 0.5612 GB, free: 33.09 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001203/0.3747, allocations: 83.67 kB / 0.5613 GB, free: 33.05 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.492e-05/0.3747, allocations: 2.438 kB / 0.5613 GB, free: 33.05 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001133/0.3759, allocations: 493.4 kB / 0.5618 GB, free: 32.95 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.801e-05/0.376, allocations: 33.47 kB / 0.5618 GB, free: 32.94 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001076/0.3761, allocations: 96.19 kB / 0.5619 GB, free: 32.89 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003693/0.3764, allocations: 284.8 kB / 0.5622 GB, free: 32.76 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.96e-06/0.3765, allocations: 0.7031 kB / 0.5622 GB, free: 32.76 MB / 446.1 MB Notification: Performance of FrontEnd: time 8.62e-07/0.3765, allocations: 2.406 kB / 0.5622 GB, free: 32.76 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.418e-06/0.3765, allocations: 0 / 0.5622 GB, free: 32.76 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.0007318/0.3772, allocations: 0.5499 MB / 0.5627 GB, free: 32.28 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.633e-05/0.3773, allocations: 11.03 kB / 0.5627 GB, free: 32.28 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001444/0.3774, allocations: 105.1 kB / 0.5628 GB, free: 32.19 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001934/0.3776, allocations: 307.9 kB / 0.5631 GB, free: 31.89 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.798e-05/0.3777, allocations: 157.4 kB / 0.5633 GB, free: 31.73 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.839e-05/0.3777, allocations: 154.1 kB / 0.5634 GB, free: 31.59 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.232e-05/0.3777, allocations: 104.3 kB / 0.5635 GB, free: 31.48 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.607e-05/0.3778, allocations: 75.47 kB / 0.5636 GB, free: 31.41 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.534e-05/0.3778, allocations: 159 kB / 0.5637 GB, free: 31.25 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.059e-05/0.3778, allocations: 153.4 kB / 0.5639 GB, free: 31.1 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.457e-05/0.3778, allocations: 155.2 kB / 0.564 GB, free: 30.95 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002996/0.3781, allocations: 0.5293 MB / 0.5645 GB, free: 30.43 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.688e-05/0.3782, allocations: 171.1 kB / 0.5647 GB, free: 30.26 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.725e-05/0.3782, allocations: 82.17 kB / 0.5648 GB, free: 30.18 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.33e-05/0.3782, allocations: 77.67 kB / 0.5648 GB, free: 30.1 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.08e-05/0.3783, allocations: 110.9 kB / 0.565 GB, free: 29.98 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 8.01e-07/0.3783, allocations: 0 / 0.565 GB, free: 29.98 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 0.0001609/0.3784, allocations: 55.75 kB / 0.565 GB, free: 29.94 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.996e-05/0.3785, allocations: 129.1 kB / 0.5651 GB, free: 29.8 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004561/0.3789, allocations: 433.2 kB / 0.5655 GB, free: 29.59 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.033e-05/0.379, allocations: 31.2 kB / 0.5656 GB, free: 29.56 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.779e-05/0.379, allocations: 129.6 kB / 0.5657 GB, free: 29.45 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.937e-06/0.379, allocations: 3.25 kB / 0.5657 GB, free: 29.45 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.792e-05/0.3792, allocations: 92.45 kB / 0.5658 GB, free: 29.4 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.284e-05/0.3792, allocations: 340.3 kB / 0.5661 GB, free: 29.08 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001249/0.3794, allocations: 102.2 kB / 0.5662 GB, free: 29.04 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001621/0.3795, allocations: 165.7 kB / 0.5664 GB, free: 28.94 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003036/0.3798, allocations: 306.8 kB / 0.5667 GB, free: 28.79 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.3799, allocations: 0 / 0.5667 GB, free: 28.79 MB / 446.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0005081/0.3804, allocations: 331.7 kB / 0.567 GB, free: 28.65 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/0.3804, allocations: 5.844 kB / 0.567 GB, free: 28.65 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.036e-05/0.3804, allocations: 7.531 kB / 0.567 GB, free: 28.64 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.64e-05/0.3804, allocations: 2.438 kB / 0.567 GB, free: 28.64 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.763e-06/0.3804, allocations: 2.312 kB / 0.567 GB, free: 28.64 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.975e-06/0.3805, allocations: 3.141 kB / 0.567 GB, free: 28.64 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001703/0.3806, allocations: 45.3 kB / 0.567 GB, free: 28.61 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.214e-05/0.3806, allocations: 4.844 kB / 0.567 GB, free: 28.61 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.000219/0.3809, allocations: 244.8 kB / 0.5673 GB, free: 28.41 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.215e-05/0.3809, allocations: 121.9 kB / 0.5674 GB, free: 28.29 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.966e-05/0.381, allocations: 125.3 kB / 0.5675 GB, free: 28.16 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.402e-05/0.381, allocations: 181.9 kB / 0.5677 GB, free: 27.98 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.663e-05/0.381, allocations: 180 kB / 0.5679 GB, free: 27.8 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.632e-05/0.3811, allocations: 181.9 kB / 0.568 GB, free: 27.61 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000218/0.3813, allocations: 477.9 kB / 0.5685 GB, free: 27.15 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.465e-05/0.3813, allocations: 111.8 kB / 0.5686 GB, free: 27.04 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.244e-05/0.3813, allocations: 102.9 kB / 0.5687 GB, free: 26.93 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.388e-05/0.3814, allocations: 178.2 kB / 0.5689 GB, free: 26.75 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.636e-05/0.3814, allocations: 187.3 kB / 0.569 GB, free: 26.56 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.267e-05/0.3814, allocations: 177.7 kB / 0.5692 GB, free: 26.38 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.663e-05/0.3815, allocations: 187.6 kB / 0.5694 GB, free: 26.2 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.768e-05/0.3815, allocations: 324.7 kB / 0.5697 GB, free: 25.87 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.212e-05/0.3816, allocations: 203.6 kB / 0.5699 GB, free: 25.65 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.924e-05/0.3817, allocations: 191.2 kB / 0.5701 GB, free: 25.46 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001101/0.3818, allocations: 107.5 kB / 0.5702 GB, free: 25.35 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.396e-05/0.3818, allocations: 178.7 kB / 0.5704 GB, free: 25.17 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.405e-05/0.3818, allocations: 103.5 kB / 0.5704 GB, free: 25.07 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002717/0.3821, allocations: 280.2 kB / 0.5707 GB, free: 24.94 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.3821, allocations: 1.5 kB / 0.5707 GB, free: 24.94 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000422/0.3826, allocations: 78.97 kB / 0.5708 GB, free: 24.93 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.0003504/0.3829, allocations: 310.3 kB / 0.5711 GB, free: 24.72 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002368/0.3832, allocations: 162.7 kB / 0.5712 GB, free: 24.65 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.806e-06/0.3832, allocations: 0 / 0.5712 GB, free: 24.65 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.423e-06/0.3832, allocations: 0 / 0.5712 GB, free: 24.65 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003339/0.3835, allocations: 0.5342 MB / 0.5718 GB, free: 24.12 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006241/0.3841, allocations: 0.5508 MB / 0.5723 GB, free: 23.74 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002101/0.3844, allocations: 0.7743 MB / 0.5731 GB, free: 23.04 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.833e-05/0.3844, allocations: 9.781 kB / 0.5731 GB, free: 23.03 MB / 446.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3844, allocations: 0 / 0.5731 GB, free: 23.03 MB / 446.1 MB Notification: Performance of Templates: time 0.006015/0.3904, allocations: 3.043 MB / 0.576 GB, free: 22.74 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)