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.001397/0.001397, allocations: 73.09 kB / 20.66 MB, free: 3.844 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.001623/0.001623, allocations: 169 kB / 24.06 MB, free: 452 kB / 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.005/1.005, allocations: 177.1 MB / 204.5 MB, free: 5.512 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.001757/0.001757, allocations: 229.3 kB / 261.3 MB, free: 12.67 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.7173/0.7173, allocations: 138.4 MB / 456.3 MB, free: 29.84 MB / 410.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.203e-06/1.203e-06, allocations: 0 / 0.5563 GB, free: 15.89 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.347e-05/1.467e-05, allocations: 2.312 kB / 0.5563 GB, free: 15.89 MB / 490.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.DC.Lines.Examples.Resistance): time 0.002794/0.002808, allocations: 2.534 MB / 0.5588 GB, free: 13.33 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001104/0.003912, allocations: 0.9815 MB / 0.5598 GB, free: 12.34 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.137e-05/0.004004, allocations: 7.938 kB / 0.5598 GB, free: 12.34 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000365/0.004369, allocations: 91.5 kB / 0.5598 GB, free: 12.25 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001974/0.004566, allocations: 139.2 kB / 0.56 GB, free: 12.11 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001612/0.004727, allocations: 119.6 kB / 0.5601 GB, free: 11.99 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002481/0.004975, allocations: 318.9 kB / 0.5604 GB, free: 11.68 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002562/0.005232, allocations: 177.4 kB / 0.5606 GB, free: 11.5 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000138/0.00537, allocations: 171.6 kB / 0.5607 GB, free: 11.34 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002081/0.005578, allocations: 131.6 kB / 0.5609 GB, free: 11.21 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.552e-05/0.005603, allocations: 20 kB / 0.5609 GB, free: 11.19 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001208/0.005724, allocations: 87.8 kB / 0.561 GB, free: 11.1 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 6.974e-05/0.005794, allocations: 87.73 kB / 0.561 GB, free: 11.02 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 6.588e-05/0.00586, allocations: 75.83 kB / 0.5611 GB, free: 10.94 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002293/0.006089, allocations: 239.2 kB / 0.5613 GB, free: 10.71 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.445e-06/0.006091, allocations: 4 kB / 0.5613 GB, free: 10.7 MB / 490.7 MB Notification: Performance of FrontEnd: time 5.01e-07/0.006092, allocations: 0 / 0.5613 GB, free: 10.7 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.108e-06/0.006096, allocations: 0 / 0.5613 GB, free: 10.7 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0004907/0.006587, allocations: 0.5273 MB / 0.5619 GB, free: 10.14 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.414e-05/0.006621, allocations: 9.938 kB / 0.5619 GB, free: 10.13 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003506/0.006971, allocations: 108.6 kB / 0.562 GB, free: 10.02 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001801/0.007152, allocations: 193.1 kB / 0.5622 GB, free: 9.809 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.408e-05/0.007166, allocations: 20.69 kB / 0.5622 GB, free: 9.789 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.087e-05/0.007186, allocations: 16.38 kB / 0.5622 GB, free: 9.773 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002206/0.007407, allocations: 286.1 kB / 0.5625 GB, free: 9.449 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.537e-06/0.007417, allocations: 192 / 0.5625 GB, free: 9.449 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.676e-05/0.007433, allocations: 16.31 kB / 0.5625 GB, free: 9.434 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.622e-05/0.00746, allocations: 20.3 kB / 0.5625 GB, free: 9.414 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.57e-05/0.007545, allocations: 71.25 kB / 0.5626 GB, free: 9.348 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009099/0.008455, allocations: 1.244 MB / 0.5638 GB, free: 8.039 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001177/0.008573, allocations: 63.08 kB / 0.5638 GB, free: 7.965 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.277e-05/0.008596, allocations: 19.72 kB / 0.5639 GB, free: 7.941 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.31e-06/0.008601, allocations: 4 kB / 0.5639 GB, free: 7.938 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.222e-05/0.008623, allocations: 45.27 kB / 0.5639 GB, free: 7.883 MB / 490.7 MB Notification: Performance of pre-optimization done (n=7): time 1.152e-06/0.008624, allocations: 0 / 0.5639 GB, free: 7.883 MB / 490.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002367/0.008861, allocations: 109.4 kB / 0.564 GB, free: 7.766 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.088e-05/0.008882, allocations: 51.41 kB / 0.5641 GB, free: 7.703 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001087/0.008991, allocations: 241.7 kB / 0.5643 GB, free: 7.449 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 9.949e-06/0.009001, allocations: 25.7 kB / 0.5643 GB, free: 7.418 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.881e-05/0.009079, allocations: 218.7 kB / 0.5645 GB, free: 7.195 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.378e-05/0.009093, allocations: 31.72 kB / 0.5646 GB, free: 7.164 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.971e-05/0.009133, allocations: 43.36 kB / 0.5646 GB, free: 7.113 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001052/0.009238, allocations: 0.4923 MB / 0.5651 GB, free: 6.609 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.746e-05/0.009256, allocations: 11.98 kB / 0.5651 GB, free: 6.598 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.786e-05/0.009313, allocations: 104.8 kB / 0.5652 GB, free: 6.453 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.963e-05/0.009403, allocations: 136.7 kB / 0.5653 GB, free: 6.277 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.009405, allocations: 0 / 0.5653 GB, free: 6.277 MB / 490.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001599/0.009565, allocations: 152.9 kB / 0.5655 GB, free: 6.117 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.097e-05/0.009576, allocations: 4 kB / 0.5655 GB, free: 6.113 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.00958, allocations: 4 kB / 0.5655 GB, free: 6.109 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001354/0.009715, allocations: 43.92 kB / 0.5655 GB, free: 6.062 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.997e-05/0.009775, allocations: 27.98 kB / 0.5655 GB, free: 6.035 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006527/0.01043, allocations: 1.725 MB / 0.5672 GB, free: 4.199 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.158e-05/0.01049, allocations: 20.02 kB / 0.5672 GB, free: 4.18 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.572e-06/0.0105, allocations: 8 kB / 0.5673 GB, free: 4.172 MB / 490.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 7.25e-05/0.01057, allocations: 160.6 kB / 0.5674 GB, free: 4.004 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.374e-05/0.01059, allocations: 15.91 kB / 0.5674 GB, free: 3.988 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.81e-05/0.01061, allocations: 21.45 kB / 0.5674 GB, free: 3.965 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.71e-07/0.01061, allocations: 0 / 0.5674 GB, free: 3.965 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.756e-06/0.01061, allocations: 3.938 kB / 0.5674 GB, free: 3.961 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.944e-06/0.01062, allocations: 0 / 0.5674 GB, free: 3.961 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002432/0.01086, allocations: 353.6 kB / 0.5678 GB, free: 3.578 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.01086, allocations: 8.062 kB / 0.5678 GB, free: 3.57 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.842e-05/0.01088, allocations: 8 kB / 0.5678 GB, free: 3.562 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.653e-05/0.01097, allocations: 35.53 kB / 0.5678 GB, free: 3.523 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.829e-06/0.01097, allocations: 4 kB / 0.5678 GB, free: 3.52 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005914/0.01156, allocations: 1.709 MB / 0.5695 GB, free: 1.695 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.01156, allocations: 7.922 kB / 0.5695 GB, free: 1.688 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001134/0.01168, allocations: 231.5 kB / 0.5697 GB, free: 1.438 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.875e-05/0.01171, allocations: 31.81 kB / 0.5698 GB, free: 1.406 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.167e-06/0.01172, allocations: 0 / 0.5698 GB, free: 1.406 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.329e-05/0.01177, allocations: 8 kB / 0.5698 GB, free: 1.398 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.177e-05/0.01178, allocations: 3.984 kB / 0.5698 GB, free: 1.395 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.819e-06/0.01179, allocations: 4 kB / 0.5698 GB, free: 1.391 MB / 490.7 MB Notification: Performance of sorting global known variables: time 5.459e-05/0.01184, allocations: 156.3 kB / 0.5699 GB, free: 1.238 MB / 490.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01184, allocations: 0 / 0.5699 GB, free: 1.238 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001952/0.01204, allocations: 59.77 kB / 0.57 GB, free: 1.18 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 (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.652e-05/0.0121, allocations: 103.2 kB / 0.5701 GB, free: 1.07 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001972/0.0123, allocations: 233.9 kB / 0.5703 GB, free: 0.8203 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.0123, allocations: 0 / 0.5703 GB, free: 0.8203 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000228/0.01253, allocations: 201.6 kB / 0.5705 GB, free: 0.6016 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002196/0.01275, allocations: 27.64 kB / 0.5705 GB, free: 0.5781 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005315/0.01328, allocations: 354.5 kB / 0.5709 GB, free: 208 kB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.555e-05/0.01333, allocations: 87.97 kB / 0.5709 GB, free: 100 kB / 490.7 MB Notification: Performance of simCode: alias equations: time 4.66e-05/0.01337, allocations: 14.11 kB / 0.571 GB, free: 84 kB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.892e-05/0.01346, allocations: 98.17 kB / 0.5711 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of SimCode: time 4.9e-07/0.01346, allocations: 4 kB / 0.5711 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of Templates: time 0.003377/0.01684, allocations: 1.831 MB / 0.5728 GB, free: 14.21 MB / 0.4948 GB " [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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.Resistance.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 3.5938568520359695]