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.001744/0.001744, allocations: 104.3 kB / 19.72 MB, free: 420 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.001883/0.001883, allocations: 217 kB / 23.02 MB, free: 2.961 MB / 13.93 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.77/1.77, allocations: 230.6 MB / 256.8 MB, free: 9.586 MB / 202.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.324/3.324, allocations: 0.5045 GB / 0.8104 GB, free: 2.824 MB / 0.6511 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 0.003657/0.003657, allocations: 67.89 kB / 1.177 GB, free: 11.53 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.033/1.037, allocations: 180 MB / 1.353 GB, free: 1.66 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.Resistor): time 0.006948/1.044, allocations: 3.796 MB / 1.357 GB, free: 13.85 MB / 1.042 GB Notification: Performance of NFInst.instExpressions: time 0.00341/1.047, allocations: 1.695 MB / 1.358 GB, free: 12.15 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001917/1.048, allocations: 11.94 kB / 1.358 GB, free: 12.14 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 0.001571/1.049, allocations: 0.491 MB / 1.359 GB, free: 11.64 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 0.0006079/1.05, allocations: 226.9 kB / 1.359 GB, free: 11.42 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005882/1.05, allocations: 212.6 kB / 1.359 GB, free: 11.21 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 0.0006114/1.051, allocations: 482.1 kB / 1.36 GB, free: 10.74 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005656/1.052, allocations: 284.3 kB / 1.36 GB, free: 10.47 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002695/1.052, allocations: 203.2 kB / 1.36 GB, free: 10.27 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000458/1.052, allocations: 215.2 kB / 1.36 GB, free: 10.06 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 5.631e-05/1.052, allocations: 28 kB / 1.36 GB, free: 10.03 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004519/1.053, allocations: 231.4 kB / 1.361 GB, free: 9.805 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001557/1.053, allocations: 119.6 kB / 1.361 GB, free: 9.688 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001803/1.053, allocations: 147.4 kB / 1.361 GB, free: 9.543 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.000724/1.054, allocations: 0.5059 MB / 1.361 GB, free: 9.035 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/1.054, allocations: 0 / 1.361 GB, free: 9.035 MB / 1.042 GB Notification: Performance of FrontEnd: time 1.553e-06/1.054, allocations: 0 / 1.361 GB, free: 9.035 MB / 1.042 GB Notification: Performance of Transformations before backend: time 7.143e-06/1.054, allocations: 0 / 1.361 GB, free: 9.035 MB / 1.042 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.001108/1.055, allocations: 0.5674 MB / 1.362 GB, free: 8.438 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 5.135e-05/1.055, allocations: 12.86 kB / 1.362 GB, free: 8.426 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008622/1.056, allocations: 136.6 kB / 1.362 GB, free: 8.293 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004473/1.056, allocations: 234.5 kB / 1.362 GB, free: 8.039 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.753e-05/1.056, allocations: 28.97 kB / 1.362 GB, free: 8.012 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.597e-05/1.056, allocations: 24.38 kB / 1.362 GB, free: 7.988 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008428/1.057, allocations: 0.5823 MB / 1.363 GB, free: 7.34 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.44e-05/1.057, allocations: 0 / 1.363 GB, free: 7.34 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.057e-05/1.057, allocations: 15.98 kB / 1.363 GB, free: 7.324 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.419e-05/1.057, allocations: 32.62 kB / 1.363 GB, free: 7.293 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006589/1.058, allocations: 322.3 kB / 1.363 GB, free: 6.977 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002095/1.06, allocations: 1.517 MB / 1.365 GB, free: 5.391 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003704/1.061, allocations: 158.7 kB / 1.365 GB, free: 5.227 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002384/1.061, allocations: 97.94 kB / 1.365 GB, free: 5.129 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.829e-05/1.061, allocations: 7.938 kB / 1.365 GB, free: 5.121 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.585e-05/1.061, allocations: 38.55 kB / 1.365 GB, free: 5.074 MB / 1.042 GB Notification: Performance of pre-optimization done (n=14): time 1.072e-06/1.061, allocations: 0 / 1.365 GB, free: 5.074 MB / 1.042 GB Notification: Performance of matching and sorting (n=14): time 0.0006025/1.061, allocations: 215.8 kB / 1.365 GB, free: 4.855 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.909e-05/1.062, allocations: 55.34 kB / 1.365 GB, free: 4.789 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002745/1.062, allocations: 232 kB / 1.365 GB, free: 4.551 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 2.274e-05/1.062, allocations: 29.64 kB / 1.365 GB, free: 4.516 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001891/1.062, allocations: 220.1 kB / 1.366 GB, free: 4.297 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 4.584e-05/1.062, allocations: 51.64 kB / 1.366 GB, free: 4.246 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001009/1.062, allocations: 49.89 kB / 1.366 GB, free: 4.188 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 0.000176/1.062, allocations: 330.8 kB / 1.366 GB, free: 3.855 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001079/1.062, allocations: 56.44 kB / 1.366 GB, free: 3.801 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001844/1.063, allocations: 141 kB / 1.366 GB, free: 3.625 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000315/1.063, allocations: 222.9 kB / 1.366 GB, free: 3.367 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/1.063, allocations: 4 kB / 1.366 GB, free: 3.363 MB / 1.042 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004525/1.063, allocations: 257 kB / 1.367 GB, free: 3.105 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.883e-05/1.063, allocations: 7.938 kB / 1.367 GB, free: 3.098 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.166e-05/1.063, allocations: 11.98 kB / 1.367 GB, free: 3.086 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001779/1.064, allocations: 28.84 kB / 1.367 GB, free: 3.055 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001921/1.064, allocations: 47.92 kB / 1.367 GB, free: 3.008 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001304/1.065, allocations: 1.303 MB / 1.368 GB, free: 1.605 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001557/1.065, allocations: 23.84 kB / 1.368 GB, free: 1.582 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.88e-05/1.065, allocations: 12 kB / 1.368 GB, free: 1.57 MB / 1.042 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.0001905/1.065, allocations: 165.7 kB / 1.368 GB, free: 1.398 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.418e-05/1.065, allocations: 27.8 kB / 1.368 GB, free: 1.371 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.812e-05/1.066, allocations: 25.45 kB / 1.368 GB, free: 1.344 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.764e-06/1.066, allocations: 0 / 1.368 GB, free: 1.344 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.808e-06/1.066, allocations: 0 / 1.368 GB, free: 1.344 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/1.066, allocations: 8.094 kB / 1.368 GB, free: 1.336 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009135/1.066, allocations: 0.5505 MB / 1.369 GB, free: 0.7266 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.049e-06/1.066, allocations: 4 kB / 1.369 GB, free: 0.7227 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.338e-05/1.067, allocations: 23.92 kB / 1.369 GB, free: 0.6992 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.403e-05/1.067, allocations: 24.84 kB / 1.369 GB, free: 0.6719 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.295e-05/1.067, allocations: 4.188 kB / 1.369 GB, free: 0.668 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001355/1.068, allocations: 1.295 MB / 1.37 GB, free: 15.27 MB / 1.057 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.182e-06/1.068, allocations: 4 kB / 1.37 GB, free: 15.26 MB / 1.057 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003947/1.068, allocations: 313.2 kB / 1.37 GB, free: 14.92 MB / 1.057 GB Notification: Performance of postOpt removeConstants (simulation): time 7.827e-05/1.069, allocations: 35.78 kB / 1.371 GB, free: 14.88 MB / 1.057 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.706e-05/1.069, allocations: 8.078 kB / 1.371 GB, free: 14.88 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001532/1.069, allocations: 20.09 kB / 1.371 GB, free: 14.86 MB / 1.057 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.103e-05/1.069, allocations: 15.92 kB / 1.371 GB, free: 14.84 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.502e-05/1.069, allocations: 11.94 kB / 1.371 GB, free: 14.83 MB / 1.057 GB Notification: Performance of sorting global known variables: time 0.0001739/1.069, allocations: 157.8 kB / 1.371 GB, free: 14.68 MB / 1.057 GB Notification: Performance of sort global known variables: time 7e-08/1.069, allocations: 0 / 1.371 GB, free: 14.68 MB / 1.057 GB Notification: Performance of remove unused functions: time 0.0004007/1.069, allocations: 75.84 kB / 1.371 GB, free: 14.6 MB / 1.057 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.0001427/1.069, allocations: 107.2 kB / 1.371 GB, free: 14.49 MB / 1.057 GB Notification: Performance of simCode: created initialization part: time 0.0005114/1.07, allocations: 270.4 kB / 1.371 GB, free: 14.21 MB / 1.057 GB Notification: Performance of simCode: created event and clocks part: time 6.983e-06/1.07, allocations: 4 kB / 1.371 GB, free: 14.21 MB / 1.057 GB Notification: Performance of simCode: created simulation system equations: time 0.0002301/1.07, allocations: 171.7 kB / 1.371 GB, free: 14.03 MB / 1.057 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004437/1.071, allocations: 53.77 kB / 1.371 GB, free: 13.98 MB / 1.057 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009842/1.072, allocations: 0.5459 MB / 1.372 GB, free: 13.39 MB / 1.057 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002267/1.072, allocations: 190 kB / 1.372 GB, free: 13.19 MB / 1.057 GB Notification: Performance of simCode: alias equations: time 0.0001325/1.072, allocations: 41.91 kB / 1.372 GB, free: 13.14 MB / 1.057 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.451e-05/1.072, allocations: 19.44 kB / 1.372 GB, free: 13.13 MB / 1.057 GB Notification: Performance of SimCode: time 7.02e-07/1.072, allocations: 0 / 1.372 GB, free: 13.13 MB / 1.057 GB Notification: Performance of Templates: time 0.007134/1.079, allocations: 2.77 MB / 1.375 GB, free: 10.43 MB / 1.057 GB " [Timeout remaining time 299] 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: 10.373048104345798]