Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.Resistor.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.Loads.Examples.Resistor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.Resistor") translateModel(Buildings.Electrical.DC.Loads.Examples.Resistor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.Resistor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008515/0.008515, allocations: 104 kB / 15.73 MB, free: 6.043 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.001764/0.001764, allocations: 189.6 kB / 16.67 MB, free: 5.973 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.592/1.592, allocations: 205.1 MB / 222.5 MB, free: 4.52 MB / 174.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.568/1.568, allocations: 251.7 MB / 0.5094 GB, free: 3.094 MB / 414.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.00152/0.00152, allocations: 67.91 kB / 0.7258 GB, free: 9.074 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2518/0.2533, allocations: 104.7 MB / 0.828 GB, free: 260 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.Resistor): time 0.006909/0.2603, allocations: 3.818 MB / 0.8318 GB, free: 12.42 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.003251/0.2636, allocations: 1.734 MB / 0.8334 GB, free: 10.67 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002083/0.2638, allocations: 11.94 kB / 0.8335 GB, free: 10.66 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001507/0.2653, allocations: 0.4902 MB / 0.8339 GB, free: 10.17 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0005221/0.2659, allocations: 218.9 kB / 0.8341 GB, free: 9.953 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.00053/0.2665, allocations: 215.5 kB / 0.8344 GB, free: 9.742 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.000487/0.2669, allocations: 482.1 kB / 0.8348 GB, free: 9.27 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005756/0.2675, allocations: 353.1 kB / 0.8351 GB, free: 8.922 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002245/0.2678, allocations: 199.3 kB / 0.8353 GB, free: 8.727 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003871/0.2682, allocations: 223.1 kB / 0.8355 GB, free: 8.508 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 4.736e-05/0.2682, allocations: 28 kB / 0.8356 GB, free: 8.48 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004282/0.2687, allocations: 243.5 kB / 0.8358 GB, free: 8.242 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001471/0.2688, allocations: 131.6 kB / 0.8359 GB, free: 8.113 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001851/0.269, allocations: 171.2 kB / 0.8361 GB, free: 7.945 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0006214/0.2696, allocations: 0.4984 MB / 0.8366 GB, free: 7.445 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.241e-06/0.2696, allocations: 0 / 0.8366 GB, free: 7.445 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.673e-06/0.2697, allocations: 0 / 0.8366 GB, free: 7.445 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 8.296e-06/0.2697, allocations: 0 / 0.8366 GB, free: 7.445 MB / 0.6544 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.00109/0.2708, allocations: 0.6355 MB / 0.8372 GB, free: 6.762 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.071e-05/0.2708, allocations: 8.031 kB / 0.8372 GB, free: 6.754 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000899/0.2717, allocations: 136.3 kB / 0.8373 GB, free: 6.621 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003962/0.2721, allocations: 299.6 kB / 0.8376 GB, free: 6.289 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.109e-05/0.2721, allocations: 21.03 kB / 0.8376 GB, free: 6.27 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.569e-05/0.2722, allocations: 24.38 kB / 0.8377 GB, free: 6.246 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006351/0.2728, allocations: 463.9 kB / 0.8381 GB, free: 5.758 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.585e-05/0.2729, allocations: 3.938 kB / 0.8381 GB, free: 5.754 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.737e-05/0.2729, allocations: 15.98 kB / 0.8381 GB, free: 5.738 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.881e-05/0.273, allocations: 32.55 kB / 0.8382 GB, free: 5.707 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000498/0.2735, allocations: 321.9 kB / 0.8385 GB, free: 5.391 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002353/0.2758, allocations: 2.177 MB / 0.8406 GB, free: 3.004 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004324/0.2763, allocations: 251.8 kB / 0.8408 GB, free: 2.73 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002477/0.2765, allocations: 108.8 kB / 0.8409 GB, free: 2.621 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.941e-05/0.2766, allocations: 4 kB / 0.8409 GB, free: 2.617 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.049e-05/0.2766, allocations: 30.56 kB / 0.841 GB, free: 2.578 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=14): time 1.984e-06/0.2766, allocations: 0 / 0.841 GB, free: 2.578 MB / 0.6544 GB Notification: Performance of matching and sorting (n=14): time 0.0006629/0.2773, allocations: 311.1 kB / 0.8413 GB, free: 2.25 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.831e-05/0.2773, allocations: 51.41 kB / 0.8413 GB, free: 2.188 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003311/0.2777, allocations: 266.6 kB / 0.8416 GB, free: 1.922 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.211e-05/0.2777, allocations: 29.7 kB / 0.8416 GB, free: 1.887 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001555/0.2779, allocations: 207.8 kB / 0.8418 GB, free: 1.68 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 4.482e-05/0.2779, allocations: 51.33 kB / 0.8418 GB, free: 1.629 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.719e-05/0.278, allocations: 53.8 kB / 0.8419 GB, free: 1.566 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001672/0.2782, allocations: 338.8 kB / 0.8422 GB, free: 1.227 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.771e-05/0.2783, allocations: 56.44 kB / 0.8423 GB, free: 1.172 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000171/0.2784, allocations: 152 kB / 0.8424 GB, free: 0.9844 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002729/0.2787, allocations: 214.9 kB / 0.8426 GB, free: 0.7344 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.776e-06/0.2787, allocations: 0 / 0.8426 GB, free: 0.7344 MB / 0.6544 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003862/0.2791, allocations: 272.9 kB / 0.8429 GB, free: 472 kB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.865e-05/0.2792, allocations: 8 kB / 0.8429 GB, free: 464 kB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.2792, allocations: 0 / 0.8429 GB, free: 464 kB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000188/0.2794, allocations: 28.84 kB / 0.8429 GB, free: 432 kB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001704/0.2795, allocations: 44.3 kB / 0.843 GB, free: 388 kB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001114/0.2807, allocations: 1.43 MB / 0.8444 GB, free: 14.8 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001574/0.2808, allocations: 27.66 kB / 0.8444 GB, free: 14.78 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.718e-05/0.2809, allocations: 12 kB / 0.8444 GB, free: 14.77 MB / 0.67 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.0001788/0.281, allocations: 169.6 kB / 0.8446 GB, free: 14.59 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.608e-05/0.2811, allocations: 19.81 kB / 0.8446 GB, free: 14.57 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.57e-05/0.2812, allocations: 29.77 kB / 0.8446 GB, free: 14.54 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-06/0.2812, allocations: 4 kB / 0.8446 GB, free: 14.54 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.516e-06/0.2812, allocations: 4.062 kB / 0.8446 GB, free: 14.54 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.2812, allocations: 0 / 0.8446 GB, free: 14.54 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000858/0.282, allocations: 0.6947 MB / 0.8453 GB, free: 13.75 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.2821, allocations: 4.281 kB / 0.8453 GB, free: 13.75 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.406e-05/0.2822, allocations: 35.86 kB / 0.8453 GB, free: 13.71 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.598e-05/0.2822, allocations: 24.78 kB / 0.8454 GB, free: 13.68 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.471e-05/0.2823, allocations: 8 kB / 0.8454 GB, free: 13.68 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009686/0.2832, allocations: 1.414 MB / 0.8467 GB, free: 12.12 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.2833, allocations: 3.984 kB / 0.8467 GB, free: 12.12 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003435/0.2836, allocations: 313.2 kB / 0.847 GB, free: 11.78 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 9.686e-05/0.2837, allocations: 112.8 kB / 0.8472 GB, free: 11.65 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.848e-05/0.2838, allocations: 12 kB / 0.8472 GB, free: 11.64 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001525/0.2839, allocations: 15.98 kB / 0.8472 GB, free: 11.62 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.441e-05/0.284, allocations: 15.92 kB / 0.8472 GB, free: 11.61 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.333e-05/0.284, allocations: 8 kB / 0.8472 GB, free: 11.6 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0001771/0.2842, allocations: 193.9 kB / 0.8474 GB, free: 11.41 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.8e-07/0.2842, allocations: 3.938 kB / 0.8474 GB, free: 11.4 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0003889/0.2846, allocations: 71.84 kB / 0.8475 GB, free: 11.33 MB / 0.67 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.0001287/0.2847, allocations: 103.8 kB / 0.8476 GB, free: 11.22 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0004679/0.2852, allocations: 274.4 kB / 0.8478 GB, free: 10.94 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/0.2852, allocations: 4.75 kB / 0.8478 GB, free: 10.93 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0002066/0.2854, allocations: 186.8 kB / 0.848 GB, free: 10.74 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004578/0.2859, allocations: 57.75 kB / 0.8481 GB, free: 10.69 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008947/0.2868, allocations: 0.5398 MB / 0.8486 GB, free: 10.1 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00043/0.2872, allocations: 0.7909 MB / 0.8494 GB, free: 9.285 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.000148/0.2874, allocations: 46.25 kB / 0.8494 GB, free: 9.242 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.799e-05/0.2874, allocations: 23.61 kB / 0.8494 GB, free: 9.219 MB / 0.67 GB Notification: Performance of SimCode: time 5.51e-07/0.2874, allocations: 0 / 0.8494 GB, free: 9.219 MB / 0.67 GB Notification: Performance of Templates: time 0.006461/0.2939, allocations: 2.733 MB / 0.8521 GB, free: 6.512 MB / 0.67 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.Resistor.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.Resistor.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.Resistor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe 2>&1)