Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.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.002035/0.002035, allocations: 80.52 kB / 19.95 MB, free: 4.602 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.002184/0.002184, allocations: 173.2 kB / 23.24 MB, free: 1.32 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.651/1.651, allocations: 177.1 MB / 203.5 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 3.291/3.291, allocations: 389.5 MB / 0.6343 GB, free: 12.63 MB / 0.6042 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/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(Buildings.Electrical.DC.Lines.Examples.Resistance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Electrical.DC.Lines.Examples.Resistance") translateModel(Buildings.Electrical.DC.Lines.Examples.Resistance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Electrical.DC.Lines.Examples.Resistance") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0 / 1.001 GB, free: 13.07 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.984e-05/4.157e-05, allocations: 6.219 kB / 1.001 GB, free: 13.06 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.Resistance): time 0.005674/0.005715, allocations: 3.045 MB / 1.004 GB, free: 10 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.00253/0.008246, allocations: 1.305 MB / 1.005 GB, free: 8.691 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001276/0.008373, allocations: 4 kB / 1.005 GB, free: 8.688 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.001224/0.009597, allocations: 334.6 kB / 1.006 GB, free: 8.359 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0003813/0.009978, allocations: 155 kB / 1.006 GB, free: 8.207 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003736/0.01035, allocations: 143.4 kB / 1.006 GB, free: 8.066 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0004472/0.0108, allocations: 314.9 kB / 1.006 GB, free: 7.758 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004365/0.01124, allocations: 176.6 kB / 1.006 GB, free: 7.586 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002633/0.0115, allocations: 175.6 kB / 1.007 GB, free: 7.414 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003411/0.01184, allocations: 127.6 kB / 1.007 GB, free: 7.289 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 4.708e-05/0.01189, allocations: 24 kB / 1.007 GB, free: 7.266 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003073/0.01219, allocations: 151.6 kB / 1.007 GB, free: 7.117 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 0.0001209/0.01232, allocations: 83.73 kB / 1.007 GB, free: 7.035 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.0001281/0.01244, allocations: 79.83 kB / 1.007 GB, free: 6.957 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0005573/0.013, allocations: 350.8 kB / 1.007 GB, free: 6.613 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.013, allocations: 0 / 1.007 GB, free: 6.613 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.152e-06/0.01301, allocations: 0 / 1.007 GB, free: 6.613 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 5.811e-06/0.01301, allocations: 0 / 1.007 GB, free: 6.613 MB / 0.9636 GB 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.0008476/0.01386, allocations: 453.5 kB / 1.008 GB, free: 6.137 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 5.021e-05/0.01391, allocations: 13.34 kB / 1.008 GB, free: 6.125 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005477/0.01446, allocations: 80.72 kB / 1.008 GB, free: 6.047 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003346/0.01479, allocations: 183.9 kB / 1.008 GB, free: 5.844 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.639e-05/0.01482, allocations: 16.73 kB / 1.008 GB, free: 5.828 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.185e-05/0.01486, allocations: 16.38 kB / 1.008 GB, free: 5.812 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005866/0.01545, allocations: 377.3 kB / 1.008 GB, free: 5.402 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.306e-05/0.01546, allocations: 4.188 kB / 1.008 GB, free: 5.398 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.844e-05/0.01549, allocations: 8.375 kB / 1.008 GB, free: 5.391 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.065e-05/0.01553, allocations: 20.31 kB / 1.008 GB, free: 5.371 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003823/0.01591, allocations: 200.9 kB / 1.009 GB, free: 5.176 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001798/0.01771, allocations: 0.985 MB / 1.01 GB, free: 4.133 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002708/0.01798, allocations: 94.61 kB / 1.01 GB, free: 4.031 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.671e-05/0.01805, allocations: 28.84 kB / 1.01 GB, free: 4 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 9.007e-06/0.01806, allocations: 0 / 1.01 GB, free: 4 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.252e-05/0.0181, allocations: 46.48 kB / 1.01 GB, free: 3.945 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=7): time 8.41e-07/0.0181, allocations: 0 / 1.01 GB, free: 3.945 MB / 0.9636 GB Notification: Performance of matching and sorting (n=7): time 0.000492/0.01859, allocations: 146.5 kB / 1.01 GB, free: 3.793 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.768e-05/0.01864, allocations: 55.34 kB / 1.01 GB, free: 3.727 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002369/0.01888, allocations: 186.3 kB / 1.01 GB, free: 3.535 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 2.775e-05/0.0189, allocations: 29.7 kB / 1.01 GB, free: 3.5 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001408/0.01904, allocations: 168 kB / 1.01 GB, free: 3.332 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 3.132e-05/0.01908, allocations: 31.73 kB / 1.01 GB, free: 3.301 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.495e-05/0.01914, allocations: 29.72 kB / 1.01 GB, free: 3.266 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001919/0.01933, allocations: 322.8 kB / 1.011 GB, free: 2.941 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.904e-05/0.01941, allocations: 39.97 kB / 1.011 GB, free: 2.902 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001426/0.01955, allocations: 104.6 kB / 1.011 GB, free: 2.77 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002348/0.01979, allocations: 152.4 kB / 1.011 GB, free: 2.59 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.01979, allocations: 0 / 1.011 GB, free: 2.59 MB / 0.9636 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003503/0.02014, allocations: 190.1 kB / 1.011 GB, free: 2.395 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.997e-05/0.02016, allocations: 10.62 kB / 1.011 GB, free: 2.387 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.02017, allocations: 4 kB / 1.011 GB, free: 2.383 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001707/0.02034, allocations: 28.84 kB / 1.011 GB, free: 2.352 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001206/0.02046, allocations: 27.92 kB / 1.011 GB, free: 2.324 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001393/0.02185, allocations: 1.284 MB / 1.013 GB, free: 0.9375 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001155/0.02197, allocations: 16.05 kB / 1.013 GB, free: 0.9219 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.487e-05/0.02198, allocations: 15.98 kB / 1.013 GB, free: 0.9062 MB / 0.9636 GB 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.0001714/0.02215, allocations: 145.8 kB / 1.013 GB, free: 0.7539 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.072e-05/0.02219, allocations: 15.91 kB / 1.013 GB, free: 0.7383 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.987e-05/0.02222, allocations: 13.47 kB / 1.013 GB, free: 0.7266 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.041e-06/0.02223, allocations: 3.938 kB / 1.013 GB, free: 0.7227 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.484e-06/0.02223, allocations: 0 / 1.013 GB, free: 0.7227 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.02224, allocations: 3.984 kB / 1.013 GB, free: 0.7188 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005623/0.0228, allocations: 366.9 kB / 1.013 GB, free: 328 kB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.0228, allocations: 8 kB / 1.013 GB, free: 320 kB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.08e-05/0.02284, allocations: 7.984 kB / 1.013 GB, free: 312 kB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.812e-05/0.02293, allocations: 24.89 kB / 1.013 GB, free: 284 kB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.021e-05/0.02294, allocations: 3.984 kB / 1.013 GB, free: 280 kB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001262/0.0242, allocations: 1.292 MB / 1.014 GB, free: 14.88 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.0242, allocations: 160 / 1.014 GB, free: 14.88 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002736/0.02448, allocations: 212.6 kB / 1.015 GB, free: 14.65 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 5.177e-05/0.02453, allocations: 19.89 kB / 1.015 GB, free: 14.63 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.131e-05/0.02456, allocations: 0 / 1.015 GB, free: 14.63 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001102/0.02467, allocations: 8.031 kB / 1.015 GB, free: 14.62 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.125e-05/0.02469, allocations: 11.86 kB / 1.015 GB, free: 14.61 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.186e-06/0.0247, allocations: 8 kB / 1.015 GB, free: 14.6 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0001482/0.02485, allocations: 133.6 kB / 1.015 GB, free: 14.47 MB / 0.9792 GB Notification: Performance of sort global known variables: time 8e-08/0.02485, allocations: 0 / 1.015 GB, free: 14.47 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0003409/0.02519, allocations: 51.84 kB / 1.015 GB, free: 14.42 MB / 0.9792 GB 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.000151/0.02534, allocations: 104 kB / 1.015 GB, free: 14.31 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.000421/0.02576, allocations: 206.6 kB / 1.015 GB, free: 14.1 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 5.581e-06/0.02577, allocations: 4 kB / 1.015 GB, free: 14.09 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0001847/0.02595, allocations: 142.7 kB / 1.015 GB, free: 13.94 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003535/0.0263, allocations: 28.55 kB / 1.015 GB, free: 13.91 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007268/0.02703, allocations: 346.2 kB / 1.016 GB, free: 13.55 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001656/0.0272, allocations: 131.9 kB / 1.016 GB, free: 13.4 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 8.124e-05/0.02728, allocations: 21.48 kB / 1.016 GB, free: 13.38 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.124e-05/0.02732, allocations: 16.5 kB / 1.016 GB, free: 13.36 MB / 0.9792 GB Notification: Performance of SimCode: time 6.01e-07/0.02732, allocations: 0 / 1.016 GB, free: 13.36 MB / 0.9792 GB Notification: Performance of Templates: time 0.006066/0.03339, allocations: 1.642 MB / 1.017 GB, free: 11.76 MB / 0.9792 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Electrical.DC.Lines.Examples.Resistance.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe ; mkfifo Buildings_13_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe ; head -c 1048576 < Buildings_13_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe >> ../files/Buildings_13_Buildings.Electrical.DC.Lines.Examples.Resistance.sim & ./Buildings_13_Buildings.Electrical.DC.Lines.Examples.Resistance -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 9.650303767994046]