Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.Resistance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.DC.Lines.Examples.Resistance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.Resistance") translateModel(Buildings.Electrical.DC.Lines.Examples.Resistance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.Resistance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008681/0.008681, allocations: 102.5 kB / 15.73 MB, free: 6.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00166/0.00166, allocations: 198.4 kB / 16.68 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.678/1.678, allocations: 205.1 MB / 222.5 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.372/1.372, allocations: 251.7 MB / 0.5094 GB, free: 412 kB / 430.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001807/0.001807, allocations: 75.89 kB / 0.7258 GB, free: 4.68 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7535/0.7553, allocations: 104.7 MB / 0.828 GB, free: 2.633 MB / 0.6231 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.Resistance): time 0.005115/0.7605, allocations: 3.067 MB / 0.831 GB, free: 15.55 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.002221/0.7627, allocations: 1.329 MB / 0.8323 GB, free: 14.21 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001325/0.7629, allocations: 4 kB / 0.8323 GB, free: 14.2 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001147/0.7641, allocations: 330.7 kB / 0.8326 GB, free: 13.88 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.0003802/0.7644, allocations: 147.2 kB / 0.8328 GB, free: 13.73 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005371/0.765, allocations: 139.7 kB / 0.8329 GB, free: 13.6 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.000403/0.7654, allocations: 306.9 kB / 0.8332 GB, free: 13.3 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004324/0.7658, allocations: 231.8 kB / 0.8334 GB, free: 13.07 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001488/0.766, allocations: 123.6 kB / 0.8335 GB, free: 12.95 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003023/0.7663, allocations: 135.5 kB / 0.8337 GB, free: 12.82 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 3.367e-05/0.7664, allocations: 27.92 kB / 0.8337 GB, free: 12.79 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003174/0.7667, allocations: 171.6 kB / 0.8339 GB, free: 12.62 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0001013/0.7668, allocations: 79.73 kB / 0.8339 GB, free: 12.55 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0001407/0.7669, allocations: 111.5 kB / 0.834 GB, free: 12.44 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.000447/0.7674, allocations: 337.2 kB / 0.8344 GB, free: 12.11 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.7674, allocations: 0 / 0.8344 GB, free: 12.11 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.643e-06/0.7674, allocations: 0 / 0.8344 GB, free: 12.11 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.324e-05/0.7674, allocations: 0 / 0.8344 GB, free: 12.11 MB / 0.6387 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.0009363/0.7684, allocations: 0.5146 MB / 0.8349 GB, free: 11.54 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.351e-05/0.7684, allocations: 20.02 kB / 0.8349 GB, free: 11.52 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006174/0.7691, allocations: 72.59 kB / 0.8349 GB, free: 11.45 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003289/0.7694, allocations: 243.9 kB / 0.8352 GB, free: 11.18 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.805e-05/0.7694, allocations: 12.75 kB / 0.8352 GB, free: 11.16 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.161e-05/0.7695, allocations: 20.38 kB / 0.8352 GB, free: 11.14 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004387/0.7699, allocations: 299.5 kB / 0.8355 GB, free: 10.83 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.174e-05/0.7699, allocations: 0 / 0.8355 GB, free: 10.83 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.84e-05/0.77, allocations: 15.97 kB / 0.8355 GB, free: 10.82 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.194e-05/0.77, allocations: 16.38 kB / 0.8355 GB, free: 10.8 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000292/0.7703, allocations: 193 kB / 0.8357 GB, free: 10.61 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001734/0.772, allocations: 1.456 MB / 0.8371 GB, free: 8.992 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002856/0.7723, allocations: 179.7 kB / 0.8373 GB, free: 8.789 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.064e-05/0.7724, allocations: 32.84 kB / 0.8373 GB, free: 8.754 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 7.013e-06/0.7724, allocations: 7.938 kB / 0.8373 GB, free: 8.746 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.588e-05/0.7724, allocations: 30.56 kB / 0.8374 GB, free: 8.707 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=7): time 1.082e-06/0.7725, allocations: 0 / 0.8374 GB, free: 8.707 MB / 0.6387 GB Notification: Performance of matching and sorting (n=7): time 0.0005144/0.773, allocations: 235.5 kB / 0.8376 GB, free: 8.449 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.604e-05/0.773, allocations: 55.41 kB / 0.8377 GB, free: 8.383 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001883/0.7732, allocations: 195.2 kB / 0.8378 GB, free: 8.184 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 1.922e-05/0.7733, allocations: 29.7 kB / 0.8379 GB, free: 8.148 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 9.976e-05/0.7734, allocations: 167.6 kB / 0.838 GB, free: 7.98 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 1.854e-05/0.7734, allocations: 19.64 kB / 0.838 GB, free: 7.961 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.719e-05/0.7734, allocations: 41.62 kB / 0.8381 GB, free: 7.914 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001177/0.7736, allocations: 330.8 kB / 0.8384 GB, free: 7.582 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.937e-05/0.7736, allocations: 31.98 kB / 0.8384 GB, free: 7.551 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.728e-05/0.7737, allocations: 96.56 kB / 0.8385 GB, free: 7.426 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001873/0.7739, allocations: 160.3 kB / 0.8387 GB, free: 7.238 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.7739, allocations: 0 / 0.8387 GB, free: 7.238 MB / 0.6387 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002803/0.7742, allocations: 186.1 kB / 0.8389 GB, free: 7.047 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.739e-05/0.7743, allocations: 8 kB / 0.8389 GB, free: 7.039 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.7743, allocations: 288 / 0.8389 GB, free: 7.039 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001701/0.7744, allocations: 28.84 kB / 0.8389 GB, free: 7.008 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001031/0.7746, allocations: 31.92 kB / 0.8389 GB, free: 6.977 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001091/0.7757, allocations: 1.418 MB / 0.8403 GB, free: 5.418 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001126/0.7758, allocations: 19.84 kB / 0.8403 GB, free: 5.398 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.146e-05/0.7758, allocations: 7.984 kB / 0.8403 GB, free: 5.391 MB / 0.6387 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.0001373/0.7759, allocations: 150.8 kB / 0.8405 GB, free: 5.234 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.613e-05/0.776, allocations: 19.91 kB / 0.8405 GB, free: 5.215 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.808e-05/0.776, allocations: 13.47 kB / 0.8405 GB, free: 5.203 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.44e-06/0.776, allocations: 8.031 kB / 0.8405 GB, free: 5.195 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.758e-06/0.776, allocations: 0 / 0.8405 GB, free: 5.195 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.7761, allocations: 4 kB / 0.8405 GB, free: 5.191 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004997/0.7766, allocations: 443.2 kB / 0.8409 GB, free: 4.699 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.7766, allocations: 0 / 0.8409 GB, free: 4.699 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.488e-05/0.7766, allocations: 8 kB / 0.8409 GB, free: 4.691 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.489e-05/0.7767, allocations: 32.77 kB / 0.841 GB, free: 4.656 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.775e-06/0.7767, allocations: 0 / 0.841 GB, free: 4.656 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009898/0.7777, allocations: 1.418 MB / 0.8424 GB, free: 3.102 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.7777, allocations: 3.938 kB / 0.8424 GB, free: 3.098 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002172/0.7779, allocations: 208.1 kB / 0.8426 GB, free: 2.875 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 7.764e-05/0.778, allocations: 97 kB / 0.8427 GB, free: 2.762 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.624e-05/0.778, allocations: 96 / 0.8427 GB, free: 2.762 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001007/0.7782, allocations: 8 kB / 0.8427 GB, free: 2.754 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.438e-05/0.7782, allocations: 11.97 kB / 0.8427 GB, free: 2.742 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.492e-06/0.7782, allocations: 4 kB / 0.8427 GB, free: 2.738 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0001854/0.7784, allocations: 139.2 kB / 0.8428 GB, free: 2.602 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.11e-07/0.7784, allocations: 0 / 0.8428 GB, free: 2.602 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.000311/0.7787, allocations: 55.84 kB / 0.8429 GB, free: 2.547 MB / 0.6387 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.0001207/0.7788, allocations: 103.2 kB / 0.843 GB, free: 2.434 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0003569/0.7792, allocations: 210.5 kB / 0.8432 GB, free: 2.215 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.7792, allocations: 192 / 0.8432 GB, free: 2.215 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.000143/0.7794, allocations: 146.6 kB / 0.8433 GB, free: 2.059 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003513/0.7797, allocations: 49.48 kB / 0.8434 GB, free: 2.016 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006099/0.7803, allocations: 357.9 kB / 0.8437 GB, free: 1.645 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003069/0.7807, allocations: 0.7475 MB / 0.8444 GB, free: 0.8711 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 8.135e-05/0.7808, allocations: 29.45 kB / 0.8445 GB, free: 0.8398 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.631e-05/0.7808, allocations: 15.44 kB / 0.8445 GB, free: 0.8242 MB / 0.6387 GB Notification: Performance of SimCode: time 2.4e-07/0.7808, allocations: 0 / 0.8445 GB, free: 0.8242 MB / 0.6387 GB Notification: Performance of Templates: time 0.005054/0.7859, allocations: 1.769 MB / 0.8462 GB, free: 15.07 MB / 0.6544 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.Resistance.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.Resistance.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.Resistance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe 2>&1)