Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Electrical.DC.Lines.Examples.Resistance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.Resistance") translateModel(IBPSA.Electrical.DC.Lines.Examples.Resistance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.0009071/0.0009071, allocations: 95.59 kB / 16.67 MB, free: 6.109 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.000983/0.0009831, allocations: 181.7 kB / 17.57 MB, free: 5.824 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.353/1.353, allocations: 223.3 MB / 241.6 MB, free: 14.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7264/0.7264, allocations: 115.5 MB / 408.2 MB, free: 7.121 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003514/0.0003514, allocations: 8.281 kB / 496.5 MB, free: 15.7 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3837/0.384, allocations: 77.52 MB / 0.5606 GB, free: 35.61 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Lines.Examples.Resistance): time 0.003753/0.3878, allocations: 2.736 MB / 0.5632 GB, free: 33.72 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002141/0.39, allocations: 1.305 MB / 0.5645 GB, free: 32.82 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001652/0.3902, allocations: 3.25 kB / 0.5645 GB, free: 32.82 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001862/0.3904, allocations: 36.86 kB / 0.5646 GB, free: 32.8 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000405/0.3908, allocations: 139.5 kB / 0.5647 GB, free: 32.72 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003814/0.3912, allocations: 124.7 kB / 0.5648 GB, free: 32.66 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004663/0.3917, allocations: 433.4 kB / 0.5652 GB, free: 32.52 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003291/0.392, allocations: 236 kB / 0.5655 GB, free: 32.37 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001402/0.3922, allocations: 102.8 kB / 0.5655 GB, free: 32.33 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003052/0.3925, allocations: 139.1 kB / 0.5657 GB, free: 32.27 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.916e-05/0.3925, allocations: 10.28 kB / 0.5657 GB, free: 32.27 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003889/0.3929, allocations: 199.4 kB / 0.5659 GB, free: 32.21 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.274e-05/0.393, allocations: 69.97 kB / 0.5659 GB, free: 32.18 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001168/0.3931, allocations: 125.6 kB / 0.5661 GB, free: 32.1 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003542/0.3935, allocations: 254.8 kB / 0.5663 GB, free: 32.04 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.3935, allocations: 0 / 0.5663 GB, free: 32.04 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.3935, allocations: 0 / 0.5663 GB, free: 32.04 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.921e-06/0.3935, allocations: 0 / 0.5663 GB, free: 32.04 MB / 446.1 MB 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.0006692/0.3942, allocations: 491.5 kB / 0.5668 GB, free: 31.6 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.154e-05/0.3943, allocations: 15.14 kB / 0.5668 GB, free: 31.6 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005982/0.3949, allocations: 91.06 kB / 0.5669 GB, free: 31.57 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002457/0.3951, allocations: 238.2 kB / 0.5671 GB, free: 31.34 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.074e-05/0.3952, allocations: 17.19 kB / 0.5671 GB, free: 31.34 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.228e-05/0.3952, allocations: 16.97 kB / 0.5671 GB, free: 31.33 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004611/0.3957, allocations: 307.9 kB / 0.5674 GB, free: 31.16 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.3957, allocations: 2.719 kB / 0.5674 GB, free: 31.16 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.651e-05/0.3957, allocations: 10.16 kB / 0.5674 GB, free: 31.15 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.879e-05/0.3958, allocations: 20.3 kB / 0.5675 GB, free: 31.14 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003052/0.3961, allocations: 193.6 kB / 0.5677 GB, free: 31.08 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001264/0.3973, allocations: 1.468 MB / 0.5691 GB, free: 29.75 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002457/0.3976, allocations: 175.9 kB / 0.5693 GB, free: 29.61 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.614e-05/0.3977, allocations: 33.08 kB / 0.5693 GB, free: 29.59 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.864e-06/0.3977, allocations: 4.812 kB / 0.5693 GB, free: 29.59 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.976e-05/0.3977, allocations: 35.09 kB / 0.5693 GB, free: 29.55 MB / 446.1 MB Notification: Performance of pre-optimization done (n=7): time 1.202e-06/0.3977, allocations: 0 / 0.5693 GB, free: 29.55 MB / 446.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004571/0.3982, allocations: 224.4 kB / 0.5695 GB, free: 29.38 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.551e-05/0.3982, allocations: 58.2 kB / 0.5696 GB, free: 29.32 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001903/0.3984, allocations: 201.8 kB / 0.5698 GB, free: 29.18 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.25e-05/0.3984, allocations: 31.83 kB / 0.5698 GB, free: 29.15 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.338e-05/0.3985, allocations: 162 kB / 0.57 GB, free: 29.01 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.091e-05/0.3985, allocations: 29.88 kB / 0.57 GB, free: 28.98 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.911e-05/0.3986, allocations: 20.47 kB / 0.57 GB, free: 28.96 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.749e-05/0.3986, allocations: 327.1 kB / 0.5703 GB, free: 28.64 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.512e-05/0.3987, allocations: 35.23 kB / 0.5704 GB, free: 28.63 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.688e-05/0.3988, allocations: 102.1 kB / 0.5705 GB, free: 28.54 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001534/0.399, allocations: 147.6 kB / 0.5706 GB, free: 28.42 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.399, allocations: 1 kB / 0.5706 GB, free: 28.42 MB / 446.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002917/0.3993, allocations: 194.6 kB / 0.5708 GB, free: 28.32 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.689e-05/0.3993, allocations: 5.656 kB / 0.5708 GB, free: 28.32 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.3993, allocations: 3.969 kB / 0.5708 GB, free: 28.32 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001577/0.3995, allocations: 26.83 kB / 0.5708 GB, free: 28.3 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000109/0.3996, allocations: 24.61 kB / 0.5708 GB, free: 28.3 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007555/0.4004, allocations: 1.315 MB / 0.5721 GB, free: 26.98 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001212/0.4005, allocations: 28.03 kB / 0.5722 GB, free: 26.96 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.258e-05/0.4005, allocations: 5.562 kB / 0.5722 GB, free: 26.96 MB / 446.1 MB 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.0001069/0.4006, allocations: 148.8 kB / 0.5723 GB, free: 26.83 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.814e-05/0.4007, allocations: 15.66 kB / 0.5723 GB, free: 26.82 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.887e-05/0.4007, allocations: 15.8 kB / 0.5723 GB, free: 26.82 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.452e-06/0.4007, allocations: 2.031 kB / 0.5723 GB, free: 26.82 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.4007, allocations: 1.312 kB / 0.5723 GB, free: 26.82 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.4007, allocations: 1.859 kB / 0.5723 GB, free: 26.82 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004446/0.4012, allocations: 448.8 kB / 0.5728 GB, free: 26.45 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.4012, allocations: 0.5 kB / 0.5728 GB, free: 26.45 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.809e-05/0.4012, allocations: 17.05 kB / 0.5728 GB, free: 26.44 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.295e-05/0.4013, allocations: 20.44 kB / 0.5728 GB, free: 26.43 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.797e-06/0.4013, allocations: 4 kB / 0.5728 GB, free: 26.43 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006118/0.402, allocations: 1.318 MB / 0.5741 GB, free: 25.11 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.402, allocations: 3.938 kB / 0.5741 GB, free: 25.11 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001871/0.4022, allocations: 209.9 kB / 0.5743 GB, free: 24.94 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.314e-05/0.4022, allocations: 105.8 kB / 0.5744 GB, free: 24.82 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.916e-05/0.4023, allocations: 6.188 kB / 0.5744 GB, free: 24.82 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001077/0.4024, allocations: 9.156 kB / 0.5744 GB, free: 24.82 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.883e-05/0.4024, allocations: 5.531 kB / 0.5744 GB, free: 24.82 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.642e-06/0.4024, allocations: 4.219 kB / 0.5744 GB, free: 24.82 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001051/0.4025, allocations: 142.4 kB / 0.5746 GB, free: 24.72 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4025, allocations: 0 / 0.5746 GB, free: 24.72 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003616/0.4029, allocations: 52.97 kB / 0.5746 GB, free: 24.71 MB / 446.1 MB 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 8.913e-05/0.403, allocations: 95.36 kB / 0.5747 GB, free: 24.62 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003284/0.4033, allocations: 206.1 kB / 0.5749 GB, free: 24.48 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.4033, allocations: 2.156 kB / 0.5749 GB, free: 24.48 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001318/0.4035, allocations: 150.4 kB / 0.575 GB, free: 24.36 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003664/0.4038, allocations: 35.66 kB / 0.5751 GB, free: 24.34 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006448/0.4045, allocations: 485.2 kB / 0.5755 GB, free: 24.02 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002006/0.4047, allocations: 0.7493 MB / 0.5763 GB, free: 23.32 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.843e-05/0.4048, allocations: 15.62 kB / 0.5763 GB, free: 23.31 MB / 446.1 MB Notification: Performance of SimCode: time 3.11e-07/0.4048, allocations: 0 / 0.5763 GB, free: 23.31 MB / 446.1 MB Notification: Performance of Templates: time 0.005656/0.4104, allocations: 2.94 MB / 0.5792 GB, free: 23.13 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.Resistance.makefile (rm -f IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.Resistance.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.Resistance.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.Resistance.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.Resistance.sim & ./IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.Resistance -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.Resistance.pipe 2>&1)