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.001573/0.001573, allocations: 101.7 kB / 15.98 MB, free: 6.344 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.001809/0.001809, allocations: 195 kB / 16.91 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.348/1.348, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7642/0.7642, allocations: 122.9 MB / 413.6 MB, free: 72 kB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001358/0.001358, allocations: 55.91 kB / 0.4906 GB, free: 7.836 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3444/0.3457, allocations: 77.93 MB / 0.5667 GB, free: 32.67 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.002634/0.3484, allocations: 1.459 MB / 0.5681 GB, free: 31.66 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002713/0.3511, allocations: 2.64 MB / 0.5707 GB, free: 29.81 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.319e-05/0.3512, allocations: 1 kB / 0.5707 GB, free: 29.81 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001416/0.3526, allocations: 0.5648 MB / 0.5712 GB, free: 29.52 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.607e-05/0.3527, allocations: 20.02 kB / 0.5713 GB, free: 29.5 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 5e-06/0.3527, allocations: 1.5 kB / 0.5713 GB, free: 29.5 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002768/0.353, allocations: 158.1 kB / 0.5714 GB, free: 29.43 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.689e-05/0.3531, allocations: 34.05 kB / 0.5714 GB, free: 29.43 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.004e-05/0.3532, allocations: 59.45 kB / 0.5715 GB, free: 29.41 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000137/0.3533, allocations: 84 kB / 0.5716 GB, free: 29.37 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.436e-05/0.3533, allocations: 2.906 kB / 0.5716 GB, free: 29.37 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001127/0.3545, allocations: 493.8 kB / 0.5721 GB, free: 29.27 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.13e-05/0.3545, allocations: 33.03 kB / 0.5721 GB, free: 29.26 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001104/0.3546, allocations: 105 kB / 0.5722 GB, free: 29.2 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006623/0.3553, allocations: 389.1 kB / 0.5726 GB, free: 29.04 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.3553, allocations: 1.156 kB / 0.5726 GB, free: 29.04 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.365e-06/0.3553, allocations: 0.5156 kB / 0.5726 GB, free: 29.04 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.324e-06/0.3554, allocations: 0 / 0.5726 GB, free: 29.04 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.0007607/0.3561, allocations: 0.5451 MB / 0.5731 GB, free: 28.56 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.636e-05/0.3562, allocations: 13.28 kB / 0.5731 GB, free: 28.56 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001493/0.3563, allocations: 104.9 kB / 0.5732 GB, free: 28.47 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002174/0.3565, allocations: 303.5 kB / 0.5735 GB, free: 28.17 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.126e-05/0.3566, allocations: 157.4 kB / 0.5736 GB, free: 28.02 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.812e-05/0.3566, allocations: 155.3 kB / 0.5738 GB, free: 27.87 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.26e-05/0.3567, allocations: 103 kB / 0.5739 GB, free: 27.76 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.662e-05/0.3567, allocations: 77.59 kB / 0.574 GB, free: 27.69 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.909e-05/0.3567, allocations: 155.2 kB / 0.5741 GB, free: 27.54 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.419e-05/0.3568, allocations: 151.8 kB / 0.5743 GB, free: 27.39 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.641e-05/0.3568, allocations: 156.4 kB / 0.5744 GB, free: 27.23 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002957/0.3571, allocations: 0.5332 MB / 0.5749 GB, free: 26.71 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.985e-05/0.3571, allocations: 166.8 kB / 0.5751 GB, free: 26.54 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.13e-05/0.3572, allocations: 86.3 kB / 0.5752 GB, free: 26.46 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.255e-05/0.3572, allocations: 76.53 kB / 0.5752 GB, free: 26.38 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.186e-05/0.3572, allocations: 116.2 kB / 0.5754 GB, free: 26.27 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 1.423e-06/0.3572, allocations: 0 / 0.5754 GB, free: 26.27 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 0.0001777/0.3574, allocations: 61.7 kB / 0.5754 GB, free: 26.21 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.167e-05/0.3574, allocations: 131.7 kB / 0.5755 GB, free: 26.07 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004728/0.3579, allocations: 426.1 kB / 0.5759 GB, free: 25.87 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.18e-05/0.3579, allocations: 30.83 kB / 0.576 GB, free: 25.84 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.047e-05/0.358, allocations: 140 kB / 0.5761 GB, free: 25.71 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.116e-06/0.358, allocations: 0 / 0.5761 GB, free: 25.71 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.096e-05/0.3581, allocations: 91.08 kB / 0.5762 GB, free: 25.68 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.499e-05/0.3582, allocations: 337.8 kB / 0.5765 GB, free: 25.35 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000125/0.3583, allocations: 94.08 kB / 0.5766 GB, free: 25.32 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001694/0.3585, allocations: 176.3 kB / 0.5768 GB, free: 25.21 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003475/0.3589, allocations: 298.8 kB / 0.5771 GB, free: 25.06 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.3589, allocations: 1.062 kB / 0.5771 GB, free: 25.06 MB / 446.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0005268/0.3594, allocations: 334.1 kB / 0.5774 GB, free: 24.92 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.81e-05/0.3594, allocations: 7.641 kB / 0.5774 GB, free: 24.92 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.206e-06/0.3595, allocations: 5.438 kB / 0.5774 GB, free: 24.91 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.206e-05/0.3595, allocations: 3.75 kB / 0.5774 GB, free: 24.91 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.685e-06/0.3595, allocations: 3.75 kB / 0.5774 GB, free: 24.91 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.012e-05/0.3595, allocations: 2.984 kB / 0.5774 GB, free: 24.91 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001549/0.3597, allocations: 41.42 kB / 0.5774 GB, free: 24.88 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.363e-05/0.3597, allocations: 3.844 kB / 0.5774 GB, free: 24.88 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.000261/0.36, allocations: 250.4 kB / 0.5777 GB, free: 24.68 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.635e-05/0.36, allocations: 124.5 kB / 0.5778 GB, free: 24.55 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.001e-05/0.3601, allocations: 122.7 kB / 0.5779 GB, free: 24.43 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.043e-05/0.3601, allocations: 181.9 kB / 0.5781 GB, free: 24.25 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.077e-05/0.3601, allocations: 182.1 kB / 0.5783 GB, free: 24.06 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.713e-05/0.3602, allocations: 182.3 kB / 0.5784 GB, free: 23.88 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000241/0.3604, allocations: 471 kB / 0.5789 GB, free: 23.42 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.862e-05/0.3604, allocations: 105.7 kB / 0.579 GB, free: 23.31 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.751e-05/0.3605, allocations: 107.7 kB / 0.5791 GB, free: 23.2 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.155e-05/0.3605, allocations: 179.1 kB / 0.5793 GB, free: 23.02 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.608e-05/0.3605, allocations: 186.1 kB / 0.5794 GB, free: 22.83 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.817e-05/0.3606, allocations: 184.2 kB / 0.5796 GB, free: 22.65 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.565e-05/0.3606, allocations: 178.4 kB / 0.5798 GB, free: 22.47 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.337e-05/0.3607, allocations: 328.1 kB / 0.5801 GB, free: 22.14 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.39e-05/0.3608, allocations: 209.7 kB / 0.5803 GB, free: 21.92 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.942e-05/0.3609, allocations: 182.2 kB / 0.5805 GB, free: 21.73 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001165/0.361, allocations: 107.2 kB / 0.5806 GB, free: 21.62 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.093e-05/0.361, allocations: 186.5 kB / 0.5808 GB, free: 21.44 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.679e-05/0.3611, allocations: 106.3 kB / 0.5809 GB, free: 21.33 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002833/0.3613, allocations: 275.8 kB / 0.5811 GB, free: 21.21 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3613, allocations: 0 / 0.5811 GB, free: 21.21 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004034/0.3618, allocations: 78.34 kB / 0.5812 GB, free: 21.2 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.000375/0.3621, allocations: 293.3 kB / 0.5815 GB, free: 21 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002286/0.3624, allocations: 170.3 kB / 0.5816 GB, free: 20.93 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.055e-06/0.3624, allocations: 1.156 kB / 0.5816 GB, free: 20.93 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.303e-06/0.3624, allocations: 0 / 0.5816 GB, free: 20.93 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003391/0.3627, allocations: 469.4 kB / 0.5821 GB, free: 20.46 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006323/0.3634, allocations: 0.541 MB / 0.5826 GB, free: 20.11 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002208/0.3636, allocations: 0.7775 MB / 0.5834 GB, free: 19.41 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.348e-05/0.3636, allocations: 5.969 kB / 0.5834 GB, free: 19.4 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.752e-05/0.3637, allocations: 10.25 kB / 0.5834 GB, free: 19.39 MB / 446.1 MB Notification: Performance of SimCode: time 2.11e-07/0.3637, allocations: 0 / 0.5834 GB, free: 19.39 MB / 446.1 MB Notification: Performance of Templates: time 0.006418/0.3701, allocations: 2.901 MB / 0.5862 GB, free: 18.64 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)