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.005356/0.005356, allocations: 107.3 kB / 15.74 MB, free: 6.039 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.001436/0.001437, allocations: 195.2 kB / 16.67 MB, free: 5.973 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.318/1.318, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002127/0.002127, allocations: 282.6 kB / 290.8 MB, free: 1.918 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.941/0.941, allocations: 169.3 MB / 0.4983 GB, free: 13.81 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001776/0.001776, allocations: 96.23 kB / 0.6814 GB, free: 15.49 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.162/0.1638, allocations: 86.98 MB / 0.7664 GB, free: 8.438 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.002575/0.1664, allocations: 1.41 MB / 0.7677 GB, free: 7.016 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003192/0.1696, allocations: 2.659 MB / 0.7703 GB, free: 4.348 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.797e-05/0.1697, allocations: 0 / 0.7703 GB, free: 4.348 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001765/0.1715, allocations: 0.5906 MB / 0.7709 GB, free: 3.754 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 7.575e-05/0.1716, allocations: 23.78 kB / 0.7709 GB, free: 3.73 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 5.239e-06/0.1716, allocations: 7.938 kB / 0.7709 GB, free: 3.723 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002304/0.1718, allocations: 155 kB / 0.7711 GB, free: 3.57 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 6.913e-05/0.1719, allocations: 36.33 kB / 0.7711 GB, free: 3.535 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 8.383e-05/0.172, allocations: 63.72 kB / 0.7712 GB, free: 3.473 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001357/0.1721, allocations: 83.58 kB / 0.7713 GB, free: 3.391 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.45e-05/0.1722, allocations: 4 kB / 0.7713 GB, free: 3.387 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001131/0.1733, allocations: 463.3 kB / 0.7717 GB, free: 2.934 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 5.814e-05/0.1734, allocations: 35.83 kB / 0.7717 GB, free: 2.898 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001014/0.1735, allocations: 103.4 kB / 0.7718 GB, free: 2.797 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0007012/0.1742, allocations: 438.3 kB / 0.7723 GB, free: 2.367 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.1742, allocations: 0 / 0.7723 GB, free: 2.367 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.733e-06/0.1742, allocations: 0 / 0.7723 GB, free: 2.367 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.953e-06/0.1742, allocations: 0 / 0.7723 GB, free: 2.367 MB / 0.5606 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.0007642/0.175, allocations: 0.5528 MB / 0.7728 GB, free: 1.762 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.733e-05/0.175, allocations: 12.03 kB / 0.7728 GB, free: 1.75 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001766/0.1752, allocations: 107.8 kB / 0.7729 GB, free: 1.645 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002436/0.1755, allocations: 306.3 kB / 0.7732 GB, free: 1.309 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.995e-05/0.1755, allocations: 154.9 kB / 0.7734 GB, free: 1.156 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.299e-05/0.1756, allocations: 158.9 kB / 0.7735 GB, free: 1 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.712e-05/0.1757, allocations: 101.5 kB / 0.7736 GB, free: 0.8945 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.769e-05/0.1757, allocations: 79.47 kB / 0.7737 GB, free: 0.8164 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.468e-05/0.1757, allocations: 154.5 kB / 0.7738 GB, free: 0.6641 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.606e-05/0.1758, allocations: 150.6 kB / 0.774 GB, free: 0.5156 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.673e-05/0.1758, allocations: 154.5 kB / 0.7741 GB, free: 372 kB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3289/0.5048, allocations: 0.5282 MB / 0.7746 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 6.272e-05/0.5049, allocations: 170.7 kB / 0.7748 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.218e-05/0.5049, allocations: 81.64 kB / 0.7749 GB, free: 15.06 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.418e-05/0.5049, allocations: 77.25 kB / 0.7749 GB, free: 14.99 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.674e-05/0.5049, allocations: 110.5 kB / 0.7751 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=0): time 1.583e-06/0.505, allocations: 0 / 0.7751 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of matching and sorting (n=0): time 0.0002651/0.5052, allocations: 59.67 kB / 0.7751 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.561e-05/0.5053, allocations: 131.7 kB / 0.7752 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006502/0.5059, allocations: 432.6 kB / 0.7757 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.143e-05/0.506, allocations: 30.59 kB / 0.7757 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 9.168e-05/0.5061, allocations: 131.3 kB / 0.7758 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.248e-06/0.5061, allocations: 0 / 0.7758 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001336/0.5062, allocations: 89.38 kB / 0.7759 GB, free: 14.44 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 7.842e-05/0.5063, allocations: 342.5 kB / 0.7762 GB, free: 14.13 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000169/0.5065, allocations: 95.41 kB / 0.7763 GB, free: 14.13 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001903/0.5067, allocations: 168.4 kB / 0.7765 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003611/0.507, allocations: 304.9 kB / 0.7768 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.998e-06/0.507, allocations: 1.031 kB / 0.7768 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0006082/0.5077, allocations: 325.6 kB / 0.7771 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.949e-05/0.5077, allocations: 6.156 kB / 0.7771 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.005e-05/0.5077, allocations: 2.5 kB / 0.7771 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.965e-05/0.5077, allocations: 4.312 kB / 0.7771 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.929e-06/0.5077, allocations: 2.578 kB / 0.7771 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.347e-06/0.5078, allocations: 11.23 kB / 0.7771 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001901/0.5079, allocations: 46.41 kB / 0.7771 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.197e-05/0.508, allocations: 7.844 kB / 0.7771 GB, free: 13.93 MB / 0.5606 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.0002237/0.5082, allocations: 241.1 kB / 0.7774 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.609e-05/0.5083, allocations: 128.2 kB / 0.7775 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.319e-05/0.5083, allocations: 122.3 kB / 0.7776 GB, free: 13.51 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.45e-05/0.5083, allocations: 177.1 kB / 0.7778 GB, free: 13.33 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.698e-05/0.5084, allocations: 186.6 kB / 0.778 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.639e-05/0.5084, allocations: 182 kB / 0.7781 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002563/0.5087, allocations: 481.5 kB / 0.7786 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.624e-05/0.5087, allocations: 104.8 kB / 0.7787 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.706e-05/0.5087, allocations: 102.6 kB / 0.7788 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.188e-05/0.5088, allocations: 186.1 kB / 0.779 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.732e-05/0.5088, allocations: 181.1 kB / 0.7791 GB, free: 11.94 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.683e-05/0.5088, allocations: 181.9 kB / 0.7793 GB, free: 11.76 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.017e-05/0.5089, allocations: 182 kB / 0.7795 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.146e-05/0.509, allocations: 323.3 kB / 0.7798 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 7.787e-05/0.509, allocations: 206.7 kB / 0.78 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.117e-05/0.5091, allocations: 186.7 kB / 0.7802 GB, free: 10.85 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000109/0.5092, allocations: 105.8 kB / 0.7803 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.394e-05/0.5093, allocations: 181 kB / 0.7804 GB, free: 10.56 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.522e-05/0.5093, allocations: 107.5 kB / 0.7806 GB, free: 10.45 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002919/0.5096, allocations: 281.9 kB / 0.7808 GB, free: 10.33 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5096, allocations: 4.016 kB / 0.7808 GB, free: 10.33 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004265/0.51, allocations: 83.34 kB / 0.7809 GB, free: 10.33 MB / 0.5606 GB 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.0003975/0.5104, allocations: 305.1 kB / 0.7812 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002463/0.5107, allocations: 163.1 kB / 0.7813 GB, free: 10.09 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.5107, allocations: 0 / 0.7813 GB, free: 10.09 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 1.934e-06/0.5107, allocations: 0.75 kB / 0.7813 GB, free: 10.09 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003114/0.511, allocations: 470.6 kB / 0.7818 GB, free: 9.629 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006575/0.5117, allocations: 499.3 kB / 0.7823 GB, free: 9.328 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002353/0.5119, allocations: 0.778 MB / 0.783 GB, free: 8.621 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 1.785e-05/0.5119, allocations: 3.547 kB / 0.783 GB, free: 8.621 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.944e-05/0.512, allocations: 8.844 kB / 0.783 GB, free: 8.613 MB / 0.5606 GB Notification: Performance of SimCode: time 5.01e-07/0.512, allocations: 0 / 0.783 GB, free: 8.613 MB / 0.5606 GB Notification: Performance of Templates: time 0.007039/0.519, allocations: 3.075 MB / 0.786 GB, free: 8.328 MB / 0.5606 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)