Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLine.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.DCLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLine") translateModel(IBPSA.Electrical.DC.Lines.Examples.DCLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001087/0.001087, allocations: 107.4 kB / 17.02 MB, free: 5.66 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.001018/0.001018, allocations: 192.1 kB / 17.97 MB, free: 5.062 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.288/1.288, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6834/0.6834, allocations: 115.1 MB / 406.9 MB, free: 6.367 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001238/0.001238, allocations: 67.89 kB / 494.8 MB, free: 15.86 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3649/0.3662, allocations: 76.15 MB / 0.5576 GB, free: 36.78 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Lines.Examples.DCLine): time 0.007643/0.3739, allocations: 6.255 MB / 0.5637 GB, free: 32.54 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.006901/0.3808, allocations: 4.537 MB / 0.5681 GB, free: 29.43 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009995/0.3819, allocations: 23.06 kB / 0.5681 GB, free: 29.42 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002541/0.3845, allocations: 0.9207 MB / 0.569 GB, free: 28.87 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002543/0.387, allocations: 0.7675 MB / 0.5698 GB, free: 28.43 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001065/0.3881, allocations: 328.5 kB / 0.5701 GB, free: 28.26 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001597/0.3897, allocations: 1.135 MB / 0.5712 GB, free: 27.73 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009423/0.3907, allocations: 0.6874 MB / 0.5719 GB, free: 27.45 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007347/0.3914, allocations: 466.7 kB / 0.5723 GB, free: 27.26 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008314/0.3922, allocations: 0.4988 MB / 0.5728 GB, free: 27.04 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001293/0.3924, allocations: 69.88 kB / 0.5729 GB, free: 27.04 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007075/0.3931, allocations: 278.5 kB / 0.5731 GB, free: 26.96 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002804/0.3934, allocations: 246.7 kB / 0.5734 GB, free: 26.85 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004508/0.3938, allocations: 412.3 kB / 0.5738 GB, free: 26.6 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001527/0.3954, allocations: 1.072 MB / 0.5748 GB, free: 26.21 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.3954, allocations: 0 / 0.5748 GB, free: 26.21 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.3954, allocations: 1.219 kB / 0.5748 GB, free: 26.21 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.291e-05/0.3954, allocations: 1.406 kB / 0.5748 GB, free: 26.21 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: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.001748/0.3972, allocations: 1.094 MB / 0.5759 GB, free: 25.45 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.376e-05/0.3972, allocations: 8.25 kB / 0.5759 GB, free: 25.45 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003136/0.4004, allocations: 0.6318 MB / 0.5765 GB, free: 25.39 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009497/0.4013, allocations: 0.5717 MB / 0.5771 GB, free: 25.01 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.661e-05/0.4014, allocations: 40.28 kB / 0.5771 GB, free: 24.99 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.157e-05/0.4015, allocations: 53.14 kB / 0.5772 GB, free: 24.97 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001949/0.4034, allocations: 1.017 MB / 0.5781 GB, free: 24.55 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.722e-05/0.4035, allocations: 5.156 kB / 0.5781 GB, free: 24.55 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.295e-05/0.4035, allocations: 21.91 kB / 0.5782 GB, free: 24.54 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.262e-05/0.4036, allocations: 46.89 kB / 0.5782 GB, free: 24.53 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002229/0.4058, allocations: 1.017 MB / 0.5792 GB, free: 24.21 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003884/0.4097, allocations: 3.476 MB / 0.5826 GB, free: 21.47 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001302/0.4111, allocations: 492.7 kB / 0.5831 GB, free: 21.32 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000495/0.4116, allocations: 228.3 kB / 0.5833 GB, free: 21.24 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.582e-05/0.4116, allocations: 8.828 kB / 0.5833 GB, free: 21.24 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.934e-05/0.4116, allocations: 36.69 kB / 0.5833 GB, free: 21.2 MB / 446.1 MB Notification: Performance of pre-optimization done (n=31): time 1.603e-06/0.4116, allocations: 1.188 kB / 0.5833 GB, free: 21.2 MB / 446.1 MB Notification: Performance of matching and sorting (n=43): time 0.006092/0.4177, allocations: 2.013 MB / 0.5853 GB, free: 20.21 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.896e-05/0.4178, allocations: 56.31 kB / 0.5854 GB, free: 20.15 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006224/0.4184, allocations: 0.5697 MB / 0.5859 GB, free: 19.81 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.581e-05/0.4185, allocations: 32.14 kB / 0.5859 GB, free: 19.77 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001507/0.4186, allocations: 359.3 kB / 0.5863 GB, free: 19.45 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.45e-05/0.4187, allocations: 148.5 kB / 0.5864 GB, free: 19.32 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001441/0.4189, allocations: 90.66 kB / 0.5865 GB, free: 19.26 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.119e-05/0.4189, allocations: 378.9 kB / 0.5869 GB, free: 18.9 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005773/0.4195, allocations: 263 kB / 0.5871 GB, free: 18.77 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006108/0.4202, allocations: 367.9 kB / 0.5875 GB, free: 18.5 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001191/0.4214, allocations: 0.6268 MB / 0.5881 GB, free: 18.11 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.4214, allocations: 1.281 kB / 0.5881 GB, free: 18.11 MB / 446.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.002127/0.4235, allocations: 0.9301 MB / 0.589 GB, free: 17.59 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.759e-05/0.4235, allocations: 7.219 kB / 0.589 GB, free: 17.59 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/0.4235, allocations: 3.062 kB / 0.589 GB, free: 17.59 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001011/0.4246, allocations: 273.3 kB / 0.5893 GB, free: 17.43 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005765/0.4251, allocations: 117.7 kB / 0.5894 GB, free: 17.39 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005134/0.4303, allocations: 9.122 MB / 0.5983 GB, free: 8.25 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000688/0.431, allocations: 41.95 kB / 0.5983 GB, free: 8.23 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.36e-05/0.431, allocations: 26.55 kB / 0.5984 GB, free: 8.219 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008238/0.4319, allocations: 437.5 kB / 0.5988 GB, free: 7.957 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005918/0.4325, allocations: 353.2 kB / 0.5991 GB, free: 7.707 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001146/0.4336, allocations: 0.6098 MB / 0.5997 GB, free: 7.324 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.905e-06/0.4337, allocations: 1.156 kB / 0.5997 GB, free: 7.324 MB / 446.1 MB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.002157/0.4358, allocations: 1.128 MB / 0.6008 GB, free: 6.535 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.194e-05/0.4358, allocations: 12.69 kB / 0.6008 GB, free: 6.531 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.429e-06/0.4358, allocations: 2.438 kB / 0.6008 GB, free: 6.531 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006933/0.4365, allocations: 229.5 kB / 0.601 GB, free: 6.352 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005259/0.4371, allocations: 111.8 kB / 0.6011 GB, free: 6.242 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005557/0.4426, allocations: 8.792 MB / 0.6097 GB, free: 12.61 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007606/0.4434, allocations: 43.94 kB / 0.6098 GB, free: 12.56 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.323e-05/0.4435, allocations: 20 kB / 0.6098 GB, free: 12.54 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (47): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,2), (1,2), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0003457/0.4438, allocations: 219.2 kB / 0.61 GB, free: 12.32 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001165/0.444, allocations: 63.25 kB / 0.6101 GB, free: 12.26 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001773/0.4441, allocations: 78.38 kB / 0.6101 GB, free: 12.19 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.092e-06/0.4442, allocations: 4 kB / 0.6101 GB, free: 12.18 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.477e-05/0.4442, allocations: 3.984 kB / 0.6101 GB, free: 12.18 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.4442, allocations: 0 / 0.6101 GB, free: 12.18 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001073/0.4453, allocations: 0.661 MB / 0.6108 GB, free: 11.47 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.048e-06/0.4453, allocations: 4 kB / 0.6108 GB, free: 11.46 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004842/0.4458, allocations: 79.92 kB / 0.6109 GB, free: 11.39 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009103/0.4467, allocations: 264.8 kB / 0.6111 GB, free: 11.11 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.93e-05/0.4467, allocations: 15.98 kB / 0.6111 GB, free: 11.09 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008598/0.4553, allocations: 9.054 MB / 0.62 GB, free: 1.195 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.4554, allocations: 3.984 kB / 0.62 GB, free: 1.191 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002269/0.4576, allocations: 0.9131 MB / 0.6209 GB, free: 248 kB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005212/0.4582, allocations: 184.2 kB / 0.621 GB, free: 44 kB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.75e-05/0.4583, allocations: 15.98 kB / 0.6211 GB, free: 28 kB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004657/0.4587, allocations: 35.95 kB / 0.6211 GB, free: 15.99 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001217/0.4589, allocations: 35.91 kB / 0.6211 GB, free: 15.96 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.6e-05/0.4589, allocations: 19.98 kB / 0.6212 GB, free: 15.94 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0006432/0.4596, allocations: 403.1 kB / 0.6215 GB, free: 15.55 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.4596, allocations: 0 / 0.6215 GB, free: 15.55 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001261/0.4608, allocations: 304 kB / 0.6218 GB, free: 15.25 MB / 478.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 (31): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,2), (1,2), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002014/0.461, allocations: 107.2 kB / 0.6219 GB, free: 15.14 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.004808/0.4659, allocations: 2.352 MB / 0.6242 GB, free: 12.63 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.4659, allocations: 0 / 0.6242 GB, free: 12.63 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001508/0.4674, allocations: 1.004 MB / 0.6252 GB, free: 11.55 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00123/0.4686, allocations: 240.6 kB / 0.6254 GB, free: 11.33 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002466/0.4711, allocations: 1.291 MB / 0.6267 GB, free: 10.01 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006821/0.4718, allocations: 0.9819 MB / 0.6277 GB, free: 9 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0005687/0.4724, allocations: 149.4 kB / 0.6278 GB, free: 8.852 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001356/0.4725, allocations: 55.36 kB / 0.6279 GB, free: 8.797 MB / 478.1 MB Notification: Performance of SimCode: time 5.81e-07/0.4725, allocations: 0 / 0.6279 GB, free: 8.797 MB / 478.1 MB Notification: Performance of Templates: time 0.02224/0.4948, allocations: 13.45 MB / 0.641 GB, free: 11.51 MB / 494.1 MB make -j1 -f IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLine.makefile (rm -f IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLine.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLine.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLine.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLine.sim & ./IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLine -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLine.pipe 2>&1)