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.0008587/0.0008587, allocations: 81.64 kB / 19.87 MB, free: 4.613 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.0008997/0.0008997, allocations: 173 kB / 23.28 MB, free: 1.215 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 0.9432/0.9432, allocations: 177.1 MB / 203.7 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.001657/0.001657, allocations: 245.5 kB / 260.5 MB, free: 12.66 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.6928/0.6928, allocations: 138.4 MB / 455.5 MB, free: 29.98 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.583e-06/1.583e-06, allocations: 0 / 0.5555 GB, free: 15.86 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.666e-05/1.824e-05, allocations: 6.312 kB / 0.5555 GB, free: 15.86 MB / 490.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.DC.Lines.Examples.Resistance): time 0.004146/0.004164, allocations: 2.553 MB / 0.558 GB, free: 13.29 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001621/0.005785, allocations: 0.9698 MB / 0.559 GB, free: 12.31 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001296/0.005915, allocations: 7.938 kB / 0.559 GB, free: 12.3 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004575/0.006372, allocations: 95.56 kB / 0.5591 GB, free: 12.21 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003053/0.006678, allocations: 143.1 kB / 0.5592 GB, free: 12.07 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002508/0.006928, allocations: 107.7 kB / 0.5593 GB, free: 11.96 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003538/0.007282, allocations: 318.8 kB / 0.5596 GB, free: 11.65 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003425/0.007625, allocations: 189.3 kB / 0.5598 GB, free: 11.46 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002089/0.007834, allocations: 171.6 kB / 0.56 GB, free: 11.3 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002797/0.008113, allocations: 131.6 kB / 0.5601 GB, free: 11.17 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 3.58e-05/0.008149, allocations: 19.98 kB / 0.5601 GB, free: 11.15 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00018/0.008329, allocations: 91.78 kB / 0.5602 GB, free: 11.06 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 9.55e-05/0.008425, allocations: 83.8 kB / 0.5603 GB, free: 10.98 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 8.677e-05/0.008511, allocations: 83.77 kB / 0.5604 GB, free: 10.89 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003249/0.008836, allocations: 223.2 kB / 0.5606 GB, free: 10.68 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.335e-06/0.008839, allocations: 0 / 0.5606 GB, free: 10.68 MB / 490.7 MB Notification: Performance of FrontEnd: time 8.42e-07/0.008839, allocations: 0 / 0.5606 GB, free: 10.68 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.238e-06/0.008844, allocations: 0 / 0.5606 GB, free: 10.68 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.0007131/0.009557, allocations: 0.539 MB / 0.5611 GB, free: 10.1 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.633e-05/0.009603, allocations: 9.938 kB / 0.5611 GB, free: 10.09 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005509/0.01015, allocations: 112.6 kB / 0.5612 GB, free: 9.98 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002639/0.01042, allocations: 177.3 kB / 0.5614 GB, free: 9.781 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.066e-05/0.01044, allocations: 16.73 kB / 0.5614 GB, free: 9.766 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.468e-05/0.01047, allocations: 24.38 kB / 0.5614 GB, free: 9.742 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003566/0.01083, allocations: 290 kB / 0.5617 GB, free: 9.414 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.296e-05/0.01084, allocations: 4.188 kB / 0.5617 GB, free: 9.41 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.162e-05/0.01086, allocations: 4.375 kB / 0.5617 GB, free: 9.406 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.357e-05/0.01091, allocations: 20.31 kB / 0.5617 GB, free: 9.387 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001395/0.01105, allocations: 71.19 kB / 0.5618 GB, free: 9.32 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001143/0.01219, allocations: 1.247 MB / 0.563 GB, free: 8.008 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001523/0.01234, allocations: 71.09 kB / 0.5631 GB, free: 7.926 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.798e-05/0.01237, allocations: 11.69 kB / 0.5631 GB, free: 7.91 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.154e-06/0.01238, allocations: 4 kB / 0.5631 GB, free: 7.906 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.701e-05/0.01241, allocations: 41.33 kB / 0.5631 GB, free: 7.855 MB / 490.7 MB Notification: Performance of pre-optimization done (n=7): time 1.422e-06/0.01241, allocations: 0 / 0.5631 GB, free: 7.855 MB / 490.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003017/0.01271, allocations: 109.4 kB / 0.5632 GB, free: 7.738 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.73e-05/0.01274, allocations: 59.41 kB / 0.5633 GB, free: 7.668 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001604/0.0129, allocations: 237.7 kB / 0.5635 GB, free: 7.418 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.632e-05/0.01291, allocations: 29.7 kB / 0.5636 GB, free: 7.383 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001071/0.01302, allocations: 222.6 kB / 0.5638 GB, free: 7.156 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.945e-05/0.01304, allocations: 23.8 kB / 0.5638 GB, free: 7.133 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.783e-05/0.0131, allocations: 43.34 kB / 0.5638 GB, free: 7.082 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001493/0.01325, allocations: 0.4884 MB / 0.5643 GB, free: 6.582 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.117e-05/0.01328, allocations: 15.98 kB / 0.5643 GB, free: 6.566 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.491e-05/0.01336, allocations: 108.8 kB / 0.5644 GB, free: 6.418 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003826/0.01374, allocations: 136.7 kB / 0.5646 GB, free: 6.242 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.796e-06/0.01375, allocations: 0 / 0.5646 GB, free: 6.242 MB / 490.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002357/0.01398, allocations: 153.1 kB / 0.5647 GB, free: 6.082 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/0.014, allocations: 7.984 kB / 0.5647 GB, free: 6.074 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.014, allocations: 4 kB / 0.5647 GB, free: 6.07 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001842/0.01419, allocations: 31.61 kB / 0.5647 GB, free: 6.035 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.643e-05/0.01427, allocations: 27.98 kB / 0.5648 GB, free: 6.008 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009247/0.0152, allocations: 1.729 MB / 0.5665 GB, free: 4.168 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.647e-05/0.0153, allocations: 15.89 kB / 0.5665 GB, free: 4.152 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.054e-05/0.01531, allocations: 8 kB / 0.5665 GB, free: 4.145 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 9.496e-05/0.0154, allocations: 164.5 kB / 0.5666 GB, free: 3.973 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.739e-05/0.01544, allocations: 19.95 kB / 0.5667 GB, free: 3.953 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.518e-05/0.01546, allocations: 21.56 kB / 0.5667 GB, free: 3.93 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-06/0.01547, allocations: 4 kB / 0.5667 GB, free: 3.926 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.01547, allocations: 3.938 kB / 0.5667 GB, free: 3.922 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.01547, allocations: 0 / 0.5667 GB, free: 3.922 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003601/0.01583, allocations: 353.6 kB / 0.567 GB, free: 3.539 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.01583, allocations: 0 / 0.567 GB, free: 3.539 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.24e-05/0.01587, allocations: 8 kB / 0.567 GB, free: 3.531 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001293/0.016, allocations: 39.59 kB / 0.5671 GB, free: 3.488 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.183e-06/0.016, allocations: 4 kB / 0.5671 GB, free: 3.484 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000835/0.01684, allocations: 1.709 MB / 0.5687 GB, free: 1.66 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.01684, allocations: 0 / 0.5687 GB, free: 1.66 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001775/0.01702, allocations: 243.4 kB / 0.569 GB, free: 1.398 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.918e-05/0.01706, allocations: 19.97 kB / 0.569 GB, free: 1.379 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.599e-05/0.01707, allocations: 8 kB / 0.569 GB, free: 1.371 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.373e-05/0.01716, allocations: 7.984 kB / 0.569 GB, free: 1.363 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.439e-05/0.01718, allocations: 0 / 0.569 GB, free: 1.363 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.562e-06/0.01719, allocations: 4 kB / 0.569 GB, free: 1.359 MB / 490.7 MB Notification: Performance of sorting global known variables: time 8.325e-05/0.01727, allocations: 160.2 kB / 0.5692 GB, free: 1.203 MB / 490.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01727, allocations: 0 / 0.5692 GB, free: 1.203 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0003528/0.01762, allocations: 59.83 kB / 0.5692 GB, free: 1.145 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 8.469e-05/0.01771, allocations: 95.25 kB / 0.5693 GB, free: 1.043 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0002685/0.01798, allocations: 237.4 kB / 0.5695 GB, free: 0.7891 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.01798, allocations: 0 / 0.5695 GB, free: 0.7891 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001229/0.0181, allocations: 197.5 kB / 0.5697 GB, free: 0.5742 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003343/0.01843, allocations: 34.08 kB / 0.5698 GB, free: 0.5469 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007623/0.0192, allocations: 355.4 kB / 0.5701 GB, free: 176 kB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.589e-05/0.01926, allocations: 87.95 kB / 0.5702 GB, free: 68 kB / 490.7 MB Notification: Performance of simCode: alias equations: time 6.864e-05/0.01933, allocations: 18.11 kB / 0.5702 GB, free: 48 kB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000119/0.01945, allocations: 102.2 kB / 0.5703 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of SimCode: time 8.01e-07/0.01945, allocations: 3.938 kB / 0.5703 GB, free: 15.94 MB / 0.4948 GB Notification: Performance of Templates: time 0.004911/0.02436, allocations: 1.783 MB / 0.572 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.421130589209497]