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.001161/0.001161, allocations: 106.7 kB / 16.64 MB, free: 6.824 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.001303/0.001303, allocations: 197.9 kB / 17.57 MB, free: 5.938 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.363/1.363, allocations: 222.9 MB / 241.2 MB, free: 13.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7717/0.7717, allocations: 122.9 MB / 414.3 MB, free: 104 kB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001511/0.001511, allocations: 71.89 kB / 0.4912 GB, free: 7.824 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3638/0.3653, allocations: 77.91 MB / 0.5673 GB, free: 32 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Lines.Examples.Resistance): time 0.004323/0.3697, allocations: 3.109 MB / 0.5704 GB, free: 29.91 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001827/0.3715, allocations: 1.307 MB / 0.5716 GB, free: 29.01 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001298/0.3717, allocations: 9.406 kB / 0.5716 GB, free: 29 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009153/0.3726, allocations: 309.7 kB / 0.5719 GB, free: 28.83 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003142/0.373, allocations: 133.8 kB / 0.5721 GB, free: 28.75 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003303/0.3733, allocations: 131.2 kB / 0.5722 GB, free: 28.69 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003174/0.3736, allocations: 301.7 kB / 0.5725 GB, free: 28.56 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004181/0.3741, allocations: 257.6 kB / 0.5727 GB, free: 28.46 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001371/0.3742, allocations: 128.7 kB / 0.5729 GB, free: 28.4 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002757/0.3745, allocations: 146.7 kB / 0.573 GB, free: 28.34 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.401e-05/0.3745, allocations: 18.25 kB / 0.573 GB, free: 28.34 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002725/0.3748, allocations: 168.8 kB / 0.5732 GB, free: 28.28 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.065e-05/0.3749, allocations: 75.69 kB / 0.5732 GB, free: 28.25 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000107/0.375, allocations: 109.8 kB / 0.5733 GB, free: 28.19 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003458/0.3754, allocations: 262.6 kB / 0.5736 GB, free: 28.12 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.3754, allocations: 0.5625 kB / 0.5736 GB, free: 28.12 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.3754, allocations: 0.7188 kB / 0.5736 GB, free: 28.12 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.113e-06/0.3754, allocations: 1.125 kB / 0.5736 GB, free: 28.12 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.0007395/0.3762, allocations: 0.517 MB / 0.5741 GB, free: 27.66 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.983e-05/0.3762, allocations: 9.969 kB / 0.5741 GB, free: 27.66 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006109/0.3768, allocations: 76.25 kB / 0.5742 GB, free: 27.64 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002318/0.3771, allocations: 246 kB / 0.5744 GB, free: 27.41 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.513e-05/0.3771, allocations: 11.81 kB / 0.5744 GB, free: 27.4 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.916e-05/0.3771, allocations: 16.19 kB / 0.5744 GB, free: 27.4 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004179/0.3776, allocations: 321.1 kB / 0.5748 GB, free: 27.22 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.3776, allocations: 0.5 kB / 0.5748 GB, free: 27.22 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.546e-05/0.3776, allocations: 11.53 kB / 0.5748 GB, free: 27.21 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.242e-05/0.3776, allocations: 16.75 kB / 0.5748 GB, free: 27.21 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000296/0.3779, allocations: 198.4 kB / 0.575 GB, free: 27.14 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001193/0.3791, allocations: 1.464 MB / 0.5764 GB, free: 25.82 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000228/0.3794, allocations: 180.6 kB / 0.5766 GB, free: 25.67 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.406e-05/0.3795, allocations: 34.27 kB / 0.5766 GB, free: 25.65 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.007e-06/0.3795, allocations: 48 / 0.5766 GB, free: 25.65 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.901e-05/0.3795, allocations: 39.12 kB / 0.5766 GB, free: 25.61 MB / 446.1 MB Notification: Performance of pre-optimization done (n=7): time 8.42e-07/0.3795, allocations: 0 / 0.5766 GB, free: 25.61 MB / 446.1 MB Notification: Performance of matching and sorting (n=7): time 0.000433/0.3799, allocations: 223.8 kB / 0.5769 GB, free: 25.44 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.264e-05/0.38, allocations: 54.38 kB / 0.5769 GB, free: 25.38 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001692/0.3801, allocations: 196.8 kB / 0.5771 GB, free: 25.25 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.127e-05/0.3802, allocations: 30.8 kB / 0.5771 GB, free: 25.21 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.111e-05/0.3803, allocations: 165.1 kB / 0.5773 GB, free: 25.07 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.011e-05/0.3803, allocations: 24.88 kB / 0.5773 GB, free: 25.05 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.157e-05/0.3803, allocations: 36.11 kB / 0.5773 GB, free: 25.02 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.214e-05/0.3804, allocations: 328.1 kB / 0.5777 GB, free: 24.7 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.318e-05/0.3805, allocations: 39.77 kB / 0.5777 GB, free: 24.69 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.04e-05/0.3806, allocations: 106.5 kB / 0.5778 GB, free: 24.59 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000136/0.3807, allocations: 148.1 kB / 0.5779 GB, free: 24.47 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.3807, allocations: 1.125 kB / 0.5779 GB, free: 24.47 MB / 446.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002757/0.381, allocations: 186.9 kB / 0.5781 GB, free: 24.38 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/0.381, allocations: 5.969 kB / 0.5781 GB, free: 24.38 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/0.381, allocations: 2.438 kB / 0.5781 GB, free: 24.38 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000153/0.3812, allocations: 28.62 kB / 0.5782 GB, free: 24.36 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001112/0.3813, allocations: 34 kB / 0.5782 GB, free: 24.36 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009627/0.3823, allocations: 1.431 MB / 0.5796 GB, free: 22.92 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001396/0.3824, allocations: 19.53 kB / 0.5796 GB, free: 22.91 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.434e-05/0.3824, allocations: 10.69 kB / 0.5796 GB, free: 22.91 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.0001254/0.3826, allocations: 143.8 kB / 0.5797 GB, free: 22.78 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.964e-05/0.3826, allocations: 12.84 kB / 0.5798 GB, free: 22.77 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.263e-05/0.3827, allocations: 24.92 kB / 0.5798 GB, free: 22.76 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.3827, allocations: 0 / 0.5798 GB, free: 22.76 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.3827, allocations: 0.9688 kB / 0.5798 GB, free: 22.76 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.3827, allocations: 1.75 kB / 0.5798 GB, free: 22.76 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004858/0.3832, allocations: 445.6 kB / 0.5802 GB, free: 22.39 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.3832, allocations: 0 / 0.5802 GB, free: 22.39 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.733e-05/0.3832, allocations: 7.75 kB / 0.5802 GB, free: 22.39 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.927e-05/0.3833, allocations: 24.77 kB / 0.5802 GB, free: 22.38 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.435e-06/0.3833, allocations: 1.188 kB / 0.5802 GB, free: 22.38 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006785/0.384, allocations: 1.417 MB / 0.5816 GB, free: 20.96 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.384, allocations: 1.125 kB / 0.5816 GB, free: 20.96 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001877/0.3842, allocations: 220.8 kB / 0.5818 GB, free: 20.79 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.114e-05/0.3843, allocations: 95.59 kB / 0.5819 GB, free: 20.68 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.156e-05/0.3843, allocations: 10.94 kB / 0.5819 GB, free: 20.68 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001083/0.3844, allocations: 3.953 kB / 0.5819 GB, free: 20.68 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.084e-05/0.3845, allocations: 5.141 kB / 0.5819 GB, free: 20.68 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.182e-06/0.3845, allocations: 1.562 kB / 0.5819 GB, free: 20.68 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000115/0.3846, allocations: 149.6 kB / 0.5821 GB, free: 20.58 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3846, allocations: 0 / 0.5821 GB, free: 20.58 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003391/0.385, allocations: 52 kB / 0.5821 GB, free: 20.57 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 9.15e-05/0.3851, allocations: 100.5 kB / 0.5822 GB, free: 20.47 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003404/0.3854, allocations: 211.9 kB / 0.5824 GB, free: 20.33 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.3854, allocations: 1.344 kB / 0.5824 GB, free: 20.33 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001204/0.3855, allocations: 150.4 kB / 0.5826 GB, free: 20.2 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003612/0.3859, allocations: 30.62 kB / 0.5826 GB, free: 20.2 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006133/0.3865, allocations: 469.1 kB / 0.5831 GB, free: 19.86 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001827/0.3867, allocations: 0.7524 MB / 0.5838 GB, free: 19.16 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.343e-05/0.3868, allocations: 15.38 kB / 0.5838 GB, free: 19.15 MB / 446.1 MB Notification: Performance of SimCode: time 4.01e-07/0.3868, allocations: 4.062 kB / 0.5838 GB, free: 19.15 MB / 446.1 MB Notification: Performance of Templates: time 0.004856/0.3916, allocations: 2.971 MB / 0.5867 GB, free: 18.27 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)