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.001428/0.001433, allocations: 99.7 kB / 15.05 MB, free: 1.105 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.001856/0.001856, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.694/1.694, allocations: 205.4 MB / 222.1 MB, free: 5.664 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.738/1.738, allocations: 251.9 MB / 0.51 GB, free: 4.855 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.0005624/0.0005627, allocations: 15.28 kB / 0.6241 GB, free: 1.176 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.608/0.6085, allocations: 106.3 MB / 0.728 GB, free: 11.42 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.Resistance): time 0.00348/0.6121, allocations: 2.594 MB / 0.7305 GB, free: 8.816 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001937/0.614, allocations: 1.228 MB / 0.7317 GB, free: 7.578 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001635/0.6142, allocations: 7.938 kB / 0.7317 GB, free: 7.57 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001978/0.6144, allocations: 39.75 kB / 0.7318 GB, free: 7.531 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0003945/0.6148, allocations: 95.75 kB / 0.7318 GB, free: 7.438 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003391/0.6152, allocations: 103.7 kB / 0.7319 GB, free: 7.336 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002663/0.6155, allocations: 167.6 kB / 0.7321 GB, free: 7.172 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003487/0.6158, allocations: 211.9 kB / 0.7323 GB, free: 6.949 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001201/0.6159, allocations: 91.69 kB / 0.7324 GB, free: 6.859 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002504/0.6162, allocations: 95.66 kB / 0.7325 GB, free: 6.766 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.654e-05/0.6162, allocations: 8 kB / 0.7325 GB, free: 6.758 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002211/0.6165, allocations: 75.89 kB / 0.7326 GB, free: 6.684 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 7.306e-05/0.6165, allocations: 63.81 kB / 0.7326 GB, free: 6.621 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 6.242e-05/0.6166, allocations: 57.64 kB / 0.7327 GB, free: 6.559 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003042/0.6169, allocations: 261.2 kB / 0.7329 GB, free: 6.305 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.6169, allocations: 3.938 kB / 0.7329 GB, free: 6.301 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.074e-06/0.6169, allocations: 0 / 0.7329 GB, free: 6.301 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.733e-06/0.617, allocations: 0 / 0.7329 GB, free: 6.301 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.0008338/0.6178, allocations: 483 kB / 0.7334 GB, free: 5.777 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.966e-05/0.6179, allocations: 8.031 kB / 0.7334 GB, free: 5.77 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006434/0.6185, allocations: 91.59 kB / 0.7335 GB, free: 5.68 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003462/0.6189, allocations: 241.4 kB / 0.7337 GB, free: 5.406 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.63e-05/0.6189, allocations: 16.38 kB / 0.7337 GB, free: 5.391 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.351e-05/0.6189, allocations: 16 kB / 0.7337 GB, free: 5.375 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004562/0.6194, allocations: 291.2 kB / 0.734 GB, free: 5.066 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.236e-05/0.6194, allocations: 0 / 0.734 GB, free: 5.066 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.578e-05/0.6194, allocations: 4 kB / 0.734 GB, free: 5.062 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.071e-05/0.6195, allocations: 24.31 kB / 0.7341 GB, free: 5.039 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003121/0.6198, allocations: 204.6 kB / 0.7342 GB, free: 4.84 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001721/0.6215, allocations: 1.472 MB / 0.7357 GB, free: 3.207 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002783/0.6218, allocations: 171.7 kB / 0.7358 GB, free: 3.012 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.698e-05/0.6219, allocations: 4 kB / 0.7359 GB, free: 3.008 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.565e-05/0.6219, allocations: 30.56 kB / 0.7359 GB, free: 2.969 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 2.796e-06/0.6219, allocations: 0 / 0.7359 GB, free: 2.969 MB / 0.545 GB Notification: Performance of matching and sorting (n=7): time 0.0005268/0.6224, allocations: 243.4 kB / 0.7361 GB, free: 2.703 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.037e-05/0.6225, allocations: 55.41 kB / 0.7362 GB, free: 2.637 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002139/0.6227, allocations: 187 kB / 0.7363 GB, free: 2.445 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.374e-05/0.6227, allocations: 29.7 kB / 0.7364 GB, free: 2.41 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001298/0.6229, allocations: 167.5 kB / 0.7365 GB, free: 2.242 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.879e-05/0.6229, allocations: 27.64 kB / 0.7366 GB, free: 2.215 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.741e-06/0.6229, allocations: 0 / 0.7366 GB, free: 2.215 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000166/0.6231, allocations: 326.8 kB / 0.7369 GB, free: 1.887 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.113e-05/0.6232, allocations: 35.98 kB / 0.7369 GB, free: 1.852 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001088/0.6233, allocations: 102.7 kB / 0.737 GB, free: 1.723 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.264e-05/0.6234, allocations: 51.98 kB / 0.7371 GB, free: 1.672 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.6234, allocations: 0 / 0.7371 GB, free: 1.672 MB / 0.545 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002878/0.6237, allocations: 190.3 kB / 0.7372 GB, free: 1.477 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.028e-05/0.6237, allocations: 12.06 kB / 0.7372 GB, free: 1.465 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.062e-06/0.6237, allocations: 0 / 0.7372 GB, free: 1.465 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001625/0.6239, allocations: 24.84 kB / 0.7373 GB, free: 1.438 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001109/0.624, allocations: 31.92 kB / 0.7373 GB, free: 1.406 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001062/0.6251, allocations: 1.32 MB / 0.7386 GB, free: 15.95 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000123/0.6252, allocations: 23.77 kB / 0.7386 GB, free: 15.93 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.317e-05/0.6252, allocations: 8 kB / 0.7386 GB, free: 15.92 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001607/0.6254, allocations: 149.9 kB / 0.7388 GB, free: 15.76 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.478e-05/0.6254, allocations: 15.86 kB / 0.7388 GB, free: 15.75 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.901e-05/0.6255, allocations: 21.39 kB / 0.7388 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.6255, allocations: 4 kB / 0.7388 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.845e-06/0.6255, allocations: 0 / 0.7388 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.6255, allocations: 0 / 0.7388 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005262/0.626, allocations: 447.1 kB / 0.7392 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.626, allocations: 3.984 kB / 0.7392 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.55e-05/0.6261, allocations: 8 kB / 0.7392 GB, free: 15.22 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.596e-05/0.6262, allocations: 28.84 kB / 0.7393 GB, free: 15.19 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.468e-06/0.6262, allocations: 0 / 0.7393 GB, free: 15.19 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001034/0.6272, allocations: 1.316 MB / 0.7406 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.6272, allocations: 0 / 0.7406 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002416/0.6275, allocations: 212.1 kB / 0.7408 GB, free: 13.51 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 8.158e-05/0.6276, allocations: 100.8 kB / 0.7408 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.085e-05/0.6276, allocations: 4 kB / 0.7409 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001071/0.6277, allocations: 16.11 kB / 0.7409 GB, free: 13.37 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.626e-05/0.6277, allocations: 4 kB / 0.7409 GB, free: 13.37 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.769e-06/0.6278, allocations: 0 / 0.7409 GB, free: 13.37 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001443/0.6279, allocations: 156.1 kB / 0.741 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.6279, allocations: 0 / 0.741 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003405/0.6283, allocations: 47.91 kB / 0.7411 GB, free: 13.17 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001329/0.6284, allocations: 99.19 kB / 0.7412 GB, free: 13.06 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003559/0.6288, allocations: 218.5 kB / 0.7414 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.6288, allocations: 0 / 0.7414 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001419/0.6289, allocations: 138.7 kB / 0.7415 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002951/0.6292, allocations: 40.88 kB / 0.7415 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006455/0.6299, allocations: 423.4 kB / 0.7419 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003525/0.6303, allocations: 0.7556 MB / 0.7427 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 9.802e-05/0.6304, allocations: 21.53 kB / 0.7427 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.277e-05/0.6304, allocations: 11.44 kB / 0.7427 GB, free: 11.4 MB / 0.5606 GB Notification: Performance of SimCode: time 2.61e-07/0.6304, allocations: 8 kB / 0.7427 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of Templates: time 0.004519/0.6349, allocations: 1.611 MB / 0.7443 GB, free: 9.797 MB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.Resistance.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: