Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.Resistance.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.00144/0.00144, allocations: 80.94 kB / 19.94 MB, free: 4.543 MB / 18.57 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.001162/0.001162, allocations: 177 kB / 23.36 MB, free: 1.133 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.006/1.006, allocations: 177.1 MB / 203.8 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] 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.001732/0.001732, allocations: 245.1 kB / 260.5 MB, free: 12.71 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 0.7999/0.7999, allocations: 138.4 MB / 402.2 MB, free: 0.5781 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.DC.Lines.Examples.Resistance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.Resistance") translateModel(BuildingSystems.Electrical.DC.Lines.Examples.Resistance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.Resistance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.352e-06/1.352e-06, allocations: 0 / 462.3 MB, free: 0.8594 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.333e-05/1.468e-05, allocations: 3.734 kB / 462.3 MB, free: 0.8555 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.DC.Lines.Examples.Resistance): time 0.003347/0.003362, allocations: 2.6 MB / 464.9 MB, free: 15.23 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.001532/0.004894, allocations: 0.9952 MB / 465.9 MB, free: 14.58 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001272/0.005021, allocations: 9.438 kB / 465.9 MB, free: 14.57 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000449/0.00547, allocations: 96.73 kB / 466 MB, free: 14.52 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000269/0.005739, allocations: 126.7 kB / 466.2 MB, free: 14.45 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002307/0.00597, allocations: 113.7 kB / 466.3 MB, free: 14.39 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003273/0.006297, allocations: 313.5 kB / 466.6 MB, free: 14.25 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002556/0.006553, allocations: 189.7 kB / 466.8 MB, free: 14.16 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001781/0.006731, allocations: 170.7 kB / 466.9 MB, free: 14.01 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000225/0.006956, allocations: 124.8 kB / 467 MB, free: 13.89 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 2.56e-05/0.006982, allocations: 16 kB / 467.1 MB, free: 13.88 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000159/0.00714, allocations: 91.78 kB / 467.2 MB, free: 13.79 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 7.846e-05/0.007219, allocations: 93.55 kB / 467.2 MB, free: 13.7 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 6.247e-05/0.007281, allocations: 79.81 kB / 467.3 MB, free: 13.62 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000237/0.007518, allocations: 231.2 kB / 467.5 MB, free: 13.39 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.834e-06/0.00752, allocations: 0 / 467.5 MB, free: 13.39 MB / 426.7 MB Notification: Performance of FrontEnd: time 8.51e-07/0.007521, allocations: 0 / 467.5 MB, free: 13.39 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.948e-06/0.007525, allocations: 0.6875 kB / 467.5 MB, free: 13.39 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0004474/0.007972, allocations: 412 kB / 467.9 MB, free: 12.97 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.86e-05/0.008001, allocations: 12.69 kB / 468 MB, free: 12.96 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003809/0.008382, allocations: 113.8 kB / 468.1 MB, free: 12.85 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000187/0.008569, allocations: 184 kB / 468.3 MB, free: 12.65 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.429e-05/0.008583, allocations: 16.69 kB / 468.3 MB, free: 12.63 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.166e-05/0.008605, allocations: 21.09 kB / 468.3 MB, free: 12.61 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004791/0.009084, allocations: 273.4 kB / 468.6 MB, free: 12.31 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.009094, allocations: 0.9375 kB / 468.6 MB, free: 12.31 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.584e-05/0.00911, allocations: 8.375 kB / 468.6 MB, free: 12.3 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.23e-05/0.009142, allocations: 25.42 kB / 468.6 MB, free: 12.28 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.304e-05/0.009225, allocations: 61.22 kB / 468.6 MB, free: 12.22 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006831/0.009908, allocations: 0.89 MB / 469.5 MB, free: 11.29 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001075/0.01002, allocations: 61.38 kB / 469.6 MB, free: 11.22 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.109e-05/0.01004, allocations: 13.61 kB / 469.6 MB, free: 11.2 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.161e-06/0.01004, allocations: 0 / 469.6 MB, free: 11.2 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.082e-05/0.01006, allocations: 39.55 kB / 469.7 MB, free: 11.16 MB / 426.7 MB Notification: Performance of pre-optimization done (n=7): time 9.42e-07/0.01006, allocations: 0 / 469.7 MB, free: 11.16 MB / 426.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002242/0.01029, allocations: 100.4 kB / 469.7 MB, free: 11.05 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.227e-05/0.01031, allocations: 55.41 kB / 469.8 MB, free: 10.98 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.781e-05/0.01041, allocations: 178.5 kB / 470 MB, free: 10.8 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.031e-05/0.01042, allocations: 29.7 kB / 470 MB, free: 10.76 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.951e-05/0.01048, allocations: 168.9 kB / 470.2 MB, free: 10.59 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.363e-05/0.01049, allocations: 23.78 kB / 470.2 MB, free: 10.57 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.894e-05/0.01053, allocations: 37.66 kB / 470.2 MB, free: 10.53 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.84e-05/0.0106, allocations: 319.4 kB / 470.5 MB, free: 10.21 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.826e-05/0.01062, allocations: 22.2 kB / 470.6 MB, free: 10.19 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.667e-05/0.01066, allocations: 76.56 kB / 470.6 MB, free: 10.08 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.351e-05/0.01075, allocations: 107.3 kB / 470.7 MB, free: 9.949 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.01075, allocations: 1.125 kB / 470.7 MB, free: 9.949 MB / 426.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001349/0.01089, allocations: 131.4 kB / 470.9 MB, free: 9.812 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.082e-05/0.0109, allocations: 4.5 kB / 470.9 MB, free: 9.809 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.0109, allocations: 4.562 kB / 470.9 MB, free: 9.805 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000139/0.01104, allocations: 34.55 kB / 470.9 MB, free: 9.77 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.371e-05/0.0111, allocations: 24.66 kB / 470.9 MB, free: 9.746 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005646/0.01167, allocations: 1.195 MB / 472.1 MB, free: 8.461 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.025e-05/0.01173, allocations: 23.83 kB / 472.2 MB, free: 8.438 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.792e-06/0.01174, allocations: 8.844 kB / 472.2 MB, free: 8.43 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 initialization (17): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 6.817e-05/0.0118, allocations: 125.6 kB / 472.3 MB, free: 8.297 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.221e-05/0.01183, allocations: 11.98 kB / 472.3 MB, free: 8.285 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.596e-05/0.01184, allocations: 17.47 kB / 472.3 MB, free: 8.27 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.92e-07/0.01184, allocations: 1 kB / 472.3 MB, free: 8.27 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.204e-06/0.01185, allocations: 0 / 472.3 MB, free: 8.27 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.01185, allocations: 5.969 kB / 472.3 MB, free: 8.266 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002256/0.01207, allocations: 259.5 kB / 472.6 MB, free: 7.984 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.01208, allocations: 0.8125 kB / 472.6 MB, free: 7.984 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.142e-05/0.0121, allocations: 8.812 kB / 472.6 MB, free: 7.977 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.371e-05/0.01218, allocations: 35.89 kB / 472.6 MB, free: 7.941 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.839e-06/0.01219, allocations: 3.938 kB / 472.6 MB, free: 7.938 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004727/0.01266, allocations: 1.187 MB / 473.8 MB, free: 6.66 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.01266, allocations: 0 / 473.8 MB, free: 6.66 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001013/0.01276, allocations: 180.7 kB / 474 MB, free: 6.465 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.187e-05/0.01278, allocations: 11.94 kB / 474 MB, free: 6.453 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.606e-06/0.01279, allocations: 1.812 kB / 474 MB, free: 6.453 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.131e-05/0.01284, allocations: 4 kB / 474 MB, free: 6.449 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.751e-05/0.01286, allocations: 13.91 kB / 474 MB, free: 6.438 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.516e-06/0.01286, allocations: 0 / 474 MB, free: 6.438 MB / 426.7 MB Notification: Performance of sorting global known variables: time 3.603e-05/0.0129, allocations: 47.7 kB / 474.1 MB, free: 6.391 MB / 426.7 MB Notification: Performance of sort global known variables: time 3e-08/0.0129, allocations: 0 / 474.1 MB, free: 6.391 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001864/0.01309, allocations: 59.78 kB / 474.1 MB, free: 6.332 MB / 426.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 (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 6.188e-05/0.01315, allocations: 82.7 kB / 474.2 MB, free: 6.246 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.000178/0.01333, allocations: 172.1 kB / 474.4 MB, free: 6.062 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.01333, allocations: 0.7188 kB / 474.4 MB, free: 6.062 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 6.864e-05/0.0134, allocations: 141.4 kB / 474.5 MB, free: 5.91 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001728/0.01357, allocations: 36.41 kB / 474.6 MB, free: 5.879 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005729/0.01414, allocations: 361.8 kB / 474.9 MB, free: 5.496 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.046e-05/0.01419, allocations: 88.58 kB / 475 MB, free: 5.391 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 4.965e-05/0.01424, allocations: 24.72 kB / 475 MB, free: 5.367 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.458e-05/0.01432, allocations: 75.36 kB / 475.1 MB, free: 5.293 MB / 426.7 MB Notification: Performance of SimCode: time 6.61e-07/0.01432, allocations: 0.5312 kB / 475.1 MB, free: 5.293 MB / 426.7 MB Notification: Performance of Templates: time 0.003753/0.01807, allocations: 1.788 MB / 476.9 MB, free: 3.66 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.Resistance.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.Resistance.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.Resistance.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.Resistance.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.Resistance.sim & ./BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.Resistance -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.Resistance.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 3.426893184427172]