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.001771/0.001771, allocations: 110.9 kB / 16.64 MB, free: 6.371 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.001888/0.001888, allocations: 189.4 kB / 17.56 MB, free: 5.797 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.407/1.407, allocations: 222.9 MB / 241.2 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8168/0.8168, allocations: 125.4 MB / 416.7 MB, free: 13.79 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001926/0.001926, allocations: 67.89 kB / 0.4943 GB, free: 4.797 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3869/0.3888, allocations: 78.56 MB / 0.571 GB, free: 31.69 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Lines.Examples.Resistance): time 0.00462/0.3935, allocations: 3.11 MB / 0.574 GB, free: 29.6 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001916/0.3954, allocations: 1.31 MB / 0.5753 GB, free: 28.7 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001383/0.3956, allocations: 3.531 kB / 0.5753 GB, free: 28.7 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009471/0.3965, allocations: 309.6 kB / 0.5756 GB, free: 28.52 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000334/0.3969, allocations: 134.2 kB / 0.5757 GB, free: 28.45 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003624/0.3973, allocations: 130 kB / 0.5759 GB, free: 28.38 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003682/0.3976, allocations: 305.5 kB / 0.5762 GB, free: 28.25 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004781/0.3981, allocations: 262.7 kB / 0.5764 GB, free: 28.14 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001579/0.3983, allocations: 123.6 kB / 0.5765 GB, free: 28.09 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002872/0.3986, allocations: 143 kB / 0.5767 GB, free: 28.04 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.401e-05/0.3986, allocations: 19.47 kB / 0.5767 GB, free: 28.04 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002836/0.3989, allocations: 169.2 kB / 0.5768 GB, free: 27.98 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001189/0.3991, allocations: 83.25 kB / 0.5769 GB, free: 27.94 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001169/0.3992, allocations: 113.7 kB / 0.577 GB, free: 27.88 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003903/0.3996, allocations: 262.7 kB / 0.5773 GB, free: 27.8 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.3996, allocations: 0 / 0.5773 GB, free: 27.8 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.655e-06/0.3996, allocations: 1.375 kB / 0.5773 GB, free: 27.8 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.286e-06/0.3996, allocations: 0 / 0.5773 GB, free: 27.8 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.000823/0.4004, allocations: 0.5121 MB / 0.5778 GB, free: 27.34 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.886e-05/0.4005, allocations: 8.969 kB / 0.5778 GB, free: 27.34 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000603/0.4011, allocations: 81.8 kB / 0.5779 GB, free: 27.33 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00027/0.4014, allocations: 236.7 kB / 0.5781 GB, free: 27.1 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.807e-05/0.4014, allocations: 12.41 kB / 0.5781 GB, free: 27.09 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.464e-05/0.4014, allocations: 19.62 kB / 0.5781 GB, free: 27.09 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004918/0.4019, allocations: 308.2 kB / 0.5784 GB, free: 26.92 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.322e-05/0.402, allocations: 0.9688 kB / 0.5784 GB, free: 26.92 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.634e-05/0.402, allocations: 6.688 kB / 0.5784 GB, free: 26.91 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.267e-05/0.402, allocations: 19.44 kB / 0.5784 GB, free: 26.91 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003185/0.4024, allocations: 199.1 kB / 0.5786 GB, free: 26.84 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00132/0.4037, allocations: 1.476 MB / 0.5801 GB, free: 25.5 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002372/0.4039, allocations: 173.8 kB / 0.5802 GB, free: 25.36 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.621e-05/0.404, allocations: 31.64 kB / 0.5803 GB, free: 25.34 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.019e-05/0.404, allocations: 1.344 kB / 0.5803 GB, free: 25.34 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.253e-05/0.4041, allocations: 36.84 kB / 0.5803 GB, free: 25.3 MB / 446.1 MB Notification: Performance of pre-optimization done (n=7): time 1.372e-06/0.4041, allocations: 2.219 kB / 0.5803 GB, free: 25.3 MB / 446.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004614/0.4045, allocations: 219.4 kB / 0.5805 GB, free: 25.14 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.839e-05/0.4046, allocations: 53.31 kB / 0.5806 GB, free: 25.07 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001974/0.4048, allocations: 209.3 kB / 0.5808 GB, free: 24.93 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.194e-05/0.4048, allocations: 26.86 kB / 0.5808 GB, free: 24.9 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.793e-05/0.4049, allocations: 163.3 kB / 0.581 GB, free: 24.76 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.916e-05/0.4049, allocations: 28.7 kB / 0.581 GB, free: 24.73 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.336e-05/0.405, allocations: 38.25 kB / 0.581 GB, free: 24.7 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.902e-05/0.405, allocations: 330.6 kB / 0.5813 GB, free: 24.38 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.244e-05/0.4051, allocations: 39.59 kB / 0.5814 GB, free: 24.36 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.312e-05/0.4052, allocations: 99.02 kB / 0.5815 GB, free: 24.25 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001444/0.4053, allocations: 151.3 kB / 0.5816 GB, free: 24.12 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.476e-06/0.4054, allocations: 1.219 kB / 0.5816 GB, free: 24.12 MB / 446.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002761/0.4056, allocations: 186 kB / 0.5818 GB, free: 24.02 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.708e-05/0.4057, allocations: 7.562 kB / 0.5818 GB, free: 24.02 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.4057, allocations: 3.125 kB / 0.5818 GB, free: 24.02 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001578/0.4058, allocations: 27.62 kB / 0.5818 GB, free: 24 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001125/0.406, allocations: 31.89 kB / 0.5819 GB, free: 23.99 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007508/0.4067, allocations: 1.418 MB / 0.5832 GB, free: 22.53 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001155/0.4068, allocations: 18.66 kB / 0.5833 GB, free: 22.52 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.24e-05/0.4069, allocations: 9.719 kB / 0.5833 GB, free: 22.52 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.0001161/0.407, allocations: 151.5 kB / 0.5834 GB, free: 22.38 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.777e-05/0.407, allocations: 10.91 kB / 0.5834 GB, free: 22.37 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.683e-05/0.4071, allocations: 21.31 kB / 0.5834 GB, free: 22.36 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.4071, allocations: 2.062 kB / 0.5834 GB, free: 22.36 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.407e-06/0.4071, allocations: 1.094 kB / 0.5834 GB, free: 22.36 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.4071, allocations: 4.484 kB / 0.5835 GB, free: 22.35 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004202/0.4075, allocations: 447.8 kB / 0.5839 GB, free: 21.94 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.4075, allocations: 0.9688 kB / 0.5839 GB, free: 21.94 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.806e-05/0.4076, allocations: 14.08 kB / 0.5839 GB, free: 21.93 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.287e-05/0.4076, allocations: 25.94 kB / 0.5839 GB, free: 21.92 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.568e-06/0.4077, allocations: 4.062 kB / 0.5839 GB, free: 21.91 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006607/0.4083, allocations: 1.42 MB / 0.5853 GB, free: 20.46 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/0.4083, allocations: 0 / 0.5853 GB, free: 20.46 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000179/0.4085, allocations: 215.4 kB / 0.5855 GB, free: 20.27 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.64e-05/0.4086, allocations: 97.55 kB / 0.5856 GB, free: 20.17 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.881e-05/0.4086, allocations: 3.938 kB / 0.5856 GB, free: 20.16 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001055/0.4087, allocations: 7.172 kB / 0.5856 GB, free: 20.16 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.753e-05/0.4087, allocations: 2.156 kB / 0.5856 GB, free: 20.16 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.424e-06/0.4088, allocations: 8.156 kB / 0.5856 GB, free: 20.16 MB / 446.1 MB Notification: Performance of sorting global known variables: time 9.7e-05/0.4089, allocations: 138.2 kB / 0.5858 GB, free: 20.05 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4089, allocations: 0 / 0.5858 GB, free: 20.05 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003265/0.4092, allocations: 54.25 kB / 0.5858 GB, free: 20.04 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 0.0001001/0.4093, allocations: 99.97 kB / 0.5859 GB, free: 19.95 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003584/0.4097, allocations: 213.5 kB / 0.5861 GB, free: 19.79 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.4097, allocations: 1.094 kB / 0.5861 GB, free: 19.79 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001238/0.4098, allocations: 145.5 kB / 0.5862 GB, free: 19.66 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003533/0.4102, allocations: 34.31 kB / 0.5863 GB, free: 19.64 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006078/0.4108, allocations: 473.6 kB / 0.5867 GB, free: 19.28 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001764/0.411, allocations: 0.7452 MB / 0.5875 GB, free: 18.55 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.691e-05/0.411, allocations: 14.88 kB / 0.5875 GB, free: 18.55 MB / 446.1 MB Notification: Performance of SimCode: time 2.8e-07/0.411, allocations: 0.625 kB / 0.5875 GB, free: 18.55 MB / 446.1 MB Notification: Performance of Templates: time 0.00484/0.4159, allocations: 2.966 MB / 0.5904 GB, free: 17.02 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)