Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Electrical.DC.Loads.Examples.Resistor.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.002464/0.002464, 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.002996/0.002996, allocations: 173.2 kB / 23.24 MB, free: 1.324 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.735/1.735, allocations: 177.1 MB / 203.5 MB, free: 5.727 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.29/3.29, allocations: 389.5 MB / 0.6343 GB, free: 12.58 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.Loads.Examples.Resistor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Electrical.DC.Loads.Examples.Resistor") translateModel(Buildings.Electrical.DC.Loads.Examples.Resistor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Electrical.DC.Loads.Examples.Resistor") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 1.001 GB, free: 13.02 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.818e-05/2.986e-05, allocations: 9.594 kB / 1.001 GB, free: 13.01 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.Resistor): time 0.006584/0.006614, allocations: 3.739 MB / 1.005 GB, free: 9.254 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.003449/0.01006, allocations: 1.69 MB / 1.006 GB, free: 7.555 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000163/0.01023, allocations: 15.94 kB / 1.006 GB, free: 7.539 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.001562/0.01179, allocations: 497.9 kB / 1.007 GB, free: 7.051 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0005885/0.01238, allocations: 242.5 kB / 1.007 GB, free: 6.812 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005908/0.01297, allocations: 199.4 kB / 1.007 GB, free: 6.617 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0007282/0.0137, allocations: 494.2 kB / 1.008 GB, free: 6.133 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006094/0.0143, allocations: 297.3 kB / 1.008 GB, free: 5.844 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004006/0.01471, allocations: 271.4 kB / 1.008 GB, free: 5.578 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004654/0.01517, allocations: 195.5 kB / 1.009 GB, free: 5.387 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 6.49e-05/0.01524, allocations: 32 kB / 1.009 GB, free: 5.355 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004713/0.01571, allocations: 227.3 kB / 1.009 GB, free: 5.133 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 0.0001824/0.01589, allocations: 135.6 kB / 1.009 GB, free: 5 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.0001907/0.01608, allocations: 119.7 kB / 1.009 GB, free: 4.883 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0008401/0.01692, allocations: 0.514 MB / 1.01 GB, free: 4.367 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.01693, allocations: 0 / 1.01 GB, free: 4.367 MB / 0.9636 GB Notification: Performance of FrontEnd: time 2.264e-06/0.01693, allocations: 0 / 1.01 GB, free: 4.367 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 9.107e-06/0.01694, allocations: 0 / 1.01 GB, free: 4.367 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: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.001169/0.01811, allocations: 0.5674 MB / 1.01 GB, free: 3.77 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.446e-05/0.01815, allocations: 9.344 kB / 1.01 GB, free: 3.762 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009181/0.01907, allocations: 136.6 kB / 1.01 GB, free: 3.629 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004361/0.0195, allocations: 241.2 kB / 1.01 GB, free: 3.367 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.554e-05/0.01954, allocations: 24.97 kB / 1.01 GB, free: 3.34 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.947e-05/0.0196, allocations: 24.38 kB / 1.01 GB, free: 3.316 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008354/0.02044, allocations: 0.5826 MB / 1.011 GB, free: 2.668 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.471e-05/0.02045, allocations: 192 / 1.011 GB, free: 2.668 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.859e-05/0.02049, allocations: 12.38 kB / 1.011 GB, free: 2.656 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.365e-05/0.02055, allocations: 32.58 kB / 1.011 GB, free: 2.625 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005425/0.02109, allocations: 318.3 kB / 1.011 GB, free: 2.316 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002172/0.02327, allocations: 1.513 MB / 1.013 GB, free: 0.7305 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004058/0.02367, allocations: 154.7 kB / 1.013 GB, free: 0.5703 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002676/0.02394, allocations: 100.8 kB / 1.013 GB, free: 480 kB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.131e-05/0.02395, allocations: 256 / 1.013 GB, free: 480 kB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.183e-05/0.02399, allocations: 46.44 kB / 1.013 GB, free: 424 kB / 0.9636 GB Notification: Performance of pre-optimization done (n=14): time 9.32e-07/0.02399, allocations: 0 / 1.013 GB, free: 424 kB / 0.9636 GB Notification: Performance of matching and sorting (n=14): time 0.0006397/0.02463, allocations: 218 kB / 1.013 GB, free: 200 kB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.69e-05/0.02468, allocations: 51.41 kB / 1.013 GB, free: 136 kB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003163/0.025, allocations: 232.1 kB / 1.014 GB, free: 15.89 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 2.965e-05/0.02503, allocations: 29.8 kB / 1.014 GB, free: 15.86 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001938/0.02522, allocations: 224 kB / 1.014 GB, free: 15.63 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 5.396e-05/0.02527, allocations: 51.55 kB / 1.014 GB, free: 15.59 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.61e-05/0.02537, allocations: 49.89 kB / 1.014 GB, free: 15.53 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0002102/0.02558, allocations: 326.8 kB / 1.014 GB, free: 15.2 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001206/0.0257, allocations: 56.44 kB / 1.014 GB, free: 15.14 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002043/0.02591, allocations: 148 kB / 1.014 GB, free: 14.96 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004595/0.02637, allocations: 222.9 kB / 1.015 GB, free: 14.7 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.02637, allocations: 3.938 kB / 1.015 GB, free: 14.7 MB / 0.9792 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004891/0.02686, allocations: 268.5 kB / 1.015 GB, free: 14.43 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 2.079e-05/0.02688, allocations: 8 kB / 1.015 GB, free: 14.42 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/0.02689, allocations: 7.938 kB / 1.015 GB, free: 14.41 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001886/0.02708, allocations: 24.84 kB / 1.015 GB, free: 14.39 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002036/0.02728, allocations: 51.91 kB / 1.015 GB, free: 14.34 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001441/0.02872, allocations: 1.304 MB / 1.016 GB, free: 12.93 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001492/0.02887, allocations: 19.89 kB / 1.016 GB, free: 12.91 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.782e-05/0.02889, allocations: 8 kB / 1.016 GB, free: 12.9 MB / 0.9792 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (27): * Single equations (assignments): 26 * 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.000201/0.02909, allocations: 168.3 kB / 1.016 GB, free: 12.73 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.094e-05/0.02914, allocations: 19.86 kB / 1.017 GB, free: 12.71 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.586e-05/0.02919, allocations: 29.45 kB / 1.017 GB, free: 12.68 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.0292, allocations: 3.938 kB / 1.017 GB, free: 12.68 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.0292, allocations: 4.125 kB / 1.017 GB, free: 12.67 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.02921, allocations: 0 / 1.017 GB, free: 12.67 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009495/0.03016, allocations: 0.5583 MB / 1.017 GB, free: 12.05 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.03016, allocations: 0 / 1.017 GB, free: 12.05 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.516e-05/0.03025, allocations: 27.92 kB / 1.017 GB, free: 12.03 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.799e-05/0.03035, allocations: 25.03 kB / 1.017 GB, free: 12 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.593e-05/0.03037, allocations: 12 kB / 1.017 GB, free: 11.99 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00116/0.03153, allocations: 1.285 MB / 1.018 GB, free: 10.61 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/0.03153, allocations: 4.031 kB / 1.018 GB, free: 10.6 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003858/0.03192, allocations: 305.3 kB / 1.019 GB, free: 10.27 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 8.107e-05/0.032, allocations: 39.72 kB / 1.019 GB, free: 10.23 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.478e-05/0.03202, allocations: 8.156 kB / 1.019 GB, free: 10.22 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001518/0.03218, allocations: 12 kB / 1.019 GB, free: 10.21 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.704e-05/0.03221, allocations: 19.91 kB / 1.019 GB, free: 10.19 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.139e-05/0.03222, allocations: 4.094 kB / 1.019 GB, free: 10.18 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0001716/0.0324, allocations: 161.8 kB / 1.019 GB, free: 10.03 MB / 0.9792 GB Notification: Performance of sort global known variables: time 6e-08/0.0324, allocations: 0 / 1.019 GB, free: 10.03 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0003873/0.03278, allocations: 75.84 kB / 1.019 GB, free: 9.953 MB / 0.9792 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (14): * Single equations (assignments): 13 * 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.0001754/0.03296, allocations: 115.2 kB / 1.019 GB, free: 9.828 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.0005389/0.0335, allocations: 258.4 kB / 1.019 GB, free: 9.562 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.0335, allocations: 3.938 kB / 1.019 GB, free: 9.559 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0002648/0.03377, allocations: 179.6 kB / 1.02 GB, free: 9.371 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005026/0.03427, allocations: 68.22 kB / 1.02 GB, free: 9.309 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001013/0.03528, allocations: 0.5187 MB / 1.02 GB, free: 8.746 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002314/0.03551, allocations: 190.1 kB / 1.02 GB, free: 8.543 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.0001321/0.03564, allocations: 41.86 kB / 1.02 GB, free: 8.504 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.134e-05/0.0357, allocations: 20.5 kB / 1.02 GB, free: 8.484 MB / 0.9792 GB Notification: Performance of SimCode: time 5.11e-07/0.0357, allocations: 0 / 1.02 GB, free: 8.484 MB / 0.9792 GB Notification: Performance of Templates: time 0.007491/0.04319, allocations: 2.417 MB / 1.023 GB, free: 6.133 MB / 0.9792 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Electrical.DC.Loads.Examples.Resistor.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe ; mkfifo Buildings_13_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe ; head -c 1048576 < Buildings_13_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe >> ../files/Buildings_13_Buildings.Electrical.DC.Loads.Examples.Resistor.sim & ./Buildings_13_Buildings.Electrical.DC.Loads.Examples.Resistor -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 9.545458415523171]