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.008279/0.008279, allocations: 103.5 kB / 15.74 MB, free: 6.488 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.001361/0.001361, allocations: 194.5 kB / 16.68 MB, free: 6.375 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.816/1.816, allocations: 205.1 MB / 222.5 MB, free: 4.508 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.725/1.725, allocations: 251.7 MB / 0.5094 GB, free: 3.031 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.001508/0.001508, allocations: 71.91 kB / 0.7258 GB, free: 9.004 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2922/0.2937, allocations: 104.7 MB / 0.828 GB, free: 192 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors): time 0.004566/0.2984, allocations: 2.643 MB / 0.8306 GB, free: 13.53 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.002557/0.301, allocations: 1.368 MB / 0.832 GB, free: 12.15 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001447/0.3011, allocations: 7.938 kB / 0.832 GB, free: 12.14 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0007552/0.302, allocations: 171.3 kB / 0.8321 GB, free: 11.97 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0004343/0.3024, allocations: 171.2 kB / 0.8323 GB, free: 11.8 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004459/0.3029, allocations: 167 kB / 0.8324 GB, free: 11.64 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0003243/0.3032, allocations: 263.2 kB / 0.8327 GB, free: 11.39 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003586/0.3036, allocations: 149.4 kB / 0.8328 GB, free: 11.24 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001702/0.3037, allocations: 95.69 kB / 0.8329 GB, free: 11.15 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002724/0.304, allocations: 135.5 kB / 0.8331 GB, free: 11.02 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.772e-05/0.3041, allocations: 12 kB / 0.8331 GB, free: 11 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002504/0.3043, allocations: 147.7 kB / 0.8332 GB, free: 10.86 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 9.304e-05/0.3044, allocations: 67.8 kB / 0.8333 GB, free: 10.79 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001029/0.3045, allocations: 91.53 kB / 0.8334 GB, free: 10.7 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0004032/0.3049, allocations: 283.2 kB / 0.8336 GB, free: 10.43 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.305, allocations: 7.938 kB / 0.8336 GB, free: 10.42 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.323e-06/0.305, allocations: 0 / 0.8336 GB, free: 10.42 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 9.678e-06/0.305, allocations: 0 / 0.8336 GB, free: 10.42 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.0008735/0.3059, allocations: 499 kB / 0.8341 GB, free: 9.883 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.188e-05/0.3059, allocations: 8.031 kB / 0.8341 GB, free: 9.875 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004942/0.3064, allocations: 76.56 kB / 0.8342 GB, free: 9.801 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003321/0.3067, allocations: 241.8 kB / 0.8344 GB, free: 9.527 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.768e-05/0.3068, allocations: 16.64 kB / 0.8344 GB, free: 9.512 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.229e-05/0.3068, allocations: 20.34 kB / 0.8345 GB, free: 9.492 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005339/0.3074, allocations: 300.9 kB / 0.8348 GB, free: 9.172 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.233e-05/0.3074, allocations: 4 kB / 0.8348 GB, free: 9.168 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.559e-05/0.3074, allocations: 8 kB / 0.8348 GB, free: 9.16 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.626e-05/0.3075, allocations: 24.25 kB / 0.8348 GB, free: 9.137 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004839/0.308, allocations: 264.5 kB / 0.835 GB, free: 8.879 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001616/0.3096, allocations: 1.501 MB / 0.8365 GB, free: 7.23 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004763/0.3101, allocations: 257 kB / 0.8367 GB, free: 6.961 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002287/0.3103, allocations: 125.6 kB / 0.8369 GB, free: 6.832 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.645e-05/0.3103, allocations: 0 / 0.8369 GB, free: 6.832 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.892e-05/0.3104, allocations: 42.56 kB / 0.8369 GB, free: 6.781 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=15): time 1.713e-06/0.3104, allocations: 0 / 0.8369 GB, free: 6.781 MB / 0.6544 GB Notification: Performance of matching and sorting (n=15): time 0.0007593/0.3112, allocations: 341.2 kB / 0.8372 GB, free: 6.441 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.335e-05/0.3112, allocations: 81.11 kB / 0.8373 GB, free: 6.344 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001703/0.3114, allocations: 171.2 kB / 0.8375 GB, free: 6.164 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.495e-05/0.3114, allocations: 29.7 kB / 0.8375 GB, free: 6.129 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 9.599e-05/0.3115, allocations: 148.1 kB / 0.8376 GB, free: 5.98 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 4.697e-05/0.3116, allocations: 51.28 kB / 0.8377 GB, free: 5.93 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.279e-05/0.3117, allocations: 49.61 kB / 0.8377 GB, free: 5.875 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001433/0.3118, allocations: 334.8 kB / 0.8381 GB, free: 5.539 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002151/0.312, allocations: 104.8 kB / 0.8382 GB, free: 5.434 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002357/0.3123, allocations: 170.8 kB / 0.8383 GB, free: 5.242 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004613/0.3128, allocations: 277.8 kB / 0.8386 GB, free: 4.949 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/0.3128, allocations: 0 / 0.8386 GB, free: 4.949 MB / 0.6544 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005166/0.3133, allocations: 313.3 kB / 0.8389 GB, free: 4.637 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.88e-05/0.3133, allocations: 4 kB / 0.8389 GB, free: 4.633 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.146e-06/0.3133, allocations: 4 kB / 0.8389 GB, free: 4.629 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.041e-05/0.3134, allocations: 0 / 0.8389 GB, free: 4.629 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002827/0.3137, allocations: 55.89 kB / 0.8389 GB, free: 4.574 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.123e-05/0.3137, allocations: 4 kB / 0.839 GB, free: 4.57 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001875/0.3139, allocations: 35.72 kB / 0.839 GB, free: 4.535 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.092e-05/0.3139, allocations: 8 kB / 0.839 GB, free: 4.527 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002631/0.3142, allocations: 204.1 kB / 0.8392 GB, free: 4.324 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002074/0.3144, allocations: 156.3 kB / 0.8393 GB, free: 4.141 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003729/0.3148, allocations: 251.5 kB / 0.8396 GB, free: 3.867 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.322e-06/0.3148, allocations: 4 kB / 0.8396 GB, free: 3.863 MB / 0.6544 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0004516/0.3152, allocations: 280.4 kB / 0.8398 GB, free: 3.586 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.08e-05/0.3153, allocations: 8 kB / 0.8399 GB, free: 3.578 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.074e-06/0.3153, allocations: 3.938 kB / 0.8399 GB, free: 3.574 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.628e-06/0.3153, allocations: 4 kB / 0.8399 GB, free: 3.57 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001951/0.3155, allocations: 52.16 kB / 0.8399 GB, free: 3.52 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.594e-06/0.3155, allocations: 7.984 kB / 0.8399 GB, free: 3.512 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001542/0.3156, allocations: 27.83 kB / 0.8399 GB, free: 3.484 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.364e-05/0.3157, allocations: 11.94 kB / 0.84 GB, free: 3.473 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.000115/0.3158, allocations: 196.1 kB / 0.8401 GB, free: 3.273 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.398e-05/0.3159, allocations: 15.81 kB / 0.8402 GB, free: 3.258 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005313/0.3164, allocations: 271 kB / 0.8404 GB, free: 2.984 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.481e-06/0.3164, allocations: 4 kB / 0.8404 GB, free: 2.98 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/0.3164, allocations: 0 / 0.8404 GB, free: 2.98 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.3164, allocations: 0 / 0.8404 GB, free: 2.98 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001041/0.3175, allocations: 0.6888 MB / 0.8411 GB, free: 2.223 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.043e-06/0.3175, allocations: 0 / 0.8411 GB, free: 2.223 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002112/0.3177, allocations: 47.89 kB / 0.8411 GB, free: 2.176 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.3177, allocations: 0 / 0.8411 GB, free: 2.176 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.285e-05/0.3177, allocations: 11.94 kB / 0.8412 GB, free: 2.164 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.819e-06/0.3178, allocations: 11.92 kB / 0.8412 GB, free: 2.152 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.3178, allocations: 0 / 0.8412 GB, free: 2.152 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005311/0.3183, allocations: 442 kB / 0.8416 GB, free: 1.691 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000108/0.3184, allocations: 112.8 kB / 0.8417 GB, free: 1.562 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.165e-05/0.3185, allocations: 11.94 kB / 0.8417 GB, free: 1.551 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001909/0.3186, allocations: 15.97 kB / 0.8417 GB, free: 1.535 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.512e-05/0.3187, allocations: 19.98 kB / 0.8417 GB, free: 1.516 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.308e-05/0.3187, allocations: 4 kB / 0.8417 GB, free: 1.512 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 9.958e-05/0.3188, allocations: 135.2 kB / 0.8419 GB, free: 1.379 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3189, allocations: 0 / 0.8419 GB, free: 1.379 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0005015/0.3194, allocations: 83.75 kB / 0.842 GB, free: 1.297 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.0001382/0.3195, allocations: 107.2 kB / 0.8421 GB, free: 1.184 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0007093/0.3202, allocations: 377.8 kB / 0.8424 GB, free: 0.8164 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.3202, allocations: 0 / 0.8424 GB, free: 0.8164 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0002001/0.3204, allocations: 112.8 kB / 0.8425 GB, free: 0.707 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004741/0.3209, allocations: 47.97 kB / 0.8426 GB, free: 0.6602 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000827/0.3218, allocations: 434.7 kB / 0.843 GB, free: 204 kB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003814/0.3222, allocations: 0.7556 MB / 0.8437 GB, free: 15.42 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0002063/0.3224, allocations: 73.47 kB / 0.8438 GB, free: 15.34 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.621e-05/0.3225, allocations: 19.44 kB / 0.8438 GB, free: 15.32 MB / 0.67 GB Notification: Performance of SimCode: time 3.41e-07/0.3225, allocations: 0 / 0.8438 GB, free: 15.32 MB / 0.67 GB Notification: Performance of Templates: time 0.006237/0.3287, allocations: 2.347 MB / 0.8461 GB, free: 12.99 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)