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.001802/0.001802, allocations: 88.72 kB / 19.44 MB, free: 356 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.002203/0.002203, allocations: 157.7 kB / 22.75 MB, free: 1.684 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.487/1.487, allocations: 177.1 MB / 203.1 MB, free: 5.59 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.002586/0.002586, allocations: 231.8 kB / 259.8 MB, free: 12.83 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.091/1.091, allocations: 138.4 MB / 454.7 MB, free: 1.453 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.262e-06/1.262e-06, allocations: 0 / 0.5543 GB, free: 0.8555 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.402e-05/2.528e-05, allocations: 2.312 kB / 0.5543 GB, free: 0.8516 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.DC.Lines.Examples.Resistance): time 0.005427/0.005452, allocations: 3.021 MB / 0.5573 GB, free: 13.81 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.00258/0.008032, allocations: 1.297 MB / 0.5585 GB, free: 12.51 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001494/0.008181, allocations: 4 kB / 0.5585 GB, free: 12.5 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00118/0.009361, allocations: 342.5 kB / 0.5589 GB, free: 12.17 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004368/0.009797, allocations: 151.1 kB / 0.559 GB, free: 12.02 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004137/0.01021, allocations: 139.5 kB / 0.5591 GB, free: 11.88 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004489/0.01066, allocations: 310.8 kB / 0.5594 GB, free: 11.58 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004343/0.01109, allocations: 180.6 kB / 0.5596 GB, free: 11.4 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002779/0.01137, allocations: 175.6 kB / 0.5598 GB, free: 11.23 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000333/0.01171, allocations: 123.6 kB / 0.5599 GB, free: 11.11 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 4.618e-05/0.01175, allocations: 24 kB / 0.5599 GB, free: 11.08 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003187/0.01207, allocations: 159.5 kB / 0.5601 GB, free: 10.93 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001187/0.01219, allocations: 83.73 kB / 0.5601 GB, free: 10.84 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001259/0.01231, allocations: 79.83 kB / 0.5602 GB, free: 10.77 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005441/0.01286, allocations: 335 kB / 0.5605 GB, free: 10.44 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.915e-06/0.01286, allocations: 0 / 0.5605 GB, free: 10.44 MB / 490.7 MB Notification: Performance of FrontEnd: time 9.22e-07/0.01286, allocations: 3.938 kB / 0.5605 GB, free: 10.43 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.973e-06/0.01287, allocations: 0 / 0.5605 GB, free: 10.43 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.0009161/0.01379, allocations: 457.5 kB / 0.561 GB, free: 9.953 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.101e-05/0.01383, allocations: 12.75 kB / 0.561 GB, free: 9.941 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007029/0.01453, allocations: 116.7 kB / 0.5611 GB, free: 9.828 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003505/0.01488, allocations: 192 kB / 0.5613 GB, free: 9.617 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.165e-05/0.0149, allocations: 16.73 kB / 0.5613 GB, free: 9.602 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.063e-05/0.01494, allocations: 20.38 kB / 0.5613 GB, free: 9.582 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005853/0.01553, allocations: 377.3 kB / 0.5617 GB, free: 9.176 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/0.01554, allocations: 4.188 kB / 0.5617 GB, free: 9.172 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.011e-05/0.01557, allocations: 8.375 kB / 0.5617 GB, free: 9.164 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.195e-05/0.01561, allocations: 16.31 kB / 0.5617 GB, free: 9.148 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003686/0.01598, allocations: 206 kB / 0.5619 GB, free: 8.949 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001544/0.01752, allocations: 0.9851 MB / 0.5629 GB, free: 7.91 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002646/0.01779, allocations: 98.59 kB / 0.563 GB, free: 7.805 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.577e-05/0.01785, allocations: 28.86 kB / 0.563 GB, free: 7.773 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.012e-05/0.01786, allocations: 3.984 kB / 0.563 GB, free: 7.77 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.379e-05/0.0179, allocations: 34.5 kB / 0.563 GB, free: 7.727 MB / 490.7 MB Notification: Performance of pre-optimization done (n=7): time 1.192e-06/0.0179, allocations: 0 / 0.563 GB, free: 7.727 MB / 490.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004756/0.01837, allocations: 146.4 kB / 0.5632 GB, free: 7.574 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.675e-05/0.01842, allocations: 55.41 kB / 0.5632 GB, free: 7.508 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002268/0.01865, allocations: 183.1 kB / 0.5634 GB, free: 7.316 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.314e-05/0.01867, allocations: 29.64 kB / 0.5634 GB, free: 7.281 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002387/0.01891, allocations: 175.9 kB / 0.5636 GB, free: 7.105 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.06e-05/0.01894, allocations: 27.78 kB / 0.5636 GB, free: 7.078 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.887e-05/0.01901, allocations: 41.66 kB / 0.5637 GB, free: 7.031 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001705/0.01918, allocations: 322.8 kB / 0.564 GB, free: 6.707 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.518e-05/0.01926, allocations: 35.98 kB / 0.564 GB, free: 6.672 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001318/0.01939, allocations: 104.4 kB / 0.5641 GB, free: 6.539 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002309/0.01962, allocations: 152.5 kB / 0.5642 GB, free: 6.359 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.01962, allocations: 0 / 0.5642 GB, free: 6.359 MB / 490.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003679/0.01999, allocations: 194.1 kB / 0.5644 GB, free: 6.16 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/0.02001, allocations: 12.28 kB / 0.5644 GB, free: 6.148 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/0.02001, allocations: 7.938 kB / 0.5644 GB, free: 6.141 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002559/0.02027, allocations: 36.83 kB / 0.5645 GB, free: 6.102 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001167/0.02039, allocations: 23.98 kB / 0.5645 GB, free: 6.078 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001339/0.02173, allocations: 1.299 MB / 0.5658 GB, free: 4.68 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001284/0.02185, allocations: 15.92 kB / 0.5658 GB, free: 4.664 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.609e-05/0.02187, allocations: 8 kB / 0.5658 GB, free: 4.656 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.0001556/0.02203, allocations: 145.8 kB / 0.5659 GB, free: 4.504 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.46e-05/0.02207, allocations: 15.91 kB / 0.5659 GB, free: 4.488 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.723e-05/0.02211, allocations: 17.47 kB / 0.566 GB, free: 4.469 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.81e-06/0.02211, allocations: 7.938 kB / 0.566 GB, free: 4.461 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/0.02212, allocations: 0 / 0.566 GB, free: 4.461 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.02212, allocations: 8.125 kB / 0.566 GB, free: 4.453 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005511/0.02267, allocations: 370.8 kB / 0.5663 GB, free: 4.051 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.654e-06/0.02267, allocations: 0 / 0.5663 GB, free: 4.051 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.012e-05/0.02272, allocations: 11.98 kB / 0.5663 GB, free: 4.039 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001744/0.0229, allocations: 32.83 kB / 0.5664 GB, free: 4.004 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.085e-06/0.02291, allocations: 0 / 0.5664 GB, free: 4.004 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001225/0.02413, allocations: 1.288 MB / 0.5676 GB, free: 2.609 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.02413, allocations: 0 / 0.5676 GB, free: 2.609 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002871/0.02442, allocations: 212.2 kB / 0.5678 GB, free: 2.383 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.101e-05/0.02448, allocations: 23.89 kB / 0.5679 GB, free: 2.359 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.659e-05/0.0245, allocations: 0 / 0.5679 GB, free: 2.359 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001183/0.02461, allocations: 15.88 kB / 0.5679 GB, free: 2.344 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.751e-05/0.02464, allocations: 16.14 kB / 0.5679 GB, free: 2.328 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.5e-06/0.02465, allocations: 0 / 0.5679 GB, free: 2.328 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.000138/0.02479, allocations: 135.5 kB / 0.568 GB, free: 2.195 MB / 490.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02479, allocations: 0 / 0.568 GB, free: 2.195 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0003448/0.02513, allocations: 55.89 kB / 0.5681 GB, free: 2.141 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 0.0001183/0.02525, allocations: 95.19 kB / 0.5682 GB, free: 2.039 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0004028/0.02565, allocations: 202.9 kB / 0.5684 GB, free: 1.828 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.02565, allocations: 4 kB / 0.5684 GB, free: 1.824 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001902/0.02584, allocations: 146.5 kB / 0.5685 GB, free: 1.668 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003493/0.02619, allocations: 25.62 kB / 0.5685 GB, free: 1.645 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007009/0.02689, allocations: 357 kB / 0.5689 GB, free: 1.266 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001589/0.02705, allocations: 136.1 kB / 0.569 GB, free: 1.117 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 9.145e-05/0.02714, allocations: 21.47 kB / 0.569 GB, free: 1.094 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.108e-05/0.02719, allocations: 16.5 kB / 0.569 GB, free: 1.078 MB / 490.7 MB Notification: Performance of SimCode: time 5.21e-07/0.02719, allocations: 0 / 0.569 GB, free: 1.078 MB / 490.7 MB Notification: Performance of Templates: time 0.005412/0.0326, allocations: 1.683 MB / 0.5707 GB, free: 15.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=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.Resistance.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.4614561760099605]