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.001726/0.001726, allocations: 100.3 kB / 19.7 MB, free: 2.012 MB / 14.72 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.002302/0.002302, allocations: 222.3 kB / 23 MB, free: 4.91 MB / 14.72 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.476/1.476, allocations: 230.6 MB / 256.8 MB, free: 7.812 MB / 206.1 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.002616/0.002616, allocations: 285.7 kB / 313.5 MB, free: 2.625 MB / 238.1 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.283/1.283, allocations: 180.6 MB / 0.5377 GB, free: 14.53 MB / 382.1 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: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003477/0.003477, allocations: 99.14 kB / 0.7407 GB, free: 27.84 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1964/0.1998, allocations: 95.38 MB / 0.8339 GB, free: 7.844 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.DC.Lines.Examples.Resistance): time 0.005847/0.2057, allocations: 3.068 MB / 0.8368 GB, free: 4.762 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002656/0.2084, allocations: 1.301 MB / 0.8381 GB, free: 3.453 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002272/0.2086, allocations: 8 kB / 0.8381 GB, free: 3.445 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.00126/0.2098, allocations: 334.7 kB / 0.8384 GB, free: 3.117 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0004874/0.2103, allocations: 147.3 kB / 0.8386 GB, free: 2.973 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004772/0.2108, allocations: 143.6 kB / 0.8387 GB, free: 2.832 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0005144/0.2113, allocations: 299 kB / 0.839 GB, free: 2.539 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004823/0.2118, allocations: 184.6 kB / 0.8392 GB, free: 2.355 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002635/0.2121, allocations: 127.5 kB / 0.8393 GB, free: 2.23 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003934/0.2125, allocations: 131.5 kB / 0.8394 GB, free: 2.102 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.607e-05/0.2125, allocations: 16 kB / 0.8394 GB, free: 2.086 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003767/0.2129, allocations: 151.6 kB / 0.8396 GB, free: 1.938 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000135/0.213, allocations: 87.72 kB / 0.8397 GB, free: 1.852 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001664/0.2132, allocations: 95.59 kB / 0.8398 GB, free: 1.758 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.000677/0.2139, allocations: 342.8 kB / 0.8401 GB, free: 1.422 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.2139, allocations: 0 / 0.8401 GB, free: 1.422 MB / 0.5762 GB Notification: Performance of FrontEnd: time 4.268e-06/0.2139, allocations: 4 kB / 0.8401 GB, free: 1.418 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.667e-05/0.2139, allocations: 0 / 0.8401 GB, free: 1.418 MB / 0.5762 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.0009657/0.2149, allocations: 449.5 kB / 0.8405 GB, free: 0.9453 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.668e-05/0.2149, allocations: 9.344 kB / 0.8405 GB, free: 0.9375 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006644/0.2156, allocations: 88.64 kB / 0.8406 GB, free: 0.8516 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000369/0.2159, allocations: 184.8 kB / 0.8408 GB, free: 0.6484 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.674e-05/0.216, allocations: 12.75 kB / 0.8408 GB, free: 0.6367 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.376e-05/0.216, allocations: 20.38 kB / 0.8408 GB, free: 0.6172 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005461/0.2165, allocations: 384.4 kB / 0.8412 GB, free: 208 kB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.382e-05/0.2166, allocations: 0 / 0.8412 GB, free: 208 kB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.17e-05/0.2166, allocations: 12 kB / 0.8412 GB, free: 196 kB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.367e-05/0.2166, allocations: 12.38 kB / 0.8412 GB, free: 184 kB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003642/0.217, allocations: 200.9 kB / 0.8414 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001558/0.2185, allocations: 0.9848 MB / 0.8424 GB, free: 14.94 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002614/0.2188, allocations: 98.48 kB / 0.8425 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.404e-05/0.2189, allocations: 28.84 kB / 0.8425 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 1.587e-05/0.2189, allocations: 8.031 kB / 0.8425 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.533e-05/0.2189, allocations: 42.62 kB / 0.8425 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=7): time 1.312e-06/0.2189, allocations: 0 / 0.8425 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of matching and sorting (n=7): time 0.0004715/0.2194, allocations: 138.6 kB / 0.8427 GB, free: 14.6 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.949e-05/0.2195, allocations: 59.28 kB / 0.8427 GB, free: 14.53 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002091/0.2197, allocations: 191.1 kB / 0.8429 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.473e-05/0.2197, allocations: 29.7 kB / 0.8429 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001282/0.2198, allocations: 176.1 kB / 0.8431 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 2.626e-05/0.2199, allocations: 23.8 kB / 0.8431 GB, free: 14.1 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.292e-05/0.2199, allocations: 41.66 kB / 0.8432 GB, free: 14.05 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001592/0.2201, allocations: 326.8 kB / 0.8435 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.197e-05/0.2202, allocations: 35.98 kB / 0.8435 GB, free: 13.69 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000128/0.2203, allocations: 98.91 kB / 0.8436 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002166/0.2205, allocations: 152.4 kB / 0.8438 GB, free: 13.39 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.2205, allocations: 0 / 0.8438 GB, free: 13.39 MB / 0.5919 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000344/0.2209, allocations: 182.2 kB / 0.8439 GB, free: 13.2 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.185e-05/0.2209, allocations: 8 kB / 0.8439 GB, free: 13.19 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.054e-05/0.2209, allocations: 4 kB / 0.8439 GB, free: 13.19 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001901/0.2211, allocations: 29.12 kB / 0.844 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001215/0.2212, allocations: 23.98 kB / 0.844 GB, free: 13.13 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001291/0.2225, allocations: 1.295 MB / 0.8453 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001312/0.2226, allocations: 19.88 kB / 0.8453 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.228e-05/0.2226, allocations: 4 kB / 0.8453 GB, free: 11.71 MB / 0.5919 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.0001689/0.2228, allocations: 150.6 kB / 0.8454 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.153e-05/0.2228, allocations: 15.89 kB / 0.8454 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.357e-05/0.2229, allocations: 21.39 kB / 0.8455 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.2229, allocations: 0 / 0.8455 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.2229, allocations: 0 / 0.8455 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.287e-06/0.2229, allocations: 0 / 0.8455 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005739/0.2235, allocations: 375 kB / 0.8458 GB, free: 11.11 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.2235, allocations: 3.938 kB / 0.8458 GB, free: 11.11 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.632e-05/0.2235, allocations: 4 kB / 0.8458 GB, free: 11.11 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.032e-05/0.2236, allocations: 28.84 kB / 0.8458 GB, free: 11.07 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.207e-06/0.2236, allocations: 3.938 kB / 0.8459 GB, free: 11.07 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001154/0.2247, allocations: 1.297 MB / 0.8471 GB, free: 9.672 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.2247, allocations: 0 / 0.8471 GB, free: 9.672 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002696/0.225, allocations: 204.3 kB / 0.8473 GB, free: 9.453 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 6.24e-05/0.2251, allocations: 27.78 kB / 0.8473 GB, free: 9.426 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.117e-05/0.2251, allocations: 8.141 kB / 0.8473 GB, free: 9.418 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001069/0.2252, allocations: 4 kB / 0.8474 GB, free: 9.414 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.88e-05/0.2252, allocations: 7.984 kB / 0.8474 GB, free: 9.406 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.564e-06/0.2252, allocations: 4 kB / 0.8474 GB, free: 9.402 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001355/0.2254, allocations: 132.3 kB / 0.8475 GB, free: 9.273 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.2254, allocations: 0 / 0.8475 GB, free: 9.273 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003525/0.2257, allocations: 55.83 kB / 0.8475 GB, free: 9.219 MB / 0.5919 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.000129/0.2259, allocations: 99.19 kB / 0.8476 GB, free: 9.109 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0004092/0.2263, allocations: 202.6 kB / 0.8478 GB, free: 8.898 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/0.2263, allocations: 4 kB / 0.8478 GB, free: 8.895 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001855/0.2265, allocations: 146.6 kB / 0.848 GB, free: 8.738 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003537/0.2268, allocations: 23.98 kB / 0.848 GB, free: 8.715 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007868/0.2276, allocations: 405.9 kB / 0.8484 GB, free: 8.289 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001678/0.2278, allocations: 131.9 kB / 0.8485 GB, free: 8.137 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.357e-05/0.2278, allocations: 15.44 kB / 0.8485 GB, free: 8.121 MB / 0.5919 GB Notification: Performance of SimCode: time 4.51e-07/0.2278, allocations: 0 / 0.8485 GB, free: 8.121 MB / 0.5919 GB Notification: Performance of Templates: time 0.006116/0.2339, allocations: 2.981 MB / 0.8514 GB, free: 5.145 MB / 0.5919 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=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.Resistance.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.182384954765439] Failed to read output from testmodel.py, exit status != 0: 0.2428757888264954 0.258380916 0.041366532000000004 Calling exit ...