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: "" <> buildModelFMU(IBPSA.Electrical.DC.Lines.Examples.DCLine,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_DC_Lines_Examples_DCLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.DC.Lines.Examples.DCLine,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_DC_Lines_Examples_DCLine",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001401/0.001401, allocations: 106 kB / 16.41 MB, free: 6.5 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.001747/0.001747, allocations: 193.2 kB / 17.34 MB, free: 5.73 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.438/1.438, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.806/0.806, allocations: 122.9 MB / 414.1 MB, free: 15.81 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00122/0.00122, allocations: 68.72 kB / 0.5679 GB, free: 29.07 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1614/0.1626, allocations: 77.94 MB / 0.644 GB, free: 9.57 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Lines.Examples.DCLine): time 0.008476/0.1711, allocations: 6.26 MB / 0.6502 GB, free: 3.285 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.006515/0.1777, allocations: 4.53 MB / 0.6546 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004602/0.1782, allocations: 23.88 kB / 0.6546 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002355/0.1805, allocations: 0.9162 MB / 0.6555 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001909/0.1825, allocations: 0.7953 MB / 0.6563 GB, free: 13 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006859/0.1832, allocations: 315.5 kB / 0.6566 GB, free: 12.69 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001208/0.1844, allocations: 1.143 MB / 0.6577 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008243/0.1852, allocations: 0.6965 MB / 0.6584 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005366/0.1858, allocations: 482.3 kB / 0.6588 GB, free: 10.37 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006251/0.1864, allocations: 0.4903 MB / 0.6593 GB, free: 9.879 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.369e-05/0.1865, allocations: 68 kB / 0.6594 GB, free: 9.812 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004683/0.187, allocations: 279.5 kB / 0.6596 GB, free: 9.539 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002182/0.1872, allocations: 259.2 kB / 0.6599 GB, free: 9.285 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003766/0.1876, allocations: 406 kB / 0.6603 GB, free: 8.887 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001117/0.1887, allocations: 1.074 MB / 0.6613 GB, free: 7.809 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.1887, allocations: 0 / 0.6613 GB, free: 7.809 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.373e-06/0.1887, allocations: 0 / 0.6613 GB, free: 7.809 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.562e-05/0.1888, allocations: 0 / 0.6613 GB, free: 7.809 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.001849/0.1906, allocations: 1.125 MB / 0.6624 GB, free: 6.633 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.876e-05/0.1907, allocations: 12.62 kB / 0.6624 GB, free: 6.621 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001174/0.1908, allocations: 94.7 kB / 0.6625 GB, free: 6.52 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003317/0.1941, allocations: 0.6441 MB / 0.6632 GB, free: 5.875 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008978/0.195, allocations: 0.5741 MB / 0.6637 GB, free: 5.262 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.655e-05/0.1951, allocations: 41.67 kB / 0.6638 GB, free: 5.219 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001/0.1952, allocations: 63.88 kB / 0.6638 GB, free: 5.156 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001974/0.1972, allocations: 1.014 MB / 0.6648 GB, free: 4.098 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.725e-05/0.1972, allocations: 0 / 0.6648 GB, free: 4.098 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.312e-05/0.1973, allocations: 23.98 kB / 0.6648 GB, free: 4.074 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.678e-05/0.1973, allocations: 49.28 kB / 0.6649 GB, free: 4.027 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002391/0.1997, allocations: 1 MB / 0.6659 GB, free: 3.023 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004171/0.2039, allocations: 3.491 MB / 0.6693 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001488/0.2054, allocations: 0.492 MB / 0.6697 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005679/0.206, allocations: 236.6 kB / 0.67 GB, free: 14.49 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 3.064e-05/0.206, allocations: 3.984 kB / 0.67 GB, free: 14.49 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.534e-05/0.2061, allocations: 38.56 kB / 0.67 GB, free: 14.44 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=31): time 3.046e-06/0.2061, allocations: 0 / 0.67 GB, free: 14.44 MB / 0.5137 GB Notification: Performance of matching and sorting (n=43): time 0.006975/0.2131, allocations: 2.03 MB / 0.672 GB, free: 12.37 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.825e-05/0.2131, allocations: 55.41 kB / 0.672 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006542/0.2138, allocations: 0.5665 MB / 0.6726 GB, free: 11.72 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 4.079e-05/0.2138, allocations: 33.7 kB / 0.6726 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002453/0.2141, allocations: 364.8 kB / 0.673 GB, free: 11.32 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001323/0.2142, allocations: 162.6 kB / 0.6731 GB, free: 11.16 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001715/0.2144, allocations: 94.19 kB / 0.6732 GB, free: 11.06 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001484/0.2146, allocations: 370.7 kB / 0.6736 GB, free: 10.69 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006897/0.2153, allocations: 262.9 kB / 0.6738 GB, free: 10.43 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000755/0.216, allocations: 357.8 kB / 0.6742 GB, free: 10.03 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001423/0.2175, allocations: 0.6226 MB / 0.6748 GB, free: 9.367 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/0.2175, allocations: 0 / 0.6748 GB, free: 9.367 MB / 0.5137 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.002411/0.2199, allocations: 0.9391 MB / 0.6757 GB, free: 8.402 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.992e-05/0.2199, allocations: 4 kB / 0.6757 GB, free: 8.398 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.388e-06/0.2199, allocations: 4 kB / 0.6757 GB, free: 8.395 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001126/0.2211, allocations: 277.2 kB / 0.676 GB, free: 8.105 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006372/0.2217, allocations: 119.8 kB / 0.6761 GB, free: 7.988 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007194/0.2289, allocations: 9.12 MB / 0.685 GB, free: 14.04 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006838/0.2296, allocations: 39.94 kB / 0.685 GB, free: 14 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.319e-05/0.2297, allocations: 23.94 kB / 0.685 GB, free: 13.97 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009806/0.2307, allocations: 437.1 kB / 0.6855 GB, free: 13.54 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007837/0.2315, allocations: 357.4 kB / 0.6858 GB, free: 13.15 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001376/0.2329, allocations: 0.6129 MB / 0.6864 GB, free: 12.5 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.334e-06/0.2329, allocations: 0 / 0.6864 GB, free: 12.5 MB / 0.5294 GB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.002499/0.2354, allocations: 1.118 MB / 0.6875 GB, free: 11.3 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/0.2354, allocations: 11.94 kB / 0.6875 GB, free: 11.29 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.2354, allocations: 0 / 0.6875 GB, free: 11.29 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007684/0.2362, allocations: 225.1 kB / 0.6877 GB, free: 11.05 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005942/0.2368, allocations: 123.8 kB / 0.6878 GB, free: 10.93 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006074/0.2429, allocations: 8.788 MB / 0.6964 GB, free: 1.297 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006579/0.2436, allocations: 47.95 kB / 0.6965 GB, free: 1.25 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.877e-05/0.2436, allocations: 16 kB / 0.6965 GB, free: 1.234 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.0002005/0.2438, allocations: 219.3 kB / 0.6967 GB, free: 1.016 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001089/0.2439, allocations: 71.53 kB / 0.6968 GB, free: 0.9453 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001741/0.2441, allocations: 82.38 kB / 0.6968 GB, free: 0.8633 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.2441, allocations: 4 kB / 0.6968 GB, free: 0.8594 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.746e-06/0.2441, allocations: 4 kB / 0.6968 GB, free: 0.8555 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.2441, allocations: 0 / 0.6968 GB, free: 0.8555 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007301/0.2449, allocations: 0.6494 MB / 0.6975 GB, free: 160 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.2449, allocations: 0 / 0.6975 GB, free: 160 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004907/0.2454, allocations: 91.84 kB / 0.6976 GB, free: 68 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000929/0.2463, allocations: 261 kB / 0.6978 GB, free: 15.79 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.178e-05/0.2464, allocations: 8 kB / 0.6978 GB, free: 15.79 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006362/0.2527, allocations: 9.066 MB / 0.7067 GB, free: 5.883 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.2528, allocations: 64 / 0.7067 GB, free: 5.883 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002264/0.255, allocations: 0.925 MB / 0.7076 GB, free: 4.922 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003078/0.2554, allocations: 188.6 kB / 0.7078 GB, free: 4.719 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.537e-05/0.2554, allocations: 15.94 kB / 0.7078 GB, free: 4.703 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005105/0.256, allocations: 35.95 kB / 0.7078 GB, free: 4.668 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001553/0.2561, allocations: 39.94 kB / 0.7078 GB, free: 4.629 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.911e-05/0.2562, allocations: 16 kB / 0.7079 GB, free: 4.613 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0005323/0.2567, allocations: 399.1 kB / 0.7082 GB, free: 4.227 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2567, allocations: 0 / 0.7082 GB, free: 4.227 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001234/0.258, allocations: 300 kB / 0.7085 GB, free: 3.934 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.002488/0.2605, allocations: 1.47 MB / 0.71 GB, free: 2.418 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.003898/0.2644, allocations: 2.368 MB / 0.7123 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/0.2644, allocations: 0 / 0.7123 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.00141/0.2658, allocations: 1.012 MB / 0.7133 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001079/0.2669, allocations: 229.1 kB / 0.7135 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01046/0.2774, allocations: 6.192 MB / 0.7195 GB, free: 8.203 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005549/0.278, allocations: 0.9819 MB / 0.7205 GB, free: 7.191 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0005711/0.2786, allocations: 157.3 kB / 0.7206 GB, free: 7.035 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003183/0.2789, allocations: 235.4 kB / 0.7209 GB, free: 6.805 MB / 0.5606 GB Notification: Performance of SimCode: time 5.91e-07/0.2789, allocations: 3.938 kB / 0.7209 GB, free: 6.801 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05639/0.3353, allocations: 19.81 MB / 0.7402 GB, free: 3.262 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.53/12.86, allocations: 7.969 kB / 0.7402 GB, free: 3.254 MB / 0.5762 GB (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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLine_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Electrical_DC_Lines_Examples_DCLine.fmu > IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLine.pipe 2>&1)