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.001179/0.001179, allocations: 101.3 kB / 16.26 MB, free: 5.934 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.001536/0.001536, allocations: 190.6 kB / 17.2 MB, free: 5.574 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.351/1.351, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7847/0.7847, allocations: 122.9 MB / 413.9 MB, free: 15.82 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001471/0.001471, allocations: 63.91 kB / 0.4911 GB, free: 7.395 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4358/0.4372, allocations: 77.92 MB / 0.5672 GB, free: 32.7 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Lines.Examples.DCLine): time 0.01123/0.4486, allocations: 6.26 MB / 0.5733 GB, free: 28.44 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.007241/0.4558, allocations: 4.542 MB / 0.5777 GB, free: 25.31 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001025/0.4569, allocations: 23.53 kB / 0.5778 GB, free: 25.3 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002652/0.4596, allocations: 0.9165 MB / 0.5787 GB, free: 24.76 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0028/0.4624, allocations: 0.7708 MB / 0.5794 GB, free: 24.31 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001012/0.4634, allocations: 321 kB / 0.5797 GB, free: 24.16 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001823/0.4652, allocations: 1.125 MB / 0.5808 GB, free: 23.63 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001144/0.4664, allocations: 0.6953 MB / 0.5815 GB, free: 23.34 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009667/0.4674, allocations: 472.7 kB / 0.582 GB, free: 23.13 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001029/0.4684, allocations: 0.4883 MB / 0.5824 GB, free: 22.89 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002171/0.4686, allocations: 70.75 kB / 0.5825 GB, free: 22.89 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007809/0.4694, allocations: 282 kB / 0.5828 GB, free: 22.77 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002987/0.4697, allocations: 248.8 kB / 0.583 GB, free: 22.6 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005923/0.4703, allocations: 408.1 kB / 0.5834 GB, free: 22.34 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001281/0.4716, allocations: 1.061 MB / 0.5844 GB, free: 21.6 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.4717, allocations: 4 kB / 0.5844 GB, free: 21.6 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.4717, allocations: 0 / 0.5844 GB, free: 21.6 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.636e-05/0.4717, allocations: 1.375 kB / 0.5844 GB, free: 21.6 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.002176/0.4739, allocations: 1.099 MB / 0.5855 GB, free: 20.73 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.365e-05/0.4739, allocations: 9.344 kB / 0.5855 GB, free: 20.73 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003209/0.4772, allocations: 0.6283 MB / 0.5861 GB, free: 20.47 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008478/0.478, allocations: 0.5423 MB / 0.5867 GB, free: 20.02 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.629e-05/0.4781, allocations: 44 kB / 0.5867 GB, free: 19.99 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.735e-05/0.4782, allocations: 54.38 kB / 0.5868 GB, free: 19.97 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001961/0.4801, allocations: 1.019 MB / 0.5877 GB, free: 19.35 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.193e-05/0.4802, allocations: 9.125 kB / 0.5878 GB, free: 19.34 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.199e-05/0.4802, allocations: 24.62 kB / 0.5878 GB, free: 19.33 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.792e-05/0.4803, allocations: 47.56 kB / 0.5878 GB, free: 19.32 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002322/0.4826, allocations: 0.9999 MB / 0.5888 GB, free: 18.82 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00381/0.4865, allocations: 3.497 MB / 0.5922 GB, free: 15.62 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001387/0.4879, allocations: 498.3 kB / 0.5927 GB, free: 15.38 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005326/0.4884, allocations: 231.8 kB / 0.5929 GB, free: 15.26 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.952e-05/0.4885, allocations: 2.781 kB / 0.5929 GB, free: 15.26 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.888e-05/0.4885, allocations: 37.09 kB / 0.5929 GB, free: 15.22 MB / 446.1 MB Notification: Performance of pre-optimization done (n=31): time 2.034e-06/0.4885, allocations: 0 / 0.5929 GB, free: 15.22 MB / 446.1 MB Notification: Performance of matching and sorting (n=43): time 0.006585/0.4951, allocations: 2.025 MB / 0.5949 GB, free: 13.91 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.608e-05/0.4951, allocations: 55.41 kB / 0.595 GB, free: 13.84 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006023/0.4957, allocations: 0.5627 MB / 0.5955 GB, free: 13.27 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.675e-05/0.4958, allocations: 33.7 kB / 0.5956 GB, free: 13.23 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001772/0.496, allocations: 356.1 kB / 0.5959 GB, free: 12.88 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.175e-05/0.4961, allocations: 145.9 kB / 0.596 GB, free: 12.73 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001373/0.4962, allocations: 98.14 kB / 0.5961 GB, free: 12.63 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.635e-05/0.4963, allocations: 378.7 kB / 0.5965 GB, free: 12.25 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005969/0.4969, allocations: 254.9 kB / 0.5967 GB, free: 12 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006135/0.4975, allocations: 365.8 kB / 0.5971 GB, free: 11.6 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0012/0.4987, allocations: 0.6225 MB / 0.5977 GB, free: 10.93 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.4987, allocations: 4 kB / 0.5977 GB, free: 10.93 MB / 446.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.002093/0.5008, allocations: 0.9348 MB / 0.5986 GB, free: 9.969 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.177e-05/0.5009, allocations: 8.344 kB / 0.5986 GB, free: 9.961 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/0.5009, allocations: 4 kB / 0.5986 GB, free: 9.957 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009886/0.5019, allocations: 272.9 kB / 0.5989 GB, free: 9.672 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005377/0.5024, allocations: 119.8 kB / 0.599 GB, free: 9.555 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005599/0.508, allocations: 9.114 MB / 0.6079 GB, free: 15.61 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007468/0.5088, allocations: 52 kB / 0.6079 GB, free: 15.55 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.688e-05/0.5089, allocations: 20 kB / 0.608 GB, free: 15.54 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001015/0.5099, allocations: 433.6 kB / 0.6084 GB, free: 15.11 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007596/0.5107, allocations: 361.4 kB / 0.6087 GB, free: 14.71 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001447/0.5121, allocations: 0.6051 MB / 0.6093 GB, free: 14.06 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.707e-06/0.5121, allocations: 4 kB / 0.6093 GB, free: 14.06 MB / 462.1 MB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.002623/0.5148, allocations: 1.129 MB / 0.6104 GB, free: 12.85 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.6e-05/0.5148, allocations: 16 kB / 0.6104 GB, free: 12.83 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.204e-06/0.5148, allocations: 4 kB / 0.6104 GB, free: 12.83 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008178/0.5156, allocations: 220.9 kB / 0.6107 GB, free: 12.59 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006059/0.5163, allocations: 119.8 kB / 0.6108 GB, free: 12.48 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006936/0.5232, allocations: 8.791 MB / 0.6194 GB, free: 2.844 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007026/0.5239, allocations: 48.02 kB / 0.6194 GB, free: 2.797 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.439e-05/0.524, allocations: 16 kB / 0.6194 GB, free: 2.781 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.0002465/0.5242, allocations: 213.4 kB / 0.6196 GB, free: 2.566 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001751/0.5244, allocations: 71.16 kB / 0.6197 GB, free: 2.496 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000198/0.5246, allocations: 78.38 kB / 0.6198 GB, free: 2.422 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.663e-06/0.5246, allocations: 8 kB / 0.6198 GB, free: 2.414 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.478e-05/0.5247, allocations: 0 / 0.6198 GB, free: 2.414 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.334e-06/0.5247, allocations: 3.938 kB / 0.6198 GB, free: 2.41 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001029/0.5257, allocations: 0.6533 MB / 0.6204 GB, free: 1.707 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.5257, allocations: 0 / 0.6204 GB, free: 1.707 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004982/0.5262, allocations: 83.91 kB / 0.6205 GB, free: 1.625 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009748/0.5272, allocations: 268.9 kB / 0.6207 GB, free: 1.344 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.122e-05/0.5273, allocations: 8 kB / 0.6208 GB, free: 1.336 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007272/0.5345, allocations: 9.065 MB / 0.6296 GB, free: 7.426 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.5346, allocations: 0 / 0.6296 GB, free: 7.426 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002301/0.5369, allocations: 0.9131 MB / 0.6305 GB, free: 6.477 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003707/0.5373, allocations: 184.2 kB / 0.6307 GB, free: 6.277 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001459/0.5374, allocations: 12 kB / 0.6307 GB, free: 6.266 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005422/0.538, allocations: 35.95 kB / 0.6307 GB, free: 6.23 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001223/0.5381, allocations: 43.89 kB / 0.6308 GB, free: 6.188 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.504e-05/0.5381, allocations: 12 kB / 0.6308 GB, free: 6.176 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0005168/0.5387, allocations: 407.1 kB / 0.6312 GB, free: 5.781 MB / 478.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5387, allocations: 0 / 0.6312 GB, free: 5.781 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001214/0.5399, allocations: 296 kB / 0.6314 GB, free: 5.492 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.0001527/0.5401, allocations: 115.2 kB / 0.6316 GB, free: 5.371 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.004193/0.5443, allocations: 2.399 MB / 0.6339 GB, free: 2.816 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/0.5443, allocations: 0 / 0.6339 GB, free: 2.816 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001402/0.5457, allocations: 0.9999 MB / 0.6349 GB, free: 1.738 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001161/0.5469, allocations: 235.8 kB / 0.6351 GB, free: 1.523 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002946/0.5498, allocations: 1.313 MB / 0.6364 GB, free: 188 kB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007752/0.5506, allocations: 0.9858 MB / 0.6373 GB, free: 15.17 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0007215/0.5513, allocations: 145.4 kB / 0.6375 GB, free: 15.03 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001507/0.5515, allocations: 43.42 kB / 0.6375 GB, free: 14.98 MB / 494.1 MB Notification: Performance of SimCode: time 1.292e-06/0.5515, allocations: 0 / 0.6375 GB, free: 14.98 MB / 494.1 MB Notification: Performance of Templates: time 0.02456/0.5761, allocations: 13.44 MB / 0.6506 GB, free: 1.703 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 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLine.pipe 2>&1)