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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001349/0.001349, allocations: 88.72 kB / 19.44 MB, free: 356 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001495/0.001495, allocations: 161.7 kB / 22.76 MB, free: 1.68 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.469/1.469, allocations: 177.2 MB / 203.1 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.0026/0.0026, allocations: 229.3 kB / 259.8 MB, free: 12.85 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.069/1.069, allocations: 138.4 MB / 454.7 MB, free: 1.461 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_med,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_med") translateModel(BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_med,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_med") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.222e-06/1.222e-06, allocations: 0 / 0.5543 GB, free: 0.8711 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.315e-05/2.438e-05, allocations: 2.312 kB / 0.5543 GB, free: 0.8672 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.002598/0.002623, allocations: 1.414 MB / 0.5557 GB, free: 15.44 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.003631/0.006254, allocations: 2.393 MB / 0.558 GB, free: 13.04 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.946e-05/0.006284, allocations: 4 kB / 0.558 GB, free: 13.04 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001527/0.007811, allocations: 0.5553 MB / 0.5586 GB, free: 12.48 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 5.886e-05/0.00787, allocations: 19.84 kB / 0.5586 GB, free: 12.46 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.937e-06/0.007874, allocations: 0 / 0.5586 GB, free: 12.46 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002846/0.008158, allocations: 170.8 kB / 0.5588 GB, free: 12.29 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.939e-05/0.008208, allocations: 12.58 kB / 0.5588 GB, free: 12.28 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001303/0.008338, allocations: 83.8 kB / 0.5588 GB, free: 12.2 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001382/0.008476, allocations: 59.83 kB / 0.5589 GB, free: 12.14 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.51e-05/0.008491, allocations: 8 kB / 0.5589 GB, free: 12.13 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008945/0.009386, allocations: 399.4 kB / 0.5593 GB, free: 11.74 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 6.281e-05/0.009449, allocations: 47.77 kB / 0.5593 GB, free: 11.7 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001029/0.009552, allocations: 55.86 kB / 0.5594 GB, free: 11.64 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006775/0.01023, allocations: 454.1 kB / 0.5598 GB, free: 11.2 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.214e-06/0.01023, allocations: 0 / 0.5598 GB, free: 11.2 MB / 490.7 MB Notification: Performance of FrontEnd: time 7.42e-07/0.01023, allocations: 3.938 kB / 0.5598 GB, free: 11.19 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.158e-06/0.01024, allocations: 0 / 0.5598 GB, free: 11.19 MB / 490.7 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.0008042/0.01104, allocations: 488.7 kB / 0.5603 GB, free: 10.68 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.664e-05/0.01108, allocations: 12.75 kB / 0.5603 GB, free: 10.67 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001704/0.01125, allocations: 104 kB / 0.5604 GB, free: 10.57 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002727/0.01152, allocations: 251.8 kB / 0.5606 GB, free: 10.29 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.803e-05/0.01161, allocations: 154.9 kB / 0.5608 GB, free: 10.14 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.78e-05/0.0117, allocations: 158.9 kB / 0.5609 GB, free: 9.984 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.102e-05/0.01178, allocations: 101.5 kB / 0.561 GB, free: 9.879 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.1e-05/0.01182, allocations: 75.47 kB / 0.5611 GB, free: 9.805 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.115e-05/0.0119, allocations: 154.9 kB / 0.5613 GB, free: 9.652 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.554e-05/0.01197, allocations: 150.9 kB / 0.5614 GB, free: 9.504 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.533e-05/0.01206, allocations: 154.5 kB / 0.5615 GB, free: 9.352 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004458/0.01251, allocations: 0.4894 MB / 0.562 GB, free: 8.832 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001133/0.01262, allocations: 169.1 kB / 0.5622 GB, free: 8.656 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.008e-05/0.01267, allocations: 88.14 kB / 0.5623 GB, free: 8.566 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.231e-05/0.01271, allocations: 75.28 kB / 0.5623 GB, free: 8.492 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.742e-05/0.01278, allocations: 105.8 kB / 0.5624 GB, free: 8.379 MB / 490.7 MB Notification: Performance of pre-optimization done (n=0): time 7.22e-07/0.01278, allocations: 0 / 0.5624 GB, free: 8.379 MB / 490.7 MB Notification: Performance of matching and sorting (n=0): time 0.0001763/0.01296, allocations: 57.48 kB / 0.5625 GB, free: 8.316 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.106e-05/0.01304, allocations: 130.7 kB / 0.5626 GB, free: 8.176 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006004/0.01364, allocations: 437.3 kB / 0.563 GB, free: 7.738 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.878e-05/0.01366, allocations: 25.7 kB / 0.5631 GB, free: 7.707 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001127/0.01377, allocations: 132.6 kB / 0.5632 GB, free: 7.574 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.495e-06/0.01377, allocations: 0 / 0.5632 GB, free: 7.574 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001079/0.01388, allocations: 89.66 kB / 0.5633 GB, free: 7.48 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001885/0.01407, allocations: 342.8 kB / 0.5636 GB, free: 7.137 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001395/0.01421, allocations: 100.6 kB / 0.5637 GB, free: 7.039 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002156/0.01442, allocations: 165.9 kB / 0.5639 GB, free: 6.855 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003797/0.0148, allocations: 305.6 kB / 0.5641 GB, free: 6.535 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.0148, allocations: 0 / 0.5641 GB, free: 6.535 MB / 490.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0006362/0.01544, allocations: 364.9 kB / 0.5645 GB, free: 6.172 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.01546, allocations: 8 kB / 0.5645 GB, free: 6.164 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.01546, allocations: 0 / 0.5645 GB, free: 6.164 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.861e-05/0.01548, allocations: 4 kB / 0.5645 GB, free: 6.16 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.373e-06/0.01548, allocations: 0 / 0.5645 GB, free: 6.16 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.324e-05/0.0155, allocations: 12.28 kB / 0.5645 GB, free: 6.148 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001571/0.01565, allocations: 55.45 kB / 0.5646 GB, free: 6.094 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.161e-05/0.01566, allocations: 4 kB / 0.5646 GB, free: 6.09 MB / 490.7 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.0002757/0.01594, allocations: 245 kB / 0.5648 GB, free: 5.84 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001068/0.01605, allocations: 128.8 kB / 0.5649 GB, free: 5.707 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.531e-05/0.01612, allocations: 110.9 kB / 0.565 GB, free: 5.594 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.643e-05/0.01622, allocations: 180.2 kB / 0.5652 GB, free: 5.41 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001061/0.01632, allocations: 176.3 kB / 0.5654 GB, free: 5.23 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001048/0.01643, allocations: 196.1 kB / 0.5656 GB, free: 5.031 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003442/0.01677, allocations: 416.9 kB / 0.566 GB, free: 4.586 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.927e-05/0.01683, allocations: 109 kB / 0.5661 GB, free: 4.473 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.944e-05/0.01689, allocations: 108.9 kB / 0.5662 GB, free: 4.359 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.927e-05/0.01699, allocations: 184.4 kB / 0.5663 GB, free: 4.172 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001015/0.01709, allocations: 180.2 kB / 0.5665 GB, free: 3.988 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.669e-05/0.01719, allocations: 180.3 kB / 0.5667 GB, free: 3.805 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001022/0.01729, allocations: 180.3 kB / 0.5669 GB, free: 3.621 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000217/0.01751, allocations: 335.5 kB / 0.5672 GB, free: 3.27 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.575e-05/0.0176, allocations: 124.8 kB / 0.5673 GB, free: 3.141 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001213/0.01773, allocations: 176.3 kB / 0.5675 GB, free: 2.961 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001553/0.01788, allocations: 105 kB / 0.5676 GB, free: 2.852 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001065/0.01799, allocations: 188.2 kB / 0.5678 GB, free: 2.66 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.766e-05/0.01805, allocations: 101 kB / 0.5678 GB, free: 2.555 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0003283/0.01837, allocations: 279.1 kB / 0.5681 GB, free: 2.285 MB / 490.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01837, allocations: 0 / 0.5681 GB, free: 2.285 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0003968/0.01877, allocations: 91.81 kB / 0.5682 GB, free: 2.195 MB / 490.7 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.0004394/0.01921, allocations: 310.2 kB / 0.5685 GB, free: 1.883 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0002248/0.01943, allocations: 123.8 kB / 0.5686 GB, free: 1.762 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.01944, allocations: 448 / 0.5686 GB, free: 1.762 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 1.533e-06/0.01944, allocations: 7.938 kB / 0.5686 GB, free: 1.754 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004846/0.01992, allocations: 465.2 kB / 0.5691 GB, free: 1.297 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000701/0.02062, allocations: 0.5012 MB / 0.5696 GB, free: 0.7656 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001798/0.0208, allocations: 164.2 kB / 0.5697 GB, free: 0.582 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 1.562e-05/0.02082, allocations: 7.984 kB / 0.5697 GB, free: 0.5742 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.454e-05/0.02084, allocations: 8.5 kB / 0.5697 GB, free: 0.5664 MB / 490.7 MB Notification: Performance of SimCode: time 3.91e-07/0.02084, allocations: 0 / 0.5697 GB, free: 0.5664 MB / 490.7 MB Notification: Performance of Templates: time 0.007539/0.02838, allocations: 3.075 MB / 0.5727 GB, free: 13.52 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_med.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.666566842002794]