Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_1.6_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_1.6_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.000997/0.0009972, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.009812/0.009812, allocations: 171.1 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.454/1.454, allocations: 223.2 MB / 240.3 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.83/2.83, allocations: 473.4 MB / 0.7469 GB, free: 6.078 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003535/0.0003535, allocations: 13.03 kB / 0.9158 GB, free: 33.17 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3023/0.3027, allocations: 162.2 MB / 1.074 GB, free: 7.559 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors): time 0.003658/0.3064, allocations: 2.341 MB / 1.076 GB, free: 5.207 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002273/0.3087, allocations: 1.301 MB / 1.078 GB, free: 3.898 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000169/0.3089, allocations: 4 kB / 1.078 GB, free: 3.895 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0002069/0.3092, allocations: 27.78 kB / 1.078 GB, free: 3.867 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0006362/0.3098, allocations: 155.4 kB / 1.078 GB, free: 3.715 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005418/0.3104, allocations: 155.7 kB / 1.078 GB, free: 3.562 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0004642/0.3108, allocations: 367 kB / 1.078 GB, free: 3.203 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006171/0.3115, allocations: 305.8 kB / 1.079 GB, free: 2.875 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001717/0.3116, allocations: 83.69 kB / 1.079 GB, free: 2.793 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002692/0.3119, allocations: 127.5 kB / 1.079 GB, free: 2.668 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.687e-05/0.312, allocations: 8 kB / 1.079 GB, free: 2.66 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002967/0.3123, allocations: 187.6 kB / 1.079 GB, free: 2.477 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 7.627e-05/0.3124, allocations: 55.86 kB / 1.079 GB, free: 2.422 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001017/0.3125, allocations: 109.2 kB / 1.079 GB, free: 2.309 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.000355/0.3128, allocations: 291.3 kB / 1.079 GB, free: 2.023 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.072e-06/0.3128, allocations: 4 kB / 1.079 GB, free: 2.02 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.884e-06/0.3128, allocations: 0 / 1.079 GB, free: 2.02 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.739e-06/0.3129, allocations: 0 / 1.079 GB, free: 2.02 MB / 0.8262 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.0007927/0.3136, allocations: 471 kB / 1.08 GB, free: 1.508 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.491e-05/0.3137, allocations: 12.03 kB / 1.08 GB, free: 1.496 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004924/0.3142, allocations: 64.67 kB / 1.08 GB, free: 1.434 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002718/0.3145, allocations: 246.7 kB / 1.08 GB, free: 1.156 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.53e-05/0.3145, allocations: 8.656 kB / 1.08 GB, free: 1.148 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.168e-05/0.3145, allocations: 16.36 kB / 1.08 GB, free: 1.133 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005446/0.3151, allocations: 316.6 kB / 1.081 GB, free: 0.7969 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.3151, allocations: 0 / 1.081 GB, free: 0.7969 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.622e-05/0.3151, allocations: 8 kB / 1.081 GB, free: 0.7891 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.738e-05/0.3152, allocations: 28.25 kB / 1.081 GB, free: 0.7617 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005168/0.3157, allocations: 268.6 kB / 1.081 GB, free: 0.5 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001631/0.3174, allocations: 1.514 MB / 1.082 GB, free: 14.84 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004893/0.3179, allocations: 269 kB / 1.083 GB, free: 14.56 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003132/0.3182, allocations: 133.6 kB / 1.083 GB, free: 14.42 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.122e-05/0.3182, allocations: 0 / 1.083 GB, free: 14.42 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.885e-05/0.3183, allocations: 42.5 kB / 1.083 GB, free: 14.37 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=15): time 2.504e-06/0.3183, allocations: 0 / 1.083 GB, free: 14.37 MB / 0.8419 GB Notification: Performance of matching and sorting (n=15): time 0.0007594/0.319, allocations: 361.3 kB / 1.083 GB, free: 14.01 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.461e-05/0.3191, allocations: 77.11 kB / 1.083 GB, free: 13.92 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001561/0.3192, allocations: 183.1 kB / 1.083 GB, free: 13.73 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.242e-05/0.3193, allocations: 25.7 kB / 1.083 GB, free: 13.7 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 9.352e-05/0.3194, allocations: 140.1 kB / 1.084 GB, free: 13.55 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 4.662e-05/0.3194, allocations: 55.2 kB / 1.084 GB, free: 13.5 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.783e-05/0.3195, allocations: 21.7 kB / 1.084 GB, free: 13.47 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001452/0.3196, allocations: 330.8 kB / 1.084 GB, free: 13.14 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002055/0.3198, allocations: 111.9 kB / 1.084 GB, free: 13.03 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002475/0.3201, allocations: 167.7 kB / 1.084 GB, free: 12.84 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004546/0.3205, allocations: 296.2 kB / 1.084 GB, free: 12.53 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.3206, allocations: 0 / 1.084 GB, free: 12.53 MB / 0.8419 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005549/0.3211, allocations: 321.1 kB / 1.085 GB, free: 12.21 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 8.294e-05/0.3212, allocations: 141.1 kB / 1.085 GB, free: 12.04 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.3212, allocations: 0 / 1.085 GB, free: 12.04 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.508e-05/0.3212, allocations: 4 kB / 1.085 GB, free: 12.04 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003223/0.3216, allocations: 59.88 kB / 1.085 GB, free: 11.98 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.257e-05/0.3216, allocations: 7.938 kB / 1.085 GB, free: 11.97 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001837/0.3218, allocations: 39.81 kB / 1.085 GB, free: 11.93 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.043e-05/0.3218, allocations: 12 kB / 1.085 GB, free: 11.92 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 5.831e-06/0.3218, allocations: 4 kB / 1.085 GB, free: 11.92 MB / 0.8419 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004355/0.3223, allocations: 245.9 kB / 1.085 GB, free: 11.68 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/0.3223, allocations: 4 kB / 1.085 GB, free: 11.68 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.525e-06/0.3223, allocations: 0 / 1.085 GB, free: 11.68 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001992/0.3225, allocations: 55.89 kB / 1.085 GB, free: 11.62 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.3225, allocations: 7.984 kB / 1.085 GB, free: 11.61 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001434/0.3227, allocations: 23.89 kB / 1.085 GB, free: 11.59 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.395e-05/0.3227, allocations: 16.14 kB / 1.085 GB, free: 11.57 MB / 0.8419 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.0001554/0.3228, allocations: 224.9 kB / 1.086 GB, free: 11.34 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.372e-05/0.3229, allocations: 15.81 kB / 1.086 GB, free: 11.33 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005447/0.3234, allocations: 279 kB / 1.086 GB, free: 11.04 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.3235, allocations: 4 kB / 1.086 GB, free: 11.04 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.167e-06/0.3235, allocations: 0 / 1.086 GB, free: 11.04 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.556e-06/0.3235, allocations: 0 / 1.086 GB, free: 11.04 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001002/0.3245, allocations: 0.7004 MB / 1.087 GB, free: 10.27 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.516e-06/0.3245, allocations: 4 kB / 1.087 GB, free: 10.27 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002191/0.3247, allocations: 47.89 kB / 1.087 GB, free: 10.22 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.3247, allocations: 4 kB / 1.087 GB, free: 10.21 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.552e-05/0.3248, allocations: 4 kB / 1.087 GB, free: 10.21 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.619e-06/0.3248, allocations: 7.938 kB / 1.087 GB, free: 10.2 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.3248, allocations: 128 / 1.087 GB, free: 10.2 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005352/0.3253, allocations: 467.5 kB / 1.087 GB, free: 9.719 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000106/0.3254, allocations: 112.9 kB / 1.087 GB, free: 9.59 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.969e-05/0.3255, allocations: 4 kB / 1.087 GB, free: 9.586 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002014/0.3257, allocations: 19.92 kB / 1.087 GB, free: 9.566 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.122e-05/0.3257, allocations: 19.97 kB / 1.087 GB, free: 9.547 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.149e-05/0.3258, allocations: 8 kB / 1.087 GB, free: 9.539 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001083/0.3259, allocations: 127.2 kB / 1.087 GB, free: 9.414 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3259, allocations: 3.938 kB / 1.087 GB, free: 9.41 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0004398/0.3263, allocations: 87.78 kB / 1.087 GB, free: 9.324 MB / 0.8419 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.0001456/0.3265, allocations: 99.19 kB / 1.088 GB, free: 9.219 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0007312/0.3272, allocations: 388.3 kB / 1.088 GB, free: 8.84 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.3272, allocations: 0 / 1.088 GB, free: 8.84 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002266/0.3275, allocations: 119.9 kB / 1.088 GB, free: 8.723 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005126/0.328, allocations: 47.81 kB / 1.088 GB, free: 8.68 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007966/0.3288, allocations: 0.5072 MB / 1.089 GB, free: 8.133 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003374/0.3291, allocations: 0.744 MB / 1.089 GB, free: 7.363 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0002086/0.3293, allocations: 81.45 kB / 1.089 GB, free: 7.285 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.549e-05/0.3294, allocations: 23.44 kB / 1.089 GB, free: 7.262 MB / 0.8419 GB Notification: Performance of SimCode: time 1.864e-06/0.3294, allocations: 0 / 1.089 GB, free: 7.262 MB / 0.8419 GB Notification: Performance of Templates: time 0.004908/0.3344, allocations: 2.134 MB / 1.091 GB, free: 5.141 MB / 0.8419 GB make -j1 -f Buildings_1.6_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.makefile (rm -f Buildings_1.6_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe ; mkfifo Buildings_1.6_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe >> ../files/Buildings_1.6_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.sim & ./Buildings_1.6_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe 2>&1)