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.001792/0.001792, allocations: 81.5 kB / 19.44 MB, free: 344 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.002032/0.002032, allocations: 173.2 kB / 22.76 MB, free: 1.664 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.552/1.552, allocations: 177.1 MB / 203.1 MB, free: 5.621 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.003402/0.003402, allocations: 237.1 kB / 259.8 MB, free: 12.86 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.209/1.209, allocations: 138.4 MB / 454.7 MB, free: 1.48 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.343e-06/1.343e-06, allocations: 0 / 0.5543 GB, free: 0.8789 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.05e-05/3.184e-05, allocations: 10.25 kB / 0.5543 GB, free: 0.8672 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.DC.Lines.Examples.Resistance): time 0.005686/0.005718, allocations: 3.115 MB / 0.5574 GB, free: 13.73 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.002613/0.008331, allocations: 1.352 MB / 0.5587 GB, free: 12.38 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001207/0.008451, allocations: 8 kB / 0.5587 GB, free: 12.37 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00116/0.009611, allocations: 346.6 kB / 0.559 GB, free: 12.03 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003727/0.009984, allocations: 147 kB / 0.5592 GB, free: 11.88 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003932/0.01038, allocations: 151.5 kB / 0.5593 GB, free: 11.73 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004232/0.0108, allocations: 306.9 kB / 0.5596 GB, free: 11.43 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004466/0.01125, allocations: 180.6 kB / 0.5598 GB, free: 11.25 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002574/0.0115, allocations: 179.6 kB / 0.5599 GB, free: 11.08 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003483/0.01185, allocations: 127.6 kB / 0.5601 GB, free: 10.95 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 4.356e-05/0.0119, allocations: 16 kB / 0.5601 GB, free: 10.94 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003177/0.01221, allocations: 159.5 kB / 0.5602 GB, free: 10.78 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000126/0.01234, allocations: 87.8 kB / 0.5603 GB, free: 10.7 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000127/0.01247, allocations: 79.83 kB / 0.5604 GB, free: 10.62 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005326/0.013, allocations: 342.9 kB / 0.5607 GB, free: 10.28 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.421e-06/0.013, allocations: 4 kB / 0.5607 GB, free: 10.28 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.01301, allocations: 0 / 0.5607 GB, free: 10.28 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.132e-06/0.01301, allocations: 0 / 0.5607 GB, free: 10.28 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.0009629/0.01397, allocations: 0.5619 MB / 0.5613 GB, free: 9.676 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.874e-05/0.01401, allocations: 8.75 kB / 0.5613 GB, free: 9.668 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006651/0.01468, allocations: 112.7 kB / 0.5614 GB, free: 9.559 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003647/0.01504, allocations: 199 kB / 0.5616 GB, free: 9.34 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.25e-05/0.01507, allocations: 16.75 kB / 0.5616 GB, free: 9.324 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.357e-05/0.0151, allocations: 16.38 kB / 0.5616 GB, free: 9.309 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004992/0.0156, allocations: 318.3 kB / 0.5619 GB, free: 8.953 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.316e-05/0.01561, allocations: 192 / 0.5619 GB, free: 8.953 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.511e-05/0.01564, allocations: 8.375 kB / 0.5619 GB, free: 8.945 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.007e-05/0.01568, allocations: 20.31 kB / 0.5619 GB, free: 8.926 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002469/0.01592, allocations: 106.1 kB / 0.562 GB, free: 8.824 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001829/0.01775, allocations: 1.298 MB / 0.5633 GB, free: 7.461 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002281/0.01798, allocations: 71.11 kB / 0.5634 GB, free: 7.379 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.748e-05/0.01804, allocations: 23.69 kB / 0.5634 GB, free: 7.352 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.727e-05/0.01806, allocations: 8.031 kB / 0.5634 GB, free: 7.344 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.71e-05/0.01809, allocations: 37.33 kB / 0.5634 GB, free: 7.297 MB / 490.7 MB Notification: Performance of pre-optimization done (n=7): time 3.436e-06/0.0181, allocations: 4 kB / 0.5634 GB, free: 7.293 MB / 490.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004418/0.01854, allocations: 121.2 kB / 0.5636 GB, free: 7.164 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.088e-05/0.01859, allocations: 51.41 kB / 0.5636 GB, free: 7.102 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002688/0.01886, allocations: 253.8 kB / 0.5638 GB, free: 6.836 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.837e-05/0.01889, allocations: 33.7 kB / 0.5639 GB, free: 6.797 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001839/0.01907, allocations: 218.7 kB / 0.5641 GB, free: 6.578 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.134e-05/0.0191, allocations: 27.94 kB / 0.5641 GB, free: 6.551 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.286e-05/0.01918, allocations: 51.31 kB / 0.5642 GB, free: 6.492 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0003045/0.01949, allocations: 0.4962 MB / 0.5646 GB, free: 5.984 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.676e-05/0.01958, allocations: 36.05 kB / 0.5647 GB, free: 5.949 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001468/0.01972, allocations: 120.7 kB / 0.5648 GB, free: 5.789 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002188/0.01994, allocations: 152.7 kB / 0.5649 GB, free: 5.598 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.01994, allocations: 4 kB / 0.5649 GB, free: 5.594 MB / 490.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000328/0.02027, allocations: 176.9 kB / 0.5651 GB, free: 5.41 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.82e-05/0.02029, allocations: 8 kB / 0.5651 GB, free: 5.402 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.0203, allocations: 3.938 kB / 0.5651 GB, free: 5.398 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002517/0.02055, allocations: 39.94 kB / 0.5652 GB, free: 5.355 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001113/0.02066, allocations: 24 kB / 0.5652 GB, free: 5.332 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001583/0.02224, allocations: 1.752 MB / 0.5669 GB, free: 3.457 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001163/0.02236, allocations: 19.89 kB / 0.5669 GB, free: 3.438 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.421e-05/0.02237, allocations: 4 kB / 0.5669 GB, free: 3.434 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 0.000152/0.02252, allocations: 176.6 kB / 0.5671 GB, free: 3.25 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.193e-05/0.02257, allocations: 11.95 kB / 0.5671 GB, free: 3.238 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.607e-05/0.0226, allocations: 17.47 kB / 0.5671 GB, free: 3.219 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.955e-06/0.02261, allocations: 11.86 kB / 0.5671 GB, free: 3.207 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.565e-06/0.02261, allocations: 0 / 0.5671 GB, free: 3.207 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.055e-06/0.02262, allocations: 0 / 0.5671 GB, free: 3.207 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005976/0.02321, allocations: 428.9 kB / 0.5675 GB, free: 2.742 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.02322, allocations: 0 / 0.5675 GB, free: 2.742 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.786e-05/0.02325, allocations: 4 kB / 0.5675 GB, free: 2.738 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001669/0.02342, allocations: 43.66 kB / 0.5676 GB, free: 2.691 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.017e-06/0.02343, allocations: 0 / 0.5676 GB, free: 2.691 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001562/0.02499, allocations: 1.763 MB / 0.5693 GB, free: 0.8008 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.02499, allocations: 4.031 kB / 0.5693 GB, free: 0.7969 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002927/0.02529, allocations: 251.4 kB / 0.5695 GB, free: 0.5273 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.847e-05/0.02534, allocations: 15.89 kB / 0.5696 GB, free: 0.5117 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.702e-05/0.02536, allocations: 0 / 0.5696 GB, free: 0.5117 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001108/0.02547, allocations: 11.94 kB / 0.5696 GB, free: 0.5 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.821e-05/0.0255, allocations: 7.984 kB / 0.5696 GB, free: 0.4922 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.811e-06/0.02551, allocations: 0 / 0.5696 GB, free: 0.4922 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0001647/0.02567, allocations: 180.2 kB / 0.5698 GB, free: 324 kB / 490.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02567, allocations: 0 / 0.5698 GB, free: 324 kB / 490.7 MB Notification: Performance of remove unused functions: time 0.0003532/0.02602, allocations: 51.89 kB / 0.5698 GB, free: 272 kB / 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 0.0002529/0.02628, allocations: 103.2 kB / 0.5699 GB, free: 160 kB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0004672/0.02674, allocations: 257.4 kB / 0.5701 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.706e-06/0.02675, allocations: 0 / 0.5701 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002166/0.02696, allocations: 202 kB / 0.5703 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003737/0.02734, allocations: 36.89 kB / 0.5704 GB, free: 15.63 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007547/0.02809, allocations: 350.6 kB / 0.5707 GB, free: 15.26 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001616/0.02825, allocations: 131.9 kB / 0.5708 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 7.726e-05/0.02833, allocations: 13.48 kB / 0.5708 GB, free: 15.1 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.263e-05/0.02837, allocations: 20.5 kB / 0.5709 GB, free: 15.08 MB / 0.4948 GB Notification: Performance of SimCode: time 5.71e-07/0.02837, allocations: 3.938 kB / 0.5709 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of Templates: time 0.005736/0.03411, allocations: 1.685 MB / 0.5725 GB, free: 13.43 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: 5.907517279032618]