Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low.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_low,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low") translateModel(BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007464/0.007464, allocations: 104.7 kB / 15.74 MB, free: 6.484 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.00136/0.001361, allocations: 193.5 kB / 16.67 MB, free: 6.375 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.372/1.372, allocations: 222.9 MB / 240.4 MB, free: 4.289 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002039/0.002039, allocations: 283.1 kB / 290.8 MB, free: 1.895 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9606/0.9606, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001712/0.001712, allocations: 95.84 kB / 0.6814 GB, free: 15.5 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1598/0.1616, allocations: 86.98 MB / 0.7664 GB, free: 8.449 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.00228/0.1639, allocations: 1.395 MB / 0.7677 GB, free: 7.039 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002184/0.1661, allocations: 1.932 MB / 0.7696 GB, free: 5.102 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.052e-05/0.1661, allocations: 0 / 0.7696 GB, free: 5.102 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0009234/0.1671, allocations: 381.9 kB / 0.77 GB, free: 4.727 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.248e-05/0.1671, allocations: 23.84 kB / 0.77 GB, free: 4.703 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 4.689e-06/0.1671, allocations: 0 / 0.77 GB, free: 4.703 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002357/0.1674, allocations: 127.2 kB / 0.7701 GB, free: 4.578 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 5.545e-05/0.1674, allocations: 17.5 kB / 0.7701 GB, free: 4.559 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 5.766e-05/0.1675, allocations: 47.8 kB / 0.7702 GB, free: 4.512 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001139/0.1676, allocations: 63.7 kB / 0.7702 GB, free: 4.449 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.703e-05/0.1676, allocations: 4 kB / 0.7703 GB, free: 4.445 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004569/0.1681, allocations: 179.9 kB / 0.7704 GB, free: 4.27 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 5.132e-05/0.1682, allocations: 35.83 kB / 0.7705 GB, free: 4.234 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 9.043e-05/0.1683, allocations: 75.55 kB / 0.7705 GB, free: 4.16 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0004297/0.1687, allocations: 286.9 kB / 0.7708 GB, free: 3.879 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.1687, allocations: 4 kB / 0.7708 GB, free: 3.875 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.613e-06/0.1687, allocations: 0 / 0.7708 GB, free: 3.875 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.123e-05/0.1687, allocations: 4 kB / 0.7708 GB, free: 3.871 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.00069/0.1694, allocations: 494.5 kB / 0.7713 GB, free: 3.34 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.536e-05/0.1695, allocations: 12.03 kB / 0.7713 GB, free: 3.328 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001654/0.1696, allocations: 96.02 kB / 0.7714 GB, free: 3.234 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002333/0.1699, allocations: 291.3 kB / 0.7717 GB, free: 2.91 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.988e-05/0.17, allocations: 154.9 kB / 0.7718 GB, free: 2.758 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.676e-05/0.17, allocations: 162.9 kB / 0.772 GB, free: 2.598 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.89e-05/0.1701, allocations: 105.1 kB / 0.7721 GB, free: 2.488 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.974e-05/0.1701, allocations: 79.22 kB / 0.7721 GB, free: 2.41 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.905e-05/0.1702, allocations: 150.6 kB / 0.7723 GB, free: 2.262 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.998e-05/0.1702, allocations: 154.6 kB / 0.7724 GB, free: 2.109 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.674e-05/0.1703, allocations: 150.6 kB / 0.7726 GB, free: 1.961 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003332/0.1706, allocations: 0.5017 MB / 0.7731 GB, free: 1.41 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 7.541e-05/0.1707, allocations: 165.1 kB / 0.7732 GB, free: 1.238 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.084e-05/0.1708, allocations: 96.02 kB / 0.7733 GB, free: 1.141 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.099e-05/0.1708, allocations: 75.28 kB / 0.7734 GB, free: 1.066 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.892e-05/0.1708, allocations: 113.8 kB / 0.7735 GB, free: 0.9453 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=0): time 2.154e-06/0.1709, allocations: 3.984 kB / 0.7735 GB, free: 0.9414 MB / 0.5606 GB Notification: Performance of matching and sorting (n=0): time 0.0001693/0.171, allocations: 49.56 kB / 0.7735 GB, free: 0.8867 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.193e-05/0.1711, allocations: 126.7 kB / 0.7737 GB, free: 0.75 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003278/0.1714, allocations: 322.3 kB / 0.774 GB, free: 440 kB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.527e-05/0.1715, allocations: 29.64 kB / 0.774 GB, free: 404 kB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 9.222e-05/0.1716, allocations: 124.3 kB / 0.7741 GB, free: 276 kB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.756e-06/0.1716, allocations: 0 / 0.7741 GB, free: 276 kB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.148e-05/0.1716, allocations: 61.69 kB / 0.7742 GB, free: 208 kB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.3297/0.5013, allocations: 326.8 kB / 0.7745 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000172/0.5015, allocations: 60.53 kB / 0.7746 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001449/0.5017, allocations: 117 kB / 0.7747 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000311/0.502, allocations: 211.4 kB / 0.7749 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/0.502, allocations: 0.7812 kB / 0.7749 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005417/0.5026, allocations: 232.2 kB / 0.7751 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.147e-05/0.5026, allocations: 6.938 kB / 0.7751 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.917e-06/0.5026, allocations: 2.438 kB / 0.7751 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.733e-05/0.5026, allocations: 2.219 kB / 0.7751 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.45e-06/0.5026, allocations: 3.391 kB / 0.7751 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.979e-06/0.5027, allocations: 9.344 kB / 0.7751 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001461/0.5028, allocations: 29.36 kB / 0.7751 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.437e-05/0.5028, allocations: 5.641 kB / 0.7751 GB, free: 15.04 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.0001947/0.503, allocations: 227.3 kB / 0.7754 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.278e-05/0.5031, allocations: 116.8 kB / 0.7755 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.153e-05/0.5031, allocations: 119 kB / 0.7756 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-05/0.5032, allocations: 178.3 kB / 0.7758 GB, free: 14.44 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.669e-05/0.5032, allocations: 188.3 kB / 0.7759 GB, free: 14.26 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.376e-05/0.5032, allocations: 177.9 kB / 0.7761 GB, free: 14.08 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001962/0.5034, allocations: 452 kB / 0.7765 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.75e-05/0.5035, allocations: 107.5 kB / 0.7766 GB, free: 13.53 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.748e-05/0.5035, allocations: 104 kB / 0.7767 GB, free: 13.42 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.372e-05/0.5035, allocations: 179 kB / 0.7769 GB, free: 13.24 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.712e-05/0.5035, allocations: 183.1 kB / 0.7771 GB, free: 13.06 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.285e-05/0.5036, allocations: 178.5 kB / 0.7773 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.548e-05/0.5036, allocations: 192 kB / 0.7774 GB, free: 12.69 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.173e-05/0.5037, allocations: 328.1 kB / 0.7777 GB, free: 12.37 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.384e-05/0.5038, allocations: 197.1 kB / 0.7779 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.986e-05/0.5038, allocations: 179.5 kB / 0.7781 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001036/0.5039, allocations: 110.2 kB / 0.7782 GB, free: 11.87 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.116e-05/0.504, allocations: 182.3 kB / 0.7784 GB, free: 11.69 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.486e-05/0.504, allocations: 110.2 kB / 0.7785 GB, free: 11.58 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002034/0.5042, allocations: 216.3 kB / 0.7787 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.192e-06/0.5042, allocations: 0 / 0.7787 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003688/0.5046, allocations: 63.7 kB / 0.7788 GB, free: 11.5 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.0003114/0.5049, allocations: 268.7 kB / 0.779 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001938/0.5051, allocations: 105.2 kB / 0.7791 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.5051, allocations: 0 / 0.7791 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 2.104e-06/0.5051, allocations: 0.5625 kB / 0.7791 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002944/0.5054, allocations: 465.1 kB / 0.7796 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005097/0.5059, allocations: 391.8 kB / 0.7799 GB, free: 10.65 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001883/0.5061, allocations: 0.7432 MB / 0.7807 GB, free: 9.953 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 1.31e-05/0.5061, allocations: 3.422 kB / 0.7807 GB, free: 9.953 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.745e-05/0.5062, allocations: 10.03 kB / 0.7807 GB, free: 9.945 MB / 0.5606 GB Notification: Performance of SimCode: time 7.61e-07/0.5062, allocations: 2.906 kB / 0.7807 GB, free: 9.945 MB / 0.5606 GB Notification: Performance of Templates: time 0.005791/0.512, allocations: 2.313 MB / 0.7829 GB, free: 9.727 MB / 0.5606 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low.sim & ./BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe 2>&1)