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.001217/0.001217, allocations: 101.2 kB / 16.27 MB, free: 5.992 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.001444/0.001444, allocations: 181.1 kB / 17.19 MB, free: 5.609 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.344/1.344, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7651/0.7651, allocations: 122.9 MB / 413.9 MB, free: 15.86 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001399/0.001399, allocations: 63.91 kB / 0.4911 GB, free: 7.477 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4273/0.4288, allocations: 77.92 MB / 0.5672 GB, free: 32.82 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.002484/0.4313, allocations: 1.404 MB / 0.5686 GB, free: 31.85 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002623/0.4339, allocations: 2.67 MB / 0.5712 GB, free: 29.97 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.217e-05/0.434, allocations: 1.125 kB / 0.5712 GB, free: 29.97 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001394/0.4354, allocations: 0.5844 MB / 0.5717 GB, free: 29.66 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.946e-05/0.4355, allocations: 21.88 kB / 0.5718 GB, free: 29.65 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.067e-06/0.4355, allocations: 0 / 0.5718 GB, free: 29.65 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.000218/0.4357, allocations: 157.5 kB / 0.5719 GB, free: 29.58 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.195e-05/0.4358, allocations: 33.03 kB / 0.5719 GB, free: 29.57 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.223e-05/0.4358, allocations: 59.38 kB / 0.572 GB, free: 29.55 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001231/0.436, allocations: 81.33 kB / 0.5721 GB, free: 29.52 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.412e-05/0.436, allocations: 4.219 kB / 0.5721 GB, free: 29.52 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001017/0.437, allocations: 465.3 kB / 0.5725 GB, free: 29.42 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.637e-05/0.4371, allocations: 37.59 kB / 0.5726 GB, free: 29.4 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 9.4e-05/0.4372, allocations: 102.2 kB / 0.5727 GB, free: 29.35 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005928/0.4378, allocations: 438.2 kB / 0.5731 GB, free: 29.16 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.4378, allocations: 0 / 0.5731 GB, free: 29.16 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.4378, allocations: 0.5 kB / 0.5731 GB, free: 29.16 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.613e-06/0.4378, allocations: 0 / 0.5731 GB, free: 29.16 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.0006337/0.4385, allocations: 0.5433 MB / 0.5736 GB, free: 28.69 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.69e-05/0.4385, allocations: 11.94 kB / 0.5736 GB, free: 28.69 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001394/0.4386, allocations: 104.3 kB / 0.5737 GB, free: 28.6 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001724/0.4388, allocations: 304.1 kB / 0.574 GB, free: 28.3 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.472e-05/0.4389, allocations: 158 kB / 0.5742 GB, free: 28.14 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.719e-05/0.4389, allocations: 157.6 kB / 0.5743 GB, free: 27.99 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 3.881e-05/0.4389, allocations: 108 kB / 0.5744 GB, free: 27.88 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.46e-05/0.439, allocations: 76.22 kB / 0.5745 GB, free: 27.81 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.515e-05/0.439, allocations: 156.6 kB / 0.5746 GB, free: 27.66 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.282e-05/0.439, allocations: 151.5 kB / 0.5748 GB, free: 27.51 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.465e-05/0.439, allocations: 151.2 kB / 0.5749 GB, free: 27.36 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002816/0.4393, allocations: 0.5327 MB / 0.5754 GB, free: 26.84 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.144e-05/0.4394, allocations: 173 kB / 0.5756 GB, free: 26.66 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.017e-05/0.4394, allocations: 86.05 kB / 0.5757 GB, free: 26.58 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.155e-05/0.4394, allocations: 79.22 kB / 0.5758 GB, free: 26.5 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.257e-05/0.4395, allocations: 112.3 kB / 0.5759 GB, free: 26.38 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 1.022e-06/0.4395, allocations: 1.844 kB / 0.5759 GB, free: 26.38 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 0.0001577/0.4396, allocations: 62.47 kB / 0.5759 GB, free: 26.33 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.195e-05/0.4397, allocations: 128.7 kB / 0.5761 GB, free: 26.19 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000427/0.4401, allocations: 427.6 kB / 0.5765 GB, free: 25.98 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.363e-06/0.4401, allocations: 28.67 kB / 0.5765 GB, free: 25.95 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.235e-05/0.4402, allocations: 130.2 kB / 0.5766 GB, free: 25.84 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.505e-06/0.4402, allocations: 1.594 kB / 0.5766 GB, free: 25.84 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.539e-05/0.4403, allocations: 93.47 kB / 0.5767 GB, free: 25.8 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.106e-05/0.4404, allocations: 336.1 kB / 0.577 GB, free: 25.48 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001221/0.4405, allocations: 99.92 kB / 0.5771 GB, free: 25.44 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001418/0.4406, allocations: 163 kB / 0.5773 GB, free: 25.34 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002833/0.4409, allocations: 307.3 kB / 0.5776 GB, free: 25.19 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.4409, allocations: 1.812 kB / 0.5776 GB, free: 25.19 MB / 446.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0004738/0.4414, allocations: 330.4 kB / 0.5779 GB, free: 25.05 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/0.4414, allocations: 7.156 kB / 0.5779 GB, free: 25.05 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.764e-06/0.4414, allocations: 5.281 kB / 0.5779 GB, free: 25.04 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.531e-05/0.4415, allocations: 6.812 kB / 0.5779 GB, free: 25.04 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.144e-06/0.4415, allocations: 5.219 kB / 0.5779 GB, free: 25.04 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.4415, allocations: 2.875 kB / 0.5779 GB, free: 25.04 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001377/0.4416, allocations: 49.89 kB / 0.578 GB, free: 25 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.026e-05/0.4416, allocations: 3.906 kB / 0.578 GB, free: 25 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.0001824/0.4418, allocations: 237.9 kB / 0.5782 GB, free: 24.8 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.191e-05/0.4419, allocations: 134.6 kB / 0.5783 GB, free: 24.68 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.065e-05/0.4419, allocations: 116.6 kB / 0.5784 GB, free: 24.55 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.393e-05/0.442, allocations: 178.2 kB / 0.5786 GB, free: 24.38 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.497e-05/0.442, allocations: 183.9 kB / 0.5788 GB, free: 24.19 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.424e-05/0.442, allocations: 182.3 kB / 0.5789 GB, free: 24.01 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002044/0.4422, allocations: 473.4 kB / 0.5794 GB, free: 23.54 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.105e-05/0.4422, allocations: 102.6 kB / 0.5795 GB, free: 23.44 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.501e-05/0.4423, allocations: 104.1 kB / 0.5796 GB, free: 23.33 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.219e-05/0.4423, allocations: 186 kB / 0.5798 GB, free: 23.14 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.473e-05/0.4423, allocations: 181.9 kB / 0.5799 GB, free: 22.96 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.229e-05/0.4424, allocations: 184.5 kB / 0.5801 GB, free: 22.78 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.278e-05/0.4424, allocations: 178.1 kB / 0.5803 GB, free: 22.6 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.386e-05/0.4425, allocations: 332.6 kB / 0.5806 GB, free: 22.26 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.517e-05/0.4425, allocations: 199.4 kB / 0.5808 GB, free: 22.05 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.409e-05/0.4426, allocations: 188 kB / 0.581 GB, free: 21.86 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001067/0.4427, allocations: 104.9 kB / 0.5811 GB, free: 21.76 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.666e-05/0.4427, allocations: 185.5 kB / 0.5813 GB, free: 21.57 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.464e-05/0.4428, allocations: 106.7 kB / 0.5814 GB, free: 21.46 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002416/0.443, allocations: 282.1 kB / 0.5816 GB, free: 21.34 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.443, allocations: 0 / 0.5816 GB, free: 21.34 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003988/0.4434, allocations: 83.03 kB / 0.5817 GB, free: 21.33 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.0003278/0.4437, allocations: 304 kB / 0.582 GB, free: 21.13 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002187/0.444, allocations: 165.4 kB / 0.5822 GB, free: 21.05 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.444, allocations: 2.25 kB / 0.5822 GB, free: 21.05 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.675e-06/0.444, allocations: 4.594 kB / 0.5822 GB, free: 21.05 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003058/0.4443, allocations: 460.1 kB / 0.5826 GB, free: 20.6 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005441/0.4449, allocations: 0.4995 MB / 0.5831 GB, free: 20.29 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002186/0.4451, allocations: 0.7808 MB / 0.5839 GB, free: 19.58 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.462e-05/0.4451, allocations: 3.453 kB / 0.5839 GB, free: 19.58 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.57e-05/0.4451, allocations: 8.812 kB / 0.5839 GB, free: 19.57 MB / 446.1 MB Notification: Performance of SimCode: time 3e-07/0.4451, allocations: 2.281 kB / 0.5839 GB, free: 19.57 MB / 446.1 MB Notification: Performance of Templates: time 0.006637/0.4518, allocations: 3.065 MB / 0.5869 GB, free: 18.6 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)