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.004893/0.004893, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.001086/0.001086, allocations: 195.6 kB / 16.67 MB, free: 5.52 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.261/1.261, allocations: 222.9 MB / 240.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002013/0.002013, allocations: 286.8 kB / 290.8 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9027/0.9027, allocations: 169.2 MB / 0.4983 GB, free: 4.449 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001965/0.001965, allocations: 95.86 kB / 0.6814 GB, free: 6.977 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4628/0.4648, allocations: 86.97 MB / 0.7664 GB, free: 3.906 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.002711/0.4675, allocations: 1.408 MB / 0.7677 GB, free: 2.488 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.003341/0.4709, allocations: 2.672 MB / 0.7704 GB, free: 15.81 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.107e-05/0.471, allocations: 4 kB / 0.7704 GB, free: 15.8 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001874/0.4728, allocations: 0.58 MB / 0.7709 GB, free: 15.23 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 6.396e-05/0.4729, allocations: 27.91 kB / 0.7709 GB, free: 15.2 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 4.649e-06/0.4729, allocations: 0 / 0.7709 GB, free: 15.2 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002547/0.4732, allocations: 158.9 kB / 0.7711 GB, free: 15.05 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 7.32e-05/0.4733, allocations: 36.41 kB / 0.7711 GB, free: 15.01 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 8.376e-05/0.4734, allocations: 63.66 kB / 0.7712 GB, free: 14.95 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001301/0.4735, allocations: 71.59 kB / 0.7713 GB, free: 14.88 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.292e-05/0.4735, allocations: 4 kB / 0.7713 GB, free: 14.88 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001138/0.4747, allocations: 475.2 kB / 0.7717 GB, free: 14.41 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 6.595e-05/0.4747, allocations: 31.84 kB / 0.7717 GB, free: 14.38 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001014/0.4749, allocations: 99.36 kB / 0.7718 GB, free: 14.28 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0006944/0.4756, allocations: 430.3 kB / 0.7723 GB, free: 13.86 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.4756, allocations: 7.938 kB / 0.7723 GB, free: 13.85 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.683e-06/0.4756, allocations: 0 / 0.7723 GB, free: 13.85 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.935e-06/0.4756, allocations: 0 / 0.7723 GB, free: 13.85 MB / 0.545 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.0007773/0.4764, allocations: 0.549 MB / 0.7728 GB, free: 13.25 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.833e-05/0.4764, allocations: 8.031 kB / 0.7728 GB, free: 13.24 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001868/0.4766, allocations: 107.8 kB / 0.7729 GB, free: 13.14 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002493/0.4769, allocations: 294.4 kB / 0.7732 GB, free: 12.81 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.592e-05/0.4769, allocations: 158.9 kB / 0.7733 GB, free: 12.66 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.211e-05/0.477, allocations: 158.9 kB / 0.7735 GB, free: 12.5 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.322e-05/0.4771, allocations: 109.5 kB / 0.7736 GB, free: 12.39 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.686e-05/0.4771, allocations: 79.41 kB / 0.7737 GB, free: 12.31 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.012e-05/0.4772, allocations: 154.5 kB / 0.7738 GB, free: 12.16 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.621e-05/0.4772, allocations: 154.6 kB / 0.774 GB, free: 12 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.238e-05/0.4773, allocations: 154.6 kB / 0.7741 GB, free: 11.85 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003847/0.4777, allocations: 0.5366 MB / 0.7746 GB, free: 11.27 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 7.39e-05/0.4778, allocations: 173.1 kB / 0.7748 GB, free: 11.09 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.131e-05/0.4778, allocations: 84.14 kB / 0.7749 GB, free: 11 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.521e-05/0.4778, allocations: 75.28 kB / 0.775 GB, free: 10.93 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.641e-05/0.4779, allocations: 109.8 kB / 0.7751 GB, free: 10.81 MB / 0.545 GB Notification: Performance of pre-optimization done (n=0): time 1.253e-06/0.4779, allocations: 0 / 0.7751 GB, free: 10.81 MB / 0.545 GB Notification: Performance of matching and sorting (n=0): time 0.0001802/0.4781, allocations: 61.28 kB / 0.7751 GB, free: 10.74 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.507e-05/0.4782, allocations: 126.7 kB / 0.7752 GB, free: 10.61 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004298/0.4786, allocations: 433.2 kB / 0.7757 GB, free: 10.17 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.313e-05/0.4786, allocations: 25.7 kB / 0.7757 GB, free: 10.14 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.997e-05/0.4787, allocations: 136.5 kB / 0.7758 GB, free: 10 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.508e-06/0.4787, allocations: 4 kB / 0.7758 GB, free: 10 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.446e-05/0.4788, allocations: 89.67 kB / 0.7759 GB, free: 9.906 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001322/0.4789, allocations: 342.8 kB / 0.7762 GB, free: 9.562 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001101/0.4791, allocations: 92.52 kB / 0.7763 GB, free: 9.469 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001542/0.4792, allocations: 165.3 kB / 0.7765 GB, free: 9.289 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003012/0.4795, allocations: 309.6 kB / 0.7768 GB, free: 8.965 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.4795, allocations: 0 / 0.7768 GB, free: 8.965 MB / 0.545 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0005075/0.48, allocations: 328.9 kB / 0.7771 GB, free: 8.637 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/0.4801, allocations: 11.94 kB / 0.7771 GB, free: 8.625 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/0.4801, allocations: 3.938 kB / 0.7771 GB, free: 8.621 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/0.4801, allocations: 4 kB / 0.7771 GB, free: 8.617 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.643e-06/0.4801, allocations: 3.938 kB / 0.7771 GB, free: 8.613 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.053e-06/0.4801, allocations: 4 kB / 0.7771 GB, free: 8.609 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001341/0.4803, allocations: 39.59 kB / 0.7771 GB, free: 8.57 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.033e-05/0.4803, allocations: 8 kB / 0.7772 GB, free: 8.562 MB / 0.545 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.0001822/0.4805, allocations: 247.5 kB / 0.7774 GB, free: 8.312 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.962e-05/0.4806, allocations: 120.6 kB / 0.7775 GB, free: 8.188 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.805e-05/0.4806, allocations: 114.9 kB / 0.7776 GB, free: 8.07 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.329e-05/0.4807, allocations: 184.2 kB / 0.7778 GB, free: 7.883 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.314e-05/0.4807, allocations: 188.2 kB / 0.778 GB, free: 7.691 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.293e-05/0.4808, allocations: 176.3 kB / 0.7781 GB, free: 7.512 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002845/0.4811, allocations: 481 kB / 0.7786 GB, free: 6.984 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.178e-05/0.4811, allocations: 105 kB / 0.7787 GB, free: 6.875 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.906e-05/0.4812, allocations: 104.9 kB / 0.7788 GB, free: 6.766 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.982e-05/0.4813, allocations: 180.3 kB / 0.779 GB, free: 6.582 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.607e-05/0.4813, allocations: 184.2 kB / 0.7791 GB, free: 6.395 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.35e-05/0.4814, allocations: 188.2 kB / 0.7793 GB, free: 6.203 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.184e-05/0.4815, allocations: 176.3 kB / 0.7795 GB, free: 6.023 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001489/0.4816, allocations: 327.6 kB / 0.7798 GB, free: 5.68 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001219/0.4817, allocations: 205.8 kB / 0.78 GB, free: 5.453 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.427e-05/0.4818, allocations: 192.2 kB / 0.7802 GB, free: 5.258 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001242/0.482, allocations: 105 kB / 0.7803 GB, free: 5.148 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.524e-05/0.482, allocations: 188.2 kB / 0.7805 GB, free: 4.957 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.277e-05/0.4821, allocations: 101 kB / 0.7806 GB, free: 4.852 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.000273/0.4824, allocations: 275.1 kB / 0.7808 GB, free: 4.582 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.11e-07/0.4824, allocations: 4 kB / 0.7808 GB, free: 4.578 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003714/0.4828, allocations: 83.94 kB / 0.7809 GB, free: 4.496 MB / 0.545 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.0003532/0.4831, allocations: 310.3 kB / 0.7812 GB, free: 4.184 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002085/0.4833, allocations: 167.8 kB / 0.7814 GB, free: 4.02 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.4833, allocations: 0 / 0.7814 GB, free: 4.02 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 3.527e-06/0.4834, allocations: 4.438 kB / 0.7814 GB, free: 4.016 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003868/0.4837, allocations: 467.9 kB / 0.7818 GB, free: 3.555 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005995/0.4844, allocations: 0.4969 MB / 0.7823 GB, free: 3.031 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003262/0.4847, allocations: 0.7782 MB / 0.7831 GB, free: 2.227 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 1.282e-05/0.4847, allocations: 0 / 0.7831 GB, free: 2.227 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.79e-05/0.4847, allocations: 11.44 kB / 0.7831 GB, free: 2.219 MB / 0.545 GB Notification: Performance of SimCode: time 1.463e-06/0.4847, allocations: 0 / 0.7831 GB, free: 2.219 MB / 0.545 GB Notification: Performance of Templates: time 0.006093/0.4908, allocations: 3.077 MB / 0.7861 GB, free: 15.15 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)