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.000924/0.000924, allocations: 79.69 kB / 21.74 MB, free: 2.516 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.001/0.001, allocations: 177.5 kB / 25.18 MB, free: 8.879 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.9089/0.9089, allocations: 177.1 MB / 205.6 MB, free: 5.059 MB / 186.7 MB " [Timeout remaining time 179] 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 1.888/1.888, allocations: 389.6 MB / 0.6364 GB, free: 12.22 MB / 0.6042 GB " [Timeout remaining time 178] 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.533e-06/1.533e-06, allocations: 0 / 0.7755 GB, free: 6.043 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.483e-05/1.636e-05, allocations: 4.75 kB / 0.7755 GB, free: 6.039 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.Resistance): time 0.00286/0.002877, allocations: 2.607 MB / 0.778 GB, free: 3.453 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001331/0.004207, allocations: 1.014 MB / 0.779 GB, free: 2.438 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001129/0.00432, allocations: 4 kB / 0.779 GB, free: 2.434 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0003963/0.004716, allocations: 96.41 kB / 0.7791 GB, free: 2.34 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0002341/0.004951, allocations: 139.6 kB / 0.7793 GB, free: 2.203 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001818/0.005132, allocations: 104.5 kB / 0.7794 GB, free: 2.102 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0002709/0.005403, allocations: 321 kB / 0.7797 GB, free: 1.789 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002367/0.00564, allocations: 189.9 kB / 0.7799 GB, free: 1.605 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001535/0.005793, allocations: 175.5 kB / 0.78 GB, free: 1.434 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002225/0.006016, allocations: 119.7 kB / 0.7801 GB, free: 1.316 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 2.623e-05/0.006042, allocations: 20 kB / 0.7802 GB, free: 1.297 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001466/0.006189, allocations: 98.47 kB / 0.7802 GB, free: 1.203 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 7.452e-05/0.006263, allocations: 83.81 kB / 0.7803 GB, free: 1.121 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 6.734e-05/0.006331, allocations: 79.83 kB / 0.7804 GB, free: 1.043 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.000275/0.006606, allocations: 235.2 kB / 0.7806 GB, free: 0.8125 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.914e-06/0.006608, allocations: 0 / 0.7806 GB, free: 0.8125 MB / 0.7292 GB Notification: Performance of FrontEnd: time 7.92e-07/0.006608, allocations: 0 / 0.7806 GB, free: 0.8125 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.588e-06/0.006613, allocations: 0 / 0.7806 GB, free: 0.8125 MB / 0.7292 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.0004974/0.00711, allocations: 427 kB / 0.781 GB, free: 384 kB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.648e-05/0.007147, allocations: 9.344 kB / 0.781 GB, free: 376 kB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003661/0.007513, allocations: 108.8 kB / 0.7811 GB, free: 268 kB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001801/0.007693, allocations: 181.5 kB / 0.7813 GB, free: 64 kB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.2e-05/0.007705, allocations: 12.75 kB / 0.7813 GB, free: 52 kB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.018e-05/0.007725, allocations: 17 kB / 0.7814 GB, free: 36 kB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002302/0.007955, allocations: 273 kB / 0.7816 GB, free: 15.73 MB / 0.7449 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.007963, allocations: 192 / 0.7816 GB, free: 15.73 MB / 0.7449 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.759e-05/0.007981, allocations: 16.36 kB / 0.7816 GB, free: 15.71 MB / 0.7449 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.703e-05/0.008008, allocations: 25.61 kB / 0.7817 GB, free: 15.69 MB / 0.7449 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.562e-05/0.008084, allocations: 60.03 kB / 0.7817 GB, free: 15.63 MB / 0.7449 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007167/0.0088, allocations: 0.8914 MB / 0.7826 GB, free: 14.69 MB / 0.7449 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000116/0.008916, allocations: 65.3 kB / 0.7826 GB, free: 14.62 MB / 0.7449 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.035e-05/0.008937, allocations: 13.73 kB / 0.7827 GB, free: 14.6 MB / 0.7449 GB Notification: Performance of preOpt evalFunc (simulation): time 5.4e-06/0.008942, allocations: 0 / 0.7827 GB, free: 14.6 MB / 0.7449 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.816e-05/0.00896, allocations: 35.81 kB / 0.7827 GB, free: 14.56 MB / 0.7449 GB Notification: Performance of pre-optimization done (n=7): time 1.042e-06/0.008961, allocations: 0 / 0.7827 GB, free: 14.56 MB / 0.7449 GB Notification: Performance of matching and sorting (n=7): time 0.0002113/0.009173, allocations: 104.2 kB / 0.7828 GB, free: 14.45 MB / 0.7449 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.283e-05/0.009196, allocations: 55.39 kB / 0.7828 GB, free: 14.38 MB / 0.7449 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.879e-05/0.009294, allocations: 183.8 kB / 0.783 GB, free: 14.19 MB / 0.7449 GB Notification: Performance of collectPreVariables (initialization): time 2.051e-05/0.009315, allocations: 25.7 kB / 0.783 GB, free: 14.16 MB / 0.7449 GB Notification: Performance of collectInitialEqns (initialization): time 7.601e-05/0.009391, allocations: 161.1 kB / 0.7832 GB, free: 14 MB / 0.7449 GB Notification: Performance of collectInitialBindings (initialization): time 1.734e-05/0.009408, allocations: 27.83 kB / 0.7832 GB, free: 13.97 MB / 0.7449 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.957e-05/0.009448, allocations: 37.66 kB / 0.7833 GB, free: 13.93 MB / 0.7449 GB Notification: Performance of setup shared object (initialization): time 7.861e-05/0.009526, allocations: 322.8 kB / 0.7836 GB, free: 13.61 MB / 0.7449 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.655e-05/0.009543, allocations: 12.64 kB / 0.7836 GB, free: 13.59 MB / 0.7449 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.879e-05/0.009592, allocations: 77.69 kB / 0.7837 GB, free: 13.49 MB / 0.7449 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.239e-05/0.009674, allocations: 113.3 kB / 0.7838 GB, free: 13.35 MB / 0.7449 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.624e-06/0.009676, allocations: 1.75 kB / 0.7838 GB, free: 13.35 MB / 0.7449 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001752/0.009851, allocations: 123.3 kB / 0.7839 GB, free: 13.22 MB / 0.7449 GB Notification: Performance of prepare postOptimizeDAE: time 1.369e-05/0.009865, allocations: 8 kB / 0.7839 GB, free: 13.21 MB / 0.7449 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.00987, allocations: 0.9375 kB / 0.7839 GB, free: 13.21 MB / 0.7449 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001506/0.01002, allocations: 39.08 kB / 0.7839 GB, free: 13.17 MB / 0.7449 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.112e-05/0.01008, allocations: 27.94 kB / 0.784 GB, free: 13.14 MB / 0.7449 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005771/0.01066, allocations: 1.188 MB / 0.7851 GB, free: 11.86 MB / 0.7449 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.572e-05/0.01071, allocations: 19.83 kB / 0.7851 GB, free: 11.84 MB / 0.7449 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.103e-06/0.01072, allocations: 9.516 kB / 0.7851 GB, free: 11.84 MB / 0.7449 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 6.713e-05/0.01079, allocations: 124.7 kB / 0.7853 GB, free: 11.7 MB / 0.7449 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.706e-05/0.01081, allocations: 7.938 kB / 0.7853 GB, free: 11.7 MB / 0.7449 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.616e-05/0.01082, allocations: 22.92 kB / 0.7853 GB, free: 11.68 MB / 0.7449 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.72e-07/0.01082, allocations: 0 / 0.7853 GB, free: 11.68 MB / 0.7449 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.763e-06/0.01082, allocations: 0 / 0.7853 GB, free: 11.68 MB / 0.7449 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.01083, allocations: 7.938 kB / 0.7853 GB, free: 11.67 MB / 0.7449 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000212/0.01104, allocations: 256.4 kB / 0.7855 GB, free: 11.39 MB / 0.7449 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.01104, allocations: 0 / 0.7855 GB, free: 11.39 MB / 0.7449 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.913e-05/0.01106, allocations: 8.719 kB / 0.7855 GB, free: 11.38 MB / 0.7449 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001381/0.0112, allocations: 38.8 kB / 0.7856 GB, free: 11.34 MB / 0.7449 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.398e-06/0.0112, allocations: 3.938 kB / 0.7856 GB, free: 11.34 MB / 0.7449 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004614/0.01166, allocations: 1.19 MB / 0.7868 GB, free: 10.05 MB / 0.7449 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.62e-07/0.01167, allocations: 0 / 0.7868 GB, free: 10.05 MB / 0.7449 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001002/0.01177, allocations: 175.1 kB / 0.7869 GB, free: 9.859 MB / 0.7449 GB Notification: Performance of postOpt removeConstants (simulation): time 2.468e-05/0.01179, allocations: 23.83 kB / 0.7869 GB, free: 9.836 MB / 0.7449 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.716e-06/0.0118, allocations: 3.031 kB / 0.7869 GB, free: 9.836 MB / 0.7449 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.772e-05/0.01185, allocations: 4 kB / 0.7869 GB, free: 9.832 MB / 0.7449 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.299e-05/0.01186, allocations: 11.92 kB / 0.787 GB, free: 9.82 MB / 0.7449 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.489e-06/0.01186, allocations: 4 kB / 0.787 GB, free: 9.816 MB / 0.7449 GB Notification: Performance of sorting global known variables: time 3.388e-05/0.0119, allocations: 40.81 kB / 0.787 GB, free: 9.773 MB / 0.7449 GB Notification: Performance of sort global known variables: time 4e-08/0.0119, allocations: 0 / 0.787 GB, free: 9.773 MB / 0.7449 GB Notification: Performance of remove unused functions: time 0.0001633/0.01206, allocations: 51.89 kB / 0.7871 GB, free: 9.723 MB / 0.7449 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 6.437e-05/0.01213, allocations: 77.92 kB / 0.7871 GB, free: 9.641 MB / 0.7449 GB Notification: Performance of simCode: created initialization part: time 0.000187/0.01231, allocations: 181 kB / 0.7873 GB, free: 9.449 MB / 0.7449 GB Notification: Performance of simCode: created event and clocks part: time 5.17e-06/0.01232, allocations: 4 kB / 0.7873 GB, free: 9.445 MB / 0.7449 GB Notification: Performance of simCode: created simulation system equations: time 6.432e-05/0.01238, allocations: 136.5 kB / 0.7874 GB, free: 9.297 MB / 0.7449 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001653/0.01255, allocations: 30.47 kB / 0.7875 GB, free: 9.27 MB / 0.7449 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005606/0.01311, allocations: 405.4 kB / 0.7878 GB, free: 8.844 MB / 0.7449 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001023/0.01321, allocations: 134.3 kB / 0.788 GB, free: 8.695 MB / 0.7449 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.228e-05/0.01329, allocations: 75.36 kB / 0.788 GB, free: 8.621 MB / 0.7449 GB Notification: Performance of SimCode: time 5.61e-07/0.01329, allocations: 4 kB / 0.7881 GB, free: 8.617 MB / 0.7449 GB Notification: Performance of Templates: time 0.003089/0.01638, allocations: 2.978 MB / 0.791 GB, free: 5.75 MB / 0.7449 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 > Buildings_13_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.750463442876935]