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.001178/0.001178, allocations: 113.8 kB / 16.41 MB, free: 6.48 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.001341/0.001341, allocations: 193.8 kB / 17.34 MB, free: 5.762 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.2/1.2, 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.6691/0.6691, allocations: 115.3 MB / 406.5 MB, free: 6.176 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001098/0.001098, allocations: 62.8 kB / 0.5572 GB, free: 32.56 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1267/0.1278, allocations: 76.17 MB / 0.6316 GB, free: 4.953 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Lines.Examples.DCLine): time 0.007096/0.1349, allocations: 6.275 MB / 0.6377 GB, free: 14.65 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.005977/0.1409, allocations: 4.542 MB / 0.6421 GB, free: 10.09 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003182/0.1413, allocations: 27.88 kB / 0.6421 GB, free: 10.06 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00222/0.1435, allocations: 0.9128 MB / 0.643 GB, free: 9.148 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001505/0.145, allocations: 0.7835 MB / 0.6438 GB, free: 8.363 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005803/0.1456, allocations: 326.6 kB / 0.6441 GB, free: 8.047 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001045/0.1467, allocations: 1.137 MB / 0.6452 GB, free: 6.906 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007723/0.1475, allocations: 0.6849 MB / 0.6459 GB, free: 6.211 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00051/0.148, allocations: 478.4 kB / 0.6464 GB, free: 5.742 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005707/0.1486, allocations: 0.4942 MB / 0.6468 GB, free: 5.246 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.605e-05/0.1486, allocations: 72 kB / 0.6469 GB, free: 5.176 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004034/0.1491, allocations: 283.5 kB / 0.6472 GB, free: 4.898 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002085/0.1493, allocations: 255.2 kB / 0.6474 GB, free: 4.648 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003728/0.1497, allocations: 406 kB / 0.6478 GB, free: 4.25 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009434/0.1506, allocations: 1.075 MB / 0.6489 GB, free: 3.172 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.1506, allocations: 0 / 0.6489 GB, free: 3.172 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.304e-06/0.1506, allocations: 7.938 kB / 0.6489 GB, free: 3.164 MB / 494.1 MB Notification: Performance of Transformations before backend: time 9.508e-06/0.1506, allocations: 0 / 0.6489 GB, free: 3.164 MB / 494.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.001638/0.1523, allocations: 1.087 MB / 0.6499 GB, free: 2.027 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.484e-05/0.1523, allocations: 12.03 kB / 0.6499 GB, free: 2.016 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.888e-05/0.1524, allocations: 102.6 kB / 0.65 GB, free: 1.906 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002794/0.1552, allocations: 0.632 MB / 0.6506 GB, free: 1.273 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007475/0.156, allocations: 0.5735 MB / 0.6512 GB, free: 0.6602 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.808e-05/0.156, allocations: 41.69 kB / 0.6512 GB, free: 0.6172 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.741e-05/0.1561, allocations: 55.92 kB / 0.6513 GB, free: 0.5625 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001685/0.1578, allocations: 1.014 MB / 0.6523 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.657e-05/0.1578, allocations: 4 kB / 0.6523 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.825e-05/0.1579, allocations: 20 kB / 0.6523 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.64e-05/0.158, allocations: 49.28 kB / 0.6524 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002002/0.16, allocations: 1.004 MB / 0.6533 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003546/0.1635, allocations: 3.486 MB / 0.6567 GB, free: 10.63 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00125/0.1648, allocations: 499.4 kB / 0.6572 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004704/0.1653, allocations: 228.7 kB / 0.6574 GB, free: 9.91 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.202e-05/0.1653, allocations: 7.938 kB / 0.6574 GB, free: 9.902 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.028e-05/0.1653, allocations: 30.56 kB / 0.6575 GB, free: 9.863 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=31): time 1.572e-06/0.1653, allocations: 0 / 0.6575 GB, free: 9.863 MB / 0.4981 GB Notification: Performance of matching and sorting (n=43): time 0.005948/0.1713, allocations: 2.029 MB / 0.6595 GB, free: 7.789 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.299e-05/0.1713, allocations: 55.41 kB / 0.6595 GB, free: 7.723 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005956/0.1719, allocations: 0.5627 MB / 0.6601 GB, free: 7.152 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.185e-05/0.172, allocations: 33.7 kB / 0.6601 GB, free: 7.113 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002256/0.1722, allocations: 356.2 kB / 0.6604 GB, free: 6.762 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001091/0.1723, allocations: 153.8 kB / 0.6606 GB, free: 6.609 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001848/0.1725, allocations: 86.16 kB / 0.6607 GB, free: 6.52 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001304/0.1727, allocations: 378.7 kB / 0.661 GB, free: 6.141 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005819/0.1733, allocations: 258.9 kB / 0.6613 GB, free: 5.883 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006345/0.1739, allocations: 365.8 kB / 0.6616 GB, free: 5.484 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001249/0.1752, allocations: 0.6187 MB / 0.6622 GB, free: 4.824 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.1752, allocations: 4 kB / 0.6622 GB, free: 4.82 MB / 0.4981 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.002129/0.1773, allocations: 0.9351 MB / 0.6631 GB, free: 3.859 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.726e-05/0.1773, allocations: 12.06 kB / 0.6632 GB, free: 3.848 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/0.1773, allocations: 0 / 0.6632 GB, free: 3.848 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001072/0.1784, allocations: 268.9 kB / 0.6634 GB, free: 3.566 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005462/0.179, allocations: 119.8 kB / 0.6635 GB, free: 3.449 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007104/0.1861, allocations: 9.11 MB / 0.6724 GB, free: 9.504 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005321/0.1866, allocations: 43.95 kB / 0.6725 GB, free: 9.461 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.186e-05/0.1867, allocations: 20 kB / 0.6725 GB, free: 9.441 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007888/0.1875, allocations: 444.5 kB / 0.6729 GB, free: 9.004 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006295/0.1881, allocations: 358.5 kB / 0.6732 GB, free: 8.613 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00116/0.1893, allocations: 0.6129 MB / 0.6738 GB, free: 7.957 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.794e-06/0.1893, allocations: 0 / 0.6738 GB, free: 7.957 MB / 0.5137 GB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.002133/0.1915, allocations: 1.113 MB / 0.6749 GB, free: 6.762 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.357e-05/0.1915, allocations: 13.5 kB / 0.6749 GB, free: 6.75 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.1915, allocations: 7.938 kB / 0.675 GB, free: 6.742 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007073/0.1922, allocations: 225.4 kB / 0.6752 GB, free: 6.504 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005356/0.1927, allocations: 123.8 kB / 0.6753 GB, free: 6.383 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005712/0.1985, allocations: 8.787 MB / 0.6839 GB, free: 12.75 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004869/0.199, allocations: 43.95 kB / 0.6839 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.53e-05/0.199, allocations: 19.98 kB / 0.6839 GB, free: 12.68 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.0001749/0.1992, allocations: 220.1 kB / 0.6841 GB, free: 12.46 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001087/0.1993, allocations: 67.25 kB / 0.6842 GB, free: 12.39 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001546/0.1995, allocations: 78.52 kB / 0.6843 GB, free: 12.31 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.99e-06/0.1995, allocations: 7.984 kB / 0.6843 GB, free: 12.3 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.436e-06/0.1995, allocations: 0 / 0.6843 GB, free: 12.3 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.052e-06/0.1995, allocations: 7.984 kB / 0.6843 GB, free: 12.3 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007053/0.2002, allocations: 0.6415 MB / 0.6849 GB, free: 11.61 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.2002, allocations: 0 / 0.6849 GB, free: 11.61 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004382/0.2007, allocations: 95.84 kB / 0.685 GB, free: 11.52 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008455/0.2015, allocations: 256.9 kB / 0.6853 GB, free: 11.25 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.194e-05/0.2016, allocations: 7.984 kB / 0.6853 GB, free: 11.24 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006123/0.2077, allocations: 9.07 MB / 0.6941 GB, free: 1.332 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.2077, allocations: 0 / 0.6941 GB, free: 1.332 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001944/0.2097, allocations: 0.9169 MB / 0.695 GB, free: 388 kB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002053/0.2099, allocations: 184.2 kB / 0.6952 GB, free: 184 kB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.126e-05/0.21, allocations: 8 kB / 0.6952 GB, free: 176 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004441/0.2104, allocations: 43.94 kB / 0.6952 GB, free: 132 kB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.484e-05/0.2105, allocations: 31.95 kB / 0.6953 GB, free: 100 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.059e-05/0.2105, allocations: 12 kB / 0.6953 GB, free: 88 kB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0004203/0.211, allocations: 407.1 kB / 0.6957 GB, free: 15.69 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.4e-07/0.211, allocations: 4 kB / 0.6957 GB, free: 15.69 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0009352/0.2119, allocations: 300 kB / 0.696 GB, free: 15.39 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.002207/0.2141, allocations: 1.47 MB / 0.6974 GB, free: 13.88 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.00332/0.2175, allocations: 2.345 MB / 0.6997 GB, free: 11.38 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.961e-06/0.2175, allocations: 8.109 kB / 0.6997 GB, free: 11.37 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001196/0.2187, allocations: 1.007 MB / 0.7007 GB, free: 10.29 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008231/0.2195, allocations: 230 kB / 0.7009 GB, free: 10.07 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009284/0.2288, allocations: 6.169 MB / 0.7069 GB, free: 3.711 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006013/0.2295, allocations: 0.9896 MB / 0.7079 GB, free: 2.695 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0005053/0.23, allocations: 149.4 kB / 0.708 GB, free: 2.547 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003037/0.2303, allocations: 235.4 kB / 0.7083 GB, free: 2.32 MB / 0.545 GB Notification: Performance of SimCode: time 4.41e-07/0.2303, allocations: 0 / 0.7083 GB, free: 2.32 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05749/0.2878, allocations: 19.82 MB / 0.7276 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.83/12.12, allocations: 14.06 kB / 0.7276 GB, free: 14.75 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_DC_Lines_Examples_DCLine_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_DC_Lines_Examples_DCLine.fmu > IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLine.pipe 2>&1)