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.009832/0.009832, allocations: 101.1 kB / 15.73 MB, free: 6.035 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.001604/0.001603, allocations: 186.8 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.588/1.588, allocations: 205.1 MB / 222.5 MB, free: 4.391 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.511/1.511, allocations: 251.7 MB / 0.5094 GB, free: 3.051 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.001463/0.001464, allocations: 68.47 kB / 0.7258 GB, free: 9.016 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2724/0.2739, allocations: 104.7 MB / 0.828 GB, free: 208 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.Resistor): time 0.00678/0.2808, allocations: 3.822 MB / 0.8318 GB, free: 12.36 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.003242/0.2841, allocations: 1.73 MB / 0.8334 GB, free: 10.62 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002179/0.2843, allocations: 4 kB / 0.8334 GB, free: 10.62 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001555/0.2859, allocations: 0.4902 MB / 0.8339 GB, free: 10.12 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0006115/0.2865, allocations: 222.9 kB / 0.8341 GB, free: 9.906 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006272/0.2871, allocations: 214.6 kB / 0.8343 GB, free: 9.699 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.000682/0.2878, allocations: 486.1 kB / 0.8348 GB, free: 9.223 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006855/0.2885, allocations: 361.1 kB / 0.8352 GB, free: 8.867 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000374/0.2889, allocations: 187.4 kB / 0.8353 GB, free: 8.684 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000575/0.2895, allocations: 215.2 kB / 0.8355 GB, free: 8.473 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 9.501e-05/0.2896, allocations: 35.98 kB / 0.8356 GB, free: 8.438 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000653/0.2903, allocations: 243.5 kB / 0.8358 GB, free: 8.199 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001823/0.2904, allocations: 123.7 kB / 0.8359 GB, free: 8.078 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0002519/0.2907, allocations: 183.1 kB / 0.8361 GB, free: 7.898 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0008622/0.2916, allocations: 498.5 kB / 0.8366 GB, free: 7.41 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.583e-06/0.2916, allocations: 0 / 0.8366 GB, free: 7.41 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.393e-06/0.2916, allocations: 3.938 kB / 0.8366 GB, free: 7.406 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.795e-05/0.2916, allocations: 0 / 0.8366 GB, free: 7.406 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.001391/0.293, allocations: 0.6355 MB / 0.8372 GB, free: 6.723 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.711e-05/0.2931, allocations: 12.03 kB / 0.8372 GB, free: 6.711 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001117/0.2942, allocations: 132.3 kB / 0.8373 GB, free: 6.582 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004927/0.2947, allocations: 299.6 kB / 0.8376 GB, free: 6.25 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.618e-05/0.2947, allocations: 21.03 kB / 0.8376 GB, free: 6.23 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.756e-05/0.2948, allocations: 28.38 kB / 0.8377 GB, free: 6.203 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007065/0.2955, allocations: 463.9 kB / 0.8381 GB, free: 5.715 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.836e-05/0.2955, allocations: 4 kB / 0.8381 GB, free: 5.711 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.877e-05/0.2956, allocations: 15.94 kB / 0.8381 GB, free: 5.695 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.225e-05/0.2956, allocations: 28.55 kB / 0.8382 GB, free: 5.668 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000481/0.2961, allocations: 321.9 kB / 0.8385 GB, free: 5.352 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002817/0.299, allocations: 2.181 MB / 0.8406 GB, free: 2.961 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004447/0.2994, allocations: 251.8 kB / 0.8408 GB, free: 2.688 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002773/0.2997, allocations: 104.8 kB / 0.8409 GB, free: 2.582 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.186e-05/0.2997, allocations: 0 / 0.8409 GB, free: 2.582 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.03e-05/0.2998, allocations: 34.66 kB / 0.841 GB, free: 2.539 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=14): time 3.066e-06/0.2998, allocations: 7.922 kB / 0.841 GB, free: 2.531 MB / 0.6544 GB Notification: Performance of matching and sorting (n=14): time 0.0007016/0.3005, allocations: 307.5 kB / 0.8413 GB, free: 2.203 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.73e-05/0.3006, allocations: 55.41 kB / 0.8413 GB, free: 2.137 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003087/0.3009, allocations: 262.6 kB / 0.8416 GB, free: 1.875 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.023e-05/0.3009, allocations: 29.7 kB / 0.8416 GB, free: 1.84 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001838/0.3011, allocations: 207.7 kB / 0.8418 GB, free: 1.633 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 4.567e-05/0.3012, allocations: 51.28 kB / 0.8418 GB, free: 1.582 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001008/0.3013, allocations: 53.84 kB / 0.8419 GB, free: 1.52 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.000187/0.3015, allocations: 338.8 kB / 0.8422 GB, free: 1.18 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001044/0.3016, allocations: 56.44 kB / 0.8423 GB, free: 1.125 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001857/0.3018, allocations: 148 kB / 0.8424 GB, free: 0.9414 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003472/0.3021, allocations: 218.9 kB / 0.8426 GB, free: 0.6875 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.3021, allocations: 0 / 0.8426 GB, free: 0.6875 MB / 0.6544 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004668/0.3026, allocations: 264.9 kB / 0.8429 GB, free: 432 kB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.572e-05/0.3026, allocations: 8 kB / 0.8429 GB, free: 424 kB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.042e-05/0.3027, allocations: 4 kB / 0.8429 GB, free: 420 kB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002248/0.3029, allocations: 28.83 kB / 0.8429 GB, free: 388 kB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000197/0.3031, allocations: 52.33 kB / 0.843 GB, free: 336 kB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001427/0.3045, allocations: 1.418 MB / 0.8443 GB, free: 14.77 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001949/0.3047, allocations: 27.66 kB / 0.8444 GB, free: 14.74 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.948e-05/0.3048, allocations: 12 kB / 0.8444 GB, free: 14.73 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.0002387/0.305, allocations: 171.3 kB / 0.8445 GB, free: 14.55 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.791e-05/0.3051, allocations: 19.81 kB / 0.8446 GB, free: 14.53 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.206e-05/0.3051, allocations: 29.83 kB / 0.8446 GB, free: 14.5 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.3051, allocations: 0 / 0.8446 GB, free: 14.5 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.3052, allocations: 0 / 0.8446 GB, free: 14.5 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.221e-06/0.3052, allocations: 8.062 kB / 0.8446 GB, free: 14.5 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001138/0.3063, allocations: 0.7023 MB / 0.8453 GB, free: 13.7 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.172e-06/0.3063, allocations: 4.188 kB / 0.8453 GB, free: 13.7 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.743e-05/0.3064, allocations: 27.98 kB / 0.8453 GB, free: 13.67 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000101/0.3065, allocations: 28.72 kB / 0.8453 GB, free: 13.64 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.73e-05/0.3066, allocations: 8 kB / 0.8454 GB, free: 13.63 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001244/0.3078, allocations: 1.418 MB / 0.8467 GB, free: 12.08 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.3078, allocations: 0 / 0.8467 GB, free: 12.08 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000398/0.3082, allocations: 313.3 kB / 0.847 GB, free: 11.73 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001473/0.3084, allocations: 124.7 kB / 0.8472 GB, free: 11.59 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.973e-05/0.3084, allocations: 8 kB / 0.8472 GB, free: 11.59 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001614/0.3086, allocations: 12 kB / 0.8472 GB, free: 11.57 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.819e-05/0.3086, allocations: 19.92 kB / 0.8472 GB, free: 11.55 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.385e-05/0.3087, allocations: 4 kB / 0.8472 GB, free: 11.55 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0002087/0.3089, allocations: 193.9 kB / 0.8474 GB, free: 11.36 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3089, allocations: 0 / 0.8474 GB, free: 11.36 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0004251/0.3093, allocations: 75.84 kB / 0.8475 GB, free: 11.29 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.0001556/0.3095, allocations: 107.7 kB / 0.8476 GB, free: 11.17 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0005818/0.3101, allocations: 278.4 kB / 0.8478 GB, free: 10.88 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/0.3101, allocations: 0 / 0.8478 GB, free: 10.88 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0002222/0.3103, allocations: 183.7 kB / 0.848 GB, free: 10.69 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005313/0.3109, allocations: 59.77 kB / 0.8481 GB, free: 10.64 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001136/0.312, allocations: 0.5358 MB / 0.8486 GB, free: 10.05 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005246/0.3125, allocations: 0.7948 MB / 0.8494 GB, free: 9.234 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0001474/0.3127, allocations: 38.27 kB / 0.8494 GB, free: 9.199 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.011e-05/0.3128, allocations: 23.44 kB / 0.8494 GB, free: 9.176 MB / 0.67 GB Notification: Performance of SimCode: time 3.51e-07/0.3128, allocations: 0 / 0.8494 GB, free: 9.176 MB / 0.67 GB Notification: Performance of Templates: time 0.006992/0.3198, allocations: 2.741 MB / 0.8521 GB, free: 6.469 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)