Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Electrical.DC.Lines.Examples.DCLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.DCLine") translateModel(BuildingSystems.Electrical.DC.Lines.Examples.DCLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.0007665/0.0007665, allocations: 97.95 kB / 15.36 MB, free: 0.7344 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.004927/0.004927, allocations: 170 kB / 16.27 MB, free: 6.652 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.346/1.346, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001632/0.001632, allocations: 274.6 kB / 291.7 MB, free: 1.863 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9425/0.9425, allocations: 169.5 MB / 0.5004 GB, free: 14.12 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004458/0.0004458, allocations: 14.81 kB / 0.5987 GB, free: 28.06 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1579/0.1584, allocations: 88.55 MB / 0.6851 GB, free: 15.05 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.DC.Lines.Examples.DCLine): time 0.007117/0.1655, allocations: 5.862 MB / 0.6908 GB, free: 9.168 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00678/0.1724, allocations: 4.459 MB / 0.6952 GB, free: 4.711 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006498/0.1731, allocations: 23.88 kB / 0.6952 GB, free: 4.688 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000561/0.1736, allocations: 147.6 kB / 0.6954 GB, free: 4.543 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001948/0.1756, allocations: 0.7114 MB / 0.6961 GB, free: 3.832 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007243/0.1763, allocations: 286.5 kB / 0.6963 GB, free: 3.555 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001557/0.1779, allocations: 1.448 MB / 0.6977 GB, free: 2.102 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007359/0.1786, allocations: 0.5338 MB / 0.6983 GB, free: 1.543 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005357/0.1792, allocations: 398.4 kB / 0.6987 GB, free: 1.152 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000638/0.1798, allocations: 474 kB / 0.6991 GB, free: 0.6875 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 7.016e-05/0.1799, allocations: 32 kB / 0.6991 GB, free: 0.6562 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005407/0.1805, allocations: 303.4 kB / 0.6994 GB, free: 368 kB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001894/0.1807, allocations: 211.2 kB / 0.6996 GB, free: 156 kB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003457/0.181, allocations: 387.7 kB / 0.7 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0009413/0.182, allocations: 1.031 MB / 0.701 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 8.075e-06/0.182, allocations: 4 kB / 0.701 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.295e-06/0.182, allocations: 3.938 kB / 0.701 GB, free: 14.72 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.036e-05/0.182, allocations: 0 / 0.701 GB, free: 14.72 MB / 0.4981 GB 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.001621/0.1836, allocations: 0.9621 MB / 0.7019 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.215e-05/0.1837, allocations: 12.03 kB / 0.702 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003248/0.1869, allocations: 0.6514 MB / 0.7026 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007678/0.1877, allocations: 0.5424 MB / 0.7031 GB, free: 12.47 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.02e-05/0.1878, allocations: 45.67 kB / 0.7032 GB, free: 12.42 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.725e-05/0.1879, allocations: 52.06 kB / 0.7032 GB, free: 12.37 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001986/0.1899, allocations: 1.029 MB / 0.7042 GB, free: 11.3 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.841e-05/0.1899, allocations: 0 / 0.7042 GB, free: 11.3 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.669e-05/0.19, allocations: 31.92 kB / 0.7043 GB, free: 11.27 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.283e-05/0.1901, allocations: 45.3 kB / 0.7043 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002379/0.1924, allocations: 1.016 MB / 0.7053 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004185/0.1966, allocations: 3.517 MB / 0.7087 GB, free: 6.383 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001477/0.1981, allocations: 0.5165 MB / 0.7092 GB, free: 5.859 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000569/0.1987, allocations: 252.6 kB / 0.7095 GB, free: 5.609 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.814e-05/0.1988, allocations: 7.984 kB / 0.7095 GB, free: 5.602 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.392e-05/0.1988, allocations: 38.56 kB / 0.7095 GB, free: 5.555 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=31): time 2.525e-06/0.1988, allocations: 4 kB / 0.7095 GB, free: 5.551 MB / 0.4981 GB Notification: Performance of matching and sorting (n=43): time 0.007078/0.2059, allocations: 2.217 MB / 0.7117 GB, free: 3.289 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.686e-05/0.2059, allocations: 59.41 kB / 0.7117 GB, free: 3.219 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006562/0.2066, allocations: 0.5704 MB / 0.7123 GB, free: 2.637 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.074e-05/0.2066, allocations: 33.7 kB / 0.7123 GB, free: 2.598 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002443/0.2069, allocations: 352.2 kB / 0.7127 GB, free: 2.25 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000119/0.207, allocations: 153.8 kB / 0.7128 GB, free: 2.098 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.327e-05/0.2071, allocations: 41.7 kB / 0.7129 GB, free: 2.051 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001499/0.2073, allocations: 378.7 kB / 0.7132 GB, free: 1.672 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007036/0.208, allocations: 280.9 kB / 0.7135 GB, free: 1.395 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007531/0.2087, allocations: 381.8 kB / 0.7138 GB, free: 0.9805 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001479/0.2102, allocations: 0.6733 MB / 0.7145 GB, free: 272 kB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.072e-06/0.2102, allocations: 4 kB / 0.7145 GB, free: 268 kB / 0.4981 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.002525/0.2128, allocations: 0.9702 MB / 0.7155 GB, free: 15.26 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001632/0.2129, allocations: 184.4 kB / 0.7156 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.397e-05/0.213, allocations: 4 kB / 0.7156 GB, free: 15.03 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001214/0.2142, allocations: 276.8 kB / 0.7159 GB, free: 14.74 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006263/0.2148, allocations: 131.8 kB / 0.716 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007115/0.222, allocations: 8.473 MB / 0.7243 GB, free: 5.348 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000714/0.2227, allocations: 55.94 kB / 0.7244 GB, free: 5.293 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.003e-05/0.2228, allocations: 20 kB / 0.7244 GB, free: 5.273 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.152e-05/0.2228, allocations: 8.062 kB / 0.7244 GB, free: 5.266 MB / 0.5137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00245/0.2252, allocations: 1.081 MB / 0.7254 GB, free: 4.109 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.082e-06/0.2253, allocations: 7.938 kB / 0.7254 GB, free: 4.102 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007946/0.2261, allocations: 217.3 kB / 0.7256 GB, free: 3.871 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000601/0.2267, allocations: 135.8 kB / 0.7258 GB, free: 3.738 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005976/0.2327, allocations: 8.172 MB / 0.7338 GB, free: 10.77 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00077/0.2335, allocations: 55.94 kB / 0.7338 GB, free: 10.71 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.789e-05/0.2335, allocations: 16 kB / 0.7338 GB, free: 10.7 MB / 0.5294 GB 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.0004512/0.234, allocations: 326.2 kB / 0.7341 GB, free: 10.37 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001049/0.2341, allocations: 71.14 kB / 0.7342 GB, free: 10.3 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001729/0.2343, allocations: 82.38 kB / 0.7343 GB, free: 10.22 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/0.2343, allocations: 4 kB / 0.7343 GB, free: 10.21 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.079e-05/0.2343, allocations: 0 / 0.7343 GB, free: 10.21 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.2343, allocations: 0 / 0.7343 GB, free: 10.21 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008066/0.2351, allocations: 0.657 MB / 0.7349 GB, free: 9.508 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.484e-06/0.2351, allocations: 0 / 0.7349 GB, free: 9.508 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005103/0.2356, allocations: 99.84 kB / 0.735 GB, free: 9.41 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001007/0.2367, allocations: 261 kB / 0.7353 GB, free: 9.137 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.499e-05/0.2367, allocations: 8 kB / 0.7353 GB, free: 9.129 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006656/0.2434, allocations: 8.439 MB / 0.7435 GB, free: 15.89 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.2434, allocations: 0 / 0.7435 GB, free: 15.89 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002295/0.2457, allocations: 0.9561 MB / 0.7445 GB, free: 14.9 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000234/0.2459, allocations: 184.2 kB / 0.7446 GB, free: 14.7 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.4e-05/0.246, allocations: 11.94 kB / 0.7446 GB, free: 14.69 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005076/0.2465, allocations: 51.95 kB / 0.7447 GB, free: 14.64 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001182/0.2467, allocations: 35.94 kB / 0.7447 GB, free: 14.6 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.278e-05/0.2467, allocations: 12 kB / 0.7447 GB, free: 14.59 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0004575/0.2472, allocations: 411 kB / 0.7451 GB, free: 14.2 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2472, allocations: 0 / 0.7451 GB, free: 14.2 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001088/0.2483, allocations: 300 kB / 0.7454 GB, free: 13.9 MB / 0.545 GB 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.0001459/0.2484, allocations: 111.2 kB / 0.7455 GB, free: 13.79 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.003732/0.2521, allocations: 2.42 MB / 0.7479 GB, free: 11.21 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/0.2522, allocations: 0 / 0.7479 GB, free: 11.21 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001372/0.2535, allocations: 1.027 MB / 0.7489 GB, free: 10.11 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001033/0.2546, allocations: 211.7 kB / 0.7491 GB, free: 9.902 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002451/0.2571, allocations: 1.619 MB / 0.7507 GB, free: 8.254 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005584/0.2576, allocations: 0.9821 MB / 0.7516 GB, free: 7.242 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.000565/0.2582, allocations: 149.4 kB / 0.7518 GB, free: 7.094 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001289/0.2583, allocations: 43.44 kB / 0.7518 GB, free: 7.051 MB / 0.545 GB Notification: Performance of SimCode: time 6.51e-07/0.2583, allocations: 0 / 0.7518 GB, free: 7.051 MB / 0.545 GB Notification: Performance of Templates: time 0.02039/0.2787, allocations: 12.85 MB / 0.7644 GB, free: 10.35 MB / 0.5606 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.DCLine.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.DCLine.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.DCLine.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.DCLine.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.DCLine.sim & ./BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.DCLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.DCLine.pipe 2>&1)