Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.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.AC.OnePhase.Loads.Examples.ParallelResistors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009656/0.009656, allocations: 104.3 kB / 15.74 MB, free: 6.441 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.001409/0.00141, allocations: 190.2 kB / 16.67 MB, free: 6.355 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.869/1.869, allocations: 205.1 MB / 222.5 MB, free: 4.473 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.841/1.841, allocations: 251.7 MB / 0.5094 GB, free: 2.984 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.00183/0.00183, allocations: 67.91 kB / 0.7258 GB, free: 9.016 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3041/0.3059, allocations: 104.7 MB / 0.828 GB, free: 196 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors): time 0.004574/0.3105, allocations: 2.641 MB / 0.8306 GB, free: 13.54 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.002413/0.313, allocations: 1.364 MB / 0.832 GB, free: 12.16 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001408/0.3132, allocations: 4 kB / 0.832 GB, free: 12.16 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0007803/0.314, allocations: 179.2 kB / 0.8321 GB, free: 11.98 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.000413/0.3144, allocations: 167.3 kB / 0.8323 GB, free: 11.82 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.000493/0.3149, allocations: 159.7 kB / 0.8324 GB, free: 11.66 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0003881/0.3153, allocations: 259.2 kB / 0.8327 GB, free: 11.41 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004208/0.3158, allocations: 145.4 kB / 0.8328 GB, free: 11.27 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002298/0.316, allocations: 115.6 kB / 0.8329 GB, free: 11.15 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003624/0.3164, allocations: 127.5 kB / 0.8331 GB, free: 11.03 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.11e-05/0.3164, allocations: 12 kB / 0.8331 GB, free: 11.02 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002913/0.3167, allocations: 151.6 kB / 0.8332 GB, free: 10.87 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001094/0.3168, allocations: 59.81 kB / 0.8333 GB, free: 10.81 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001058/0.3169, allocations: 95.53 kB / 0.8334 GB, free: 10.71 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0003911/0.3173, allocations: 295.1 kB / 0.8336 GB, free: 10.43 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/0.3173, allocations: 0 / 0.8336 GB, free: 10.43 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.094e-06/0.3174, allocations: 0 / 0.8336 GB, free: 10.43 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 8.296e-06/0.3174, allocations: 0 / 0.8336 GB, free: 10.43 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0009061/0.3183, allocations: 0.4898 MB / 0.8341 GB, free: 9.891 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.231e-05/0.3183, allocations: 8.031 kB / 0.8341 GB, free: 9.883 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005308/0.3189, allocations: 68.58 kB / 0.8342 GB, free: 9.816 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000364/0.3192, allocations: 243.9 kB / 0.8344 GB, free: 9.539 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.577e-05/0.3193, allocations: 12.66 kB / 0.8344 GB, free: 9.527 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.662e-05/0.3193, allocations: 20.31 kB / 0.8345 GB, free: 9.508 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005412/0.3199, allocations: 300.9 kB / 0.8347 GB, free: 9.188 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.404e-05/0.3199, allocations: 3.938 kB / 0.8348 GB, free: 9.184 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.265e-05/0.3199, allocations: 11.98 kB / 0.8348 GB, free: 9.172 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.291e-05/0.32, allocations: 32.2 kB / 0.8348 GB, free: 9.141 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004967/0.3205, allocations: 260.6 kB / 0.835 GB, free: 8.887 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002192/0.3227, allocations: 1.49 MB / 0.8365 GB, free: 7.25 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005854/0.3233, allocations: 257 kB / 0.8367 GB, free: 6.98 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002436/0.3235, allocations: 137.6 kB / 0.8369 GB, free: 6.84 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.287e-05/0.3236, allocations: 3.984 kB / 0.8369 GB, free: 6.836 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.299e-05/0.3236, allocations: 34.56 kB / 0.8369 GB, free: 6.793 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=15): time 2.014e-06/0.3236, allocations: 0 / 0.8369 GB, free: 6.793 MB / 0.6544 GB Notification: Performance of matching and sorting (n=15): time 0.0007746/0.3244, allocations: 345.2 kB / 0.8372 GB, free: 6.449 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.47e-05/0.3245, allocations: 81.11 kB / 0.8373 GB, free: 6.352 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001829/0.3246, allocations: 179.1 kB / 0.8375 GB, free: 6.164 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.787e-05/0.3247, allocations: 25.7 kB / 0.8375 GB, free: 6.133 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001206/0.3248, allocations: 144 kB / 0.8376 GB, free: 5.988 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 5.01e-05/0.3249, allocations: 51.28 kB / 0.8377 GB, free: 5.938 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001005/0.325, allocations: 53.73 kB / 0.8377 GB, free: 5.879 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001362/0.3251, allocations: 326.8 kB / 0.8381 GB, free: 5.551 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002379/0.3254, allocations: 108.8 kB / 0.8382 GB, free: 5.441 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002672/0.3256, allocations: 166.5 kB / 0.8383 GB, free: 5.254 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004754/0.3261, allocations: 274.7 kB / 0.8386 GB, free: 4.961 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.624e-06/0.3261, allocations: 0 / 0.8386 GB, free: 4.961 MB / 0.6544 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005715/0.3267, allocations: 309.2 kB / 0.8389 GB, free: 4.652 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.526e-05/0.3267, allocations: 4.219 kB / 0.8389 GB, free: 4.648 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.104e-05/0.3268, allocations: 8 kB / 0.8389 GB, free: 4.641 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.564e-05/0.3268, allocations: 0 / 0.8389 GB, free: 4.641 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003011/0.3271, allocations: 55.95 kB / 0.8389 GB, free: 4.586 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.828e-05/0.3271, allocations: 7.938 kB / 0.839 GB, free: 4.578 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001942/0.3273, allocations: 31.72 kB / 0.839 GB, free: 4.547 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.176e-05/0.3274, allocations: 12 kB / 0.839 GB, free: 4.535 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002831/0.3276, allocations: 196 kB / 0.8392 GB, free: 4.34 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002235/0.3279, allocations: 160.4 kB / 0.8393 GB, free: 4.152 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003975/0.3283, allocations: 246.5 kB / 0.8396 GB, free: 3.887 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.212e-06/0.3283, allocations: 4 kB / 0.8396 GB, free: 3.883 MB / 0.6544 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0005148/0.3288, allocations: 273.2 kB / 0.8398 GB, free: 3.609 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/0.3288, allocations: 8 kB / 0.8398 GB, free: 3.602 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.445e-06/0.3289, allocations: 3.938 kB / 0.8398 GB, free: 3.598 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.47e-06/0.3289, allocations: 4 kB / 0.8398 GB, free: 3.594 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002093/0.3291, allocations: 55.89 kB / 0.8399 GB, free: 3.539 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.3291, allocations: 4 kB / 0.8399 GB, free: 3.535 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001637/0.3293, allocations: 32.02 kB / 0.8399 GB, free: 3.504 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.8e-05/0.3293, allocations: 15.98 kB / 0.84 GB, free: 3.488 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (23): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001429/0.3294, allocations: 193.9 kB / 0.8401 GB, free: 3.293 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.811e-05/0.3295, allocations: 15.81 kB / 0.8402 GB, free: 3.277 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005962/0.3301, allocations: 270.9 kB / 0.8404 GB, free: 3.004 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.404e-06/0.3301, allocations: 7.984 kB / 0.8404 GB, free: 2.996 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/0.3301, allocations: 4 kB / 0.8404 GB, free: 2.992 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.3302, allocations: 0 / 0.8404 GB, free: 2.992 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001041/0.3312, allocations: 0.681 MB / 0.8411 GB, free: 2.242 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.3312, allocations: 3.938 kB / 0.8411 GB, free: 2.238 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002269/0.3314, allocations: 48.08 kB / 0.8411 GB, free: 2.191 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.3315, allocations: 0 / 0.8411 GB, free: 2.191 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.08e-05/0.3315, allocations: 7.938 kB / 0.8411 GB, free: 2.184 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.3315, allocations: 3.938 kB / 0.8411 GB, free: 2.18 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.357e-06/0.3315, allocations: 8 kB / 0.8412 GB, free: 2.172 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005391/0.332, allocations: 445.1 kB / 0.8416 GB, free: 1.711 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001198/0.3322, allocations: 116.8 kB / 0.8417 GB, free: 1.578 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.67e-05/0.3322, allocations: 7.922 kB / 0.8417 GB, free: 1.57 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001948/0.3324, allocations: 19.98 kB / 0.8417 GB, free: 1.551 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.556e-05/0.3325, allocations: 11.98 kB / 0.8417 GB, free: 1.539 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.353e-05/0.3325, allocations: 15.94 kB / 0.8417 GB, free: 1.523 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001031/0.3326, allocations: 131.2 kB / 0.8419 GB, free: 1.395 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3326, allocations: 0 / 0.8419 GB, free: 1.395 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0005086/0.3331, allocations: 83.75 kB / 0.8419 GB, free: 1.312 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (16): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001441/0.3333, allocations: 103.2 kB / 0.842 GB, free: 1.203 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0007514/0.334, allocations: 379.6 kB / 0.8424 GB, free: 0.832 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.3341, allocations: 0 / 0.8424 GB, free: 0.832 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0002188/0.3343, allocations: 111.9 kB / 0.8425 GB, free: 0.7227 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000484/0.3348, allocations: 49.47 kB / 0.8426 GB, free: 0.6797 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008233/0.3356, allocations: 442.4 kB / 0.843 GB, free: 216 kB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003463/0.336, allocations: 0.7517 MB / 0.8437 GB, free: 15.43 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0001987/0.3362, allocations: 73.47 kB / 0.8438 GB, free: 15.36 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.914e-05/0.3363, allocations: 27.42 kB / 0.8438 GB, free: 15.33 MB / 0.67 GB Notification: Performance of SimCode: time 3.41e-07/0.3363, allocations: 0 / 0.8438 GB, free: 15.33 MB / 0.67 GB Notification: Performance of Templates: time 0.005797/0.3421, allocations: 2.34 MB / 0.8461 GB, free: 13 MB / 0.67 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe 2>&1)