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: "" <> buildModelFMU(BuildingSystems.Electrical.DC.Lines.Examples.DCLine,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_DC_Lines_Examples_DCLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.DC.Lines.Examples.DCLine,fileNamePrefix="BuildingSystems_BuildingSystems_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.001009/0.001009, allocations: 98.27 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.005595/0.005595, allocations: 170.6 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.292/1.292, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001776/0.001776, allocations: 262.4 kB / 291.7 MB, free: 1.883 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9248/0.9248, allocations: 169.5 MB / 0.5004 GB, free: 14.14 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005804/0.0005804, allocations: 10.94 kB / 0.5988 GB, free: 28.19 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1777/0.1783, allocations: 88.55 MB / 0.6852 GB, free: 14.96 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.DC.Lines.Examples.DCLine): time 0.006623/0.185, allocations: 5.853 MB / 0.6909 GB, free: 9.086 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.006247/0.1913, allocations: 4.471 MB / 0.6953 GB, free: 4.617 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006253/0.192, allocations: 19.88 kB / 0.6953 GB, free: 4.598 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005252/0.1925, allocations: 153.3 kB / 0.6955 GB, free: 4.449 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001989/0.1945, allocations: 0.7082 MB / 0.6962 GB, free: 3.746 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006887/0.1952, allocations: 290.9 kB / 0.6964 GB, free: 3.469 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001448/0.1967, allocations: 1.434 MB / 0.6978 GB, free: 2.031 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006702/0.1973, allocations: 0.547 MB / 0.6984 GB, free: 1.461 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000517/0.1979, allocations: 394.3 kB / 0.6988 GB, free: 1.074 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006242/0.1985, allocations: 478.1 kB / 0.6992 GB, free: 0.6055 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 6.44e-05/0.1986, allocations: 32 kB / 0.6992 GB, free: 0.5742 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005087/0.1991, allocations: 295.4 kB / 0.6995 GB, free: 292 kB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001812/0.1993, allocations: 211.2 kB / 0.6997 GB, free: 80 kB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003382/0.1996, allocations: 395.7 kB / 0.7001 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0009258/0.2006, allocations: 1.024 MB / 0.7011 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.2006, allocations: 0 / 0.7011 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.576e-06/0.2006, allocations: 0 / 0.7011 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.556e-06/0.2006, allocations: 3.938 kB / 0.7011 GB, free: 14.65 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.001559/0.2022, allocations: 0.9796 MB / 0.7021 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.986e-05/0.2022, allocations: 8.031 kB / 0.7021 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001266/0.2024, allocations: 98.7 kB / 0.7022 GB, free: 13.51 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003177/0.2055, allocations: 0.6475 MB / 0.7028 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007515/0.2063, allocations: 0.5502 MB / 0.7033 GB, free: 12.28 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.15e-05/0.2063, allocations: 37.69 kB / 0.7034 GB, free: 12.24 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.955e-05/0.2064, allocations: 55.92 kB / 0.7034 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001939/0.2084, allocations: 1.033 MB / 0.7044 GB, free: 11.11 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.484e-05/0.2084, allocations: 0 / 0.7044 GB, free: 11.11 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.868e-05/0.2085, allocations: 24 kB / 0.7045 GB, free: 11.09 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.747e-05/0.2086, allocations: 45.3 kB / 0.7045 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002349/0.2109, allocations: 1.024 MB / 0.7055 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003985/0.2149, allocations: 3.513 MB / 0.7089 GB, free: 6.195 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001473/0.2164, allocations: 0.5188 MB / 0.7094 GB, free: 5.668 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000574/0.217, allocations: 248.7 kB / 0.7097 GB, free: 5.422 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.355e-05/0.217, allocations: 4 kB / 0.7097 GB, free: 5.418 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.464e-05/0.2171, allocations: 34.56 kB / 0.7097 GB, free: 5.375 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=31): time 2.444e-06/0.2171, allocations: 0 / 0.7097 GB, free: 5.375 MB / 0.4981 GB Notification: Performance of matching and sorting (n=43): time 0.006974/0.2241, allocations: 2.229 MB / 0.7119 GB, free: 3.102 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.738e-05/0.2241, allocations: 55.41 kB / 0.7119 GB, free: 3.035 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006631/0.2248, allocations: 0.5704 MB / 0.7125 GB, free: 2.453 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.227e-05/0.2248, allocations: 29.7 kB / 0.7125 GB, free: 2.418 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002372/0.2251, allocations: 356.2 kB / 0.7129 GB, free: 2.066 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001195/0.2252, allocations: 153.8 kB / 0.713 GB, free: 1.914 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.911e-05/0.2253, allocations: 41.7 kB / 0.7131 GB, free: 1.867 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001534/0.2254, allocations: 378.7 kB / 0.7134 GB, free: 1.488 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006821/0.2261, allocations: 276.9 kB / 0.7137 GB, free: 1.215 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007277/0.2269, allocations: 381.8 kB / 0.714 GB, free: 0.8008 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001419/0.2283, allocations: 0.6733 MB / 0.7147 GB, free: 88 kB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.2283, allocations: 0 / 0.7147 GB, free: 88 kB / 0.4981 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.002436/0.2308, allocations: 0.9745 MB / 0.7156 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001305/0.2309, allocations: 186.2 kB / 0.7158 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.145e-05/0.2309, allocations: 4 kB / 0.7158 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001126/0.2321, allocations: 276.8 kB / 0.7161 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005971/0.2327, allocations: 127.8 kB / 0.7162 GB, free: 14.44 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00709/0.2398, allocations: 8.482 MB / 0.7245 GB, free: 5.168 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007346/0.2405, allocations: 60 kB / 0.7246 GB, free: 5.109 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.271e-05/0.2406, allocations: 20 kB / 0.7246 GB, free: 5.09 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 6.642e-06/0.2406, allocations: 0 / 0.7246 GB, free: 5.09 MB / 0.5137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002423/0.243, allocations: 1.089 MB / 0.7256 GB, free: 3.926 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/0.2431, allocations: 8.344 kB / 0.7256 GB, free: 3.918 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007631/0.2438, allocations: 221 kB / 0.7259 GB, free: 3.684 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006164/0.2444, allocations: 139.8 kB / 0.726 GB, free: 3.547 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005984/0.2504, allocations: 8.164 MB / 0.734 GB, free: 10.58 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007424/0.2512, allocations: 60 kB / 0.734 GB, free: 10.52 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.893e-05/0.2513, allocations: 20 kB / 0.734 GB, free: 10.5 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.0004991/0.2518, allocations: 313.5 kB / 0.7343 GB, free: 10.19 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001174/0.2519, allocations: 67.25 kB / 0.7344 GB, free: 10.12 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001654/0.2521, allocations: 82.36 kB / 0.7345 GB, free: 10.04 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.436e-05/0.2521, allocations: 8 kB / 0.7345 GB, free: 10.03 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.109e-05/0.2521, allocations: 0 / 0.7345 GB, free: 10.03 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/0.2521, allocations: 0 / 0.7345 GB, free: 10.03 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007967/0.2529, allocations: 0.6454 MB / 0.7351 GB, free: 9.336 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.2529, allocations: 0 / 0.7351 GB, free: 9.336 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004914/0.2534, allocations: 111.8 kB / 0.7352 GB, free: 9.227 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009533/0.2544, allocations: 265 kB / 0.7355 GB, free: 8.949 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.983e-05/0.2544, allocations: 8 kB / 0.7355 GB, free: 8.941 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006411/0.2609, allocations: 8.427 MB / 0.7437 GB, free: 15.71 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.2609, allocations: 0 / 0.7437 GB, free: 15.71 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002255/0.2631, allocations: 0.96 MB / 0.7447 GB, free: 14.72 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002467/0.2634, allocations: 184.2 kB / 0.7448 GB, free: 14.52 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.968e-05/0.2635, allocations: 7.938 kB / 0.7448 GB, free: 14.51 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005035/0.264, allocations: 55.95 kB / 0.7449 GB, free: 14.46 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001175/0.2641, allocations: 35.94 kB / 0.7449 GB, free: 14.42 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.136e-05/0.2642, allocations: 12 kB / 0.7449 GB, free: 14.41 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0004484/0.2646, allocations: 415 kB / 0.7453 GB, free: 14.01 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.704e-06/0.2646, allocations: 0 / 0.7453 GB, free: 14.01 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001017/0.2656, allocations: 303.9 kB / 0.7456 GB, free: 13.71 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.002546/0.2682, allocations: 1.517 MB / 0.7471 GB, free: 12.15 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.003733/0.2719, allocations: 2.419 MB / 0.7495 GB, free: 9.578 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.272, allocations: 0 / 0.7495 GB, free: 9.578 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001335/0.2733, allocations: 1.023 MB / 0.7505 GB, free: 8.477 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000969/0.2743, allocations: 211.5 kB / 0.7507 GB, free: 8.273 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01087/0.2852, allocations: 6.798 MB / 0.7573 GB, free: 1.273 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006317/0.2858, allocations: 0.9859 MB / 0.7583 GB, free: 264 kB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0006121/0.2864, allocations: 149.4 kB / 0.7584 GB, free: 112 kB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003179/0.2868, allocations: 239.4 kB / 0.7586 GB, free: 15.87 MB / 0.5606 GB Notification: Performance of SimCode: time 4.8e-07/0.2868, allocations: 0 / 0.7586 GB, free: 15.87 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2983/0.5851, allocations: 18.72 MB / 0.7769 GB, free: 87.02 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000138/0.5852, allocations: 238.3 kB / 0.7771 GB, free: 86.77 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.119/2.704, allocations: 1.312 kB / 0.7771 GB, free: 86.77 MB / 0.5606 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_DC_Lines_Examples_DCLine_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Electrical_DC_Lines_Examples_DCLine.fmu > BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.DCLine.pipe 2>&1)