Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.Resistance.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.Lines.Examples.Resistance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.Resistance") translateModel(Buildings.Electrical.DC.Lines.Examples.Resistance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.Resistance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001213/0.001213, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.00157/0.00157, allocations: 190.8 kB / 16.14 MB, free: 6.703 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.566/1.566, allocations: 205.1 MB / 222 MB, free: 4.738 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.605/1.605, allocations: 251.6 MB / 0.5088 GB, free: 3.391 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.001411/0.001411, allocations: 68.28 kB / 0.6216 GB, free: 1.98 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6049/0.6063, allocations: 104.7 MB / 0.7238 GB, free: 13.16 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.Resistance): time 0.005079/0.6114, allocations: 3.123 MB / 0.7269 GB, free: 10.02 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001898/0.6134, allocations: 1.344 MB / 0.7282 GB, free: 8.664 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001402/0.6135, allocations: 4 kB / 0.7282 GB, free: 8.66 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0009039/0.6145, allocations: 306.9 kB / 0.7285 GB, free: 8.359 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0002762/0.6147, allocations: 131.4 kB / 0.7286 GB, free: 8.23 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003134/0.6151, allocations: 138.8 kB / 0.7287 GB, free: 8.098 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0003799/0.6155, allocations: 434.8 kB / 0.7291 GB, free: 7.672 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002869/0.6158, allocations: 152.3 kB / 0.7293 GB, free: 7.523 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001129/0.6159, allocations: 107.6 kB / 0.7294 GB, free: 7.418 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002485/0.6161, allocations: 139.5 kB / 0.7295 GB, free: 7.281 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.142e-05/0.6162, allocations: 12 kB / 0.7295 GB, free: 7.27 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000315/0.6165, allocations: 215.5 kB / 0.7297 GB, free: 7.059 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 8.524e-05/0.6166, allocations: 79.84 kB / 0.7298 GB, free: 6.98 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001162/0.6167, allocations: 99.48 kB / 0.7299 GB, free: 6.883 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003662/0.6171, allocations: 336.9 kB / 0.7302 GB, free: 6.555 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.783e-06/0.6171, allocations: 4 kB / 0.7302 GB, free: 6.551 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.214e-06/0.6171, allocations: 3.938 kB / 0.7302 GB, free: 6.547 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.38e-06/0.6171, allocations: 3.938 kB / 0.7302 GB, free: 6.543 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0007476/0.6179, allocations: 0.5108 MB / 0.7307 GB, free: 5.98 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.137e-05/0.6179, allocations: 8.031 kB / 0.7307 GB, free: 5.973 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005451/0.6185, allocations: 84.58 kB / 0.7308 GB, free: 5.891 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002579/0.6187, allocations: 239.9 kB / 0.7311 GB, free: 5.617 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.686e-05/0.6187, allocations: 16.75 kB / 0.7311 GB, free: 5.602 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.864e-05/0.6188, allocations: 16.38 kB / 0.7311 GB, free: 5.586 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004535/0.6192, allocations: 299.5 kB / 0.7314 GB, free: 5.27 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.193e-05/0.6193, allocations: 0 / 0.7314 GB, free: 5.27 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.144e-05/0.6193, allocations: 15.98 kB / 0.7314 GB, free: 5.254 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.215e-05/0.6193, allocations: 16.36 kB / 0.7314 GB, free: 5.238 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002928/0.6196, allocations: 193 kB / 0.7316 GB, free: 5.051 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001442/0.6211, allocations: 1.464 MB / 0.733 GB, free: 3.426 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002487/0.6213, allocations: 175.7 kB / 0.7332 GB, free: 3.227 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.757e-05/0.6214, allocations: 32.84 kB / 0.7332 GB, free: 3.191 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.429e-05/0.6214, allocations: 4 kB / 0.7332 GB, free: 3.188 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.323e-05/0.6215, allocations: 34.56 kB / 0.7332 GB, free: 3.145 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 1.323e-06/0.6215, allocations: 0 / 0.7332 GB, free: 3.145 MB / 0.545 GB Notification: Performance of matching and sorting (n=7): time 0.0004582/0.6219, allocations: 235.5 kB / 0.7335 GB, free: 2.887 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.773e-05/0.622, allocations: 55.41 kB / 0.7335 GB, free: 2.82 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000181/0.6222, allocations: 187 kB / 0.7337 GB, free: 2.629 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.611e-05/0.6222, allocations: 33.64 kB / 0.7337 GB, free: 2.59 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001024/0.6223, allocations: 167.6 kB / 0.7339 GB, free: 2.422 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.914e-05/0.6223, allocations: 27.59 kB / 0.7339 GB, free: 2.395 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.499e-05/0.6224, allocations: 37.61 kB / 0.734 GB, free: 2.352 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001121/0.6225, allocations: 330.8 kB / 0.7343 GB, free: 2.02 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.366e-05/0.6226, allocations: 35.98 kB / 0.7343 GB, free: 1.984 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.388e-05/0.6227, allocations: 100.5 kB / 0.7344 GB, free: 1.855 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001863/0.6229, allocations: 144.4 kB / 0.7345 GB, free: 1.684 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.6229, allocations: 0 / 0.7345 GB, free: 1.684 MB / 0.545 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002861/0.6232, allocations: 194.2 kB / 0.7347 GB, free: 1.484 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.6232, allocations: 5.875 kB / 0.7347 GB, free: 1.48 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.6232, allocations: 4 kB / 0.7347 GB, free: 1.477 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001465/0.6234, allocations: 24.84 kB / 0.7348 GB, free: 1.449 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000107/0.6235, allocations: 31.92 kB / 0.7348 GB, free: 1.418 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009826/0.6245, allocations: 1.316 MB / 0.7361 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001126/0.6246, allocations: 23.67 kB / 0.7361 GB, free: 15.94 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.181e-05/0.6246, allocations: 8 kB / 0.7361 GB, free: 15.93 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (17): * 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: 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.0001231/0.6248, allocations: 146 kB / 0.7362 GB, free: 15.78 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.75e-05/0.6248, allocations: 15.89 kB / 0.7363 GB, free: 15.77 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.788e-05/0.6248, allocations: 29.31 kB / 0.7363 GB, free: 15.74 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-06/0.6248, allocations: 0 / 0.7363 GB, free: 15.74 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.994e-06/0.6248, allocations: 0 / 0.7363 GB, free: 15.74 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-06/0.6249, allocations: 0 / 0.7363 GB, free: 15.74 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004658/0.6253, allocations: 443.2 kB / 0.7367 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.6253, allocations: 3.984 kB / 0.7367 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.902e-05/0.6254, allocations: 16.03 kB / 0.7367 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.009e-05/0.6255, allocations: 28.78 kB / 0.7368 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.555e-06/0.6255, allocations: 0 / 0.7368 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008552/0.6263, allocations: 1.308 MB / 0.738 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.6264, allocations: 3.938 kB / 0.738 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002051/0.6266, allocations: 208.3 kB / 0.7382 GB, free: 13.53 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 6.922e-05/0.6267, allocations: 104.8 kB / 0.7383 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.867e-05/0.6267, allocations: 3.938 kB / 0.7383 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000106/0.6268, allocations: 8.094 kB / 0.7383 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.658e-05/0.6268, allocations: 3.984 kB / 0.7384 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.143e-06/0.6269, allocations: 4 kB / 0.7384 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001256/0.627, allocations: 148.1 kB / 0.7385 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.645e-06/0.627, allocations: 0 / 0.7385 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003075/0.6273, allocations: 63.72 kB / 0.7386 GB, free: 13.18 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 5 * 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.0001072/0.6274, allocations: 103.2 kB / 0.7387 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003342/0.6278, allocations: 206.5 kB / 0.7389 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.6278, allocations: 0 / 0.7389 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001447/0.6279, allocations: 138.7 kB / 0.739 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003439/0.6283, allocations: 28.55 kB / 0.739 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005855/0.6289, allocations: 433.8 kB / 0.7394 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003076/0.6292, allocations: 0.7556 MB / 0.7402 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 9.147e-05/0.6293, allocations: 21.53 kB / 0.7402 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.835e-05/0.6293, allocations: 19.42 kB / 0.7402 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of SimCode: time 3.2e-07/0.6294, allocations: 4 kB / 0.7402 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of Templates: time 0.004285/0.6336, allocations: 1.682 MB / 0.7418 GB, free: 9.742 MB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.Resistance.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.Resistance.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.Resistance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe 2>&1)