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.00088/0.0008801, allocations: 98.42 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001032/0.001032, allocations: 179.7 kB / 16.92 MB, free: 6.75 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.295/1.295, allocations: 223.3 MB / 241 MB, free: 5.246 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6633/0.6633, allocations: 115.5 MB / 407.6 MB, free: 2.68 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002705/0.0002705, allocations: 8 kB / 496 MB, free: 6.227 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1288/0.1291, allocations: 77.53 MB / 0.56 GB, free: 8.898 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Lines.Examples.DCLine): time 0.006411/0.1355, allocations: 5.851 MB / 0.5658 GB, free: 3.02 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005937/0.1415, allocations: 4.461 MB / 0.5701 GB, free: 14.54 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005293/0.1421, allocations: 23.88 kB / 0.5701 GB, free: 14.52 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005062/0.1426, allocations: 146.9 kB / 0.5703 GB, free: 14.38 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00191/0.1445, allocations: 0.7062 MB / 0.571 GB, free: 13.67 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008519/0.1454, allocations: 287.1 kB / 0.5712 GB, free: 13.39 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.00191/0.1473, allocations: 1.452 MB / 0.5727 GB, free: 11.93 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008778/0.1482, allocations: 0.5377 MB / 0.5732 GB, free: 11.38 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008095/0.149, allocations: 394.4 kB / 0.5736 GB, free: 10.99 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007865/0.1498, allocations: 486 kB / 0.574 GB, free: 10.51 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.971e-05/0.1499, allocations: 32 kB / 0.5741 GB, free: 10.48 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005562/0.1505, allocations: 299.4 kB / 0.5743 GB, free: 10.19 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000206/0.1507, allocations: 215.3 kB / 0.5745 GB, free: 9.977 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003805/0.1511, allocations: 387.7 kB / 0.5749 GB, free: 9.59 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001027/0.1521, allocations: 1.028 MB / 0.5759 GB, free: 8.559 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.1521, allocations: 4 kB / 0.5759 GB, free: 8.555 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1521, allocations: 3.938 kB / 0.5759 GB, free: 8.551 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.008e-05/0.1522, allocations: 0 / 0.5759 GB, free: 8.551 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.002041/0.1542, allocations: 0.9738 MB / 0.5769 GB, free: 7.527 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.261e-05/0.1543, allocations: 12.03 kB / 0.5769 GB, free: 7.516 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002565/0.1546, allocations: 102.6 kB / 0.577 GB, free: 7.406 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00332/0.1579, allocations: 0.6476 MB / 0.5776 GB, free: 6.758 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007975/0.1587, allocations: 0.5424 MB / 0.5781 GB, free: 6.172 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.158e-05/0.1587, allocations: 37.69 kB / 0.5782 GB, free: 6.133 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001019/0.1588, allocations: 51.94 kB / 0.5782 GB, free: 6.082 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001995/0.1608, allocations: 1.026 MB / 0.5792 GB, free: 5.012 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.699e-05/0.1609, allocations: 7.938 kB / 0.5792 GB, free: 5.004 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.808e-05/0.1609, allocations: 20 kB / 0.5793 GB, free: 4.984 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.224e-05/0.161, allocations: 49.28 kB / 0.5793 GB, free: 4.938 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002388/0.1634, allocations: 1.016 MB / 0.5803 GB, free: 3.922 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004127/0.1675, allocations: 3.513 MB / 0.5837 GB, free: 104 kB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2332/0.4007, allocations: 0.5125 MB / 0.5842 GB, free: 31.04 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005916/0.4013, allocations: 242.5 kB / 0.5845 GB, free: 31.04 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.191e-05/0.4014, allocations: 11.91 kB / 0.5845 GB, free: 31.04 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.22e-05/0.4014, allocations: 44.64 kB / 0.5845 GB, free: 31 MB / 446.1 MB Notification: Performance of pre-optimization done (n=31): time 1.923e-06/0.4014, allocations: 0 / 0.5845 GB, free: 31 MB / 446.1 MB Notification: Performance of matching and sorting (n=43): time 0.006951/0.4084, allocations: 2.216 MB / 0.5867 GB, free: 30.74 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.301e-05/0.4084, allocations: 55.91 kB / 0.5867 GB, free: 30.68 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007972/0.4092, allocations: 0.5703 MB / 0.5873 GB, free: 30.54 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.399e-05/0.4093, allocations: 37.52 kB / 0.5873 GB, free: 30.51 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002529/0.4095, allocations: 353.8 kB / 0.5877 GB, free: 30.34 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001073/0.4096, allocations: 152.5 kB / 0.5878 GB, free: 30.25 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.828e-05/0.4097, allocations: 44 kB / 0.5879 GB, free: 30.23 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.786e-05/0.4098, allocations: 370.9 kB / 0.5882 GB, free: 29.92 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007448/0.4106, allocations: 281.6 kB / 0.5885 GB, free: 29.91 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007622/0.4113, allocations: 382.1 kB / 0.5888 GB, free: 29.72 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001439/0.4128, allocations: 0.6665 MB / 0.5895 GB, free: 29.41 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.4128, allocations: 1.406 kB / 0.5895 GB, free: 29.41 MB / 446.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.002442/0.4153, allocations: 0.9844 MB / 0.5905 GB, free: 29.04 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.664e-05/0.4154, allocations: 183.3 kB / 0.5906 GB, free: 28.83 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.019e-05/0.4154, allocations: 7.562 kB / 0.5906 GB, free: 28.82 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001118/0.4165, allocations: 275.9 kB / 0.5909 GB, free: 28.73 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006062/0.4171, allocations: 126.2 kB / 0.591 GB, free: 28.72 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005322/0.4224, allocations: 8.489 MB / 0.5993 GB, free: 20.58 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006229/0.4231, allocations: 54.05 kB / 0.5994 GB, free: 20.57 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.018e-05/0.4231, allocations: 20.86 kB / 0.5994 GB, free: 20.57 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.791e-06/0.4232, allocations: 3.688 kB / 0.5994 GB, free: 20.57 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002308/0.4255, allocations: 1.096 MB / 0.6005 GB, free: 19.98 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/0.4255, allocations: 2.781 kB / 0.6005 GB, free: 19.98 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000742/0.4262, allocations: 218.8 kB / 0.6007 GB, free: 19.89 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006096/0.4269, allocations: 133.7 kB / 0.6008 GB, free: 19.88 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004347/0.4312, allocations: 8.166 MB / 0.6088 GB, free: 11.84 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006016/0.4318, allocations: 56.98 kB / 0.6088 GB, free: 11.82 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.373e-05/0.4319, allocations: 16.03 kB / 0.6088 GB, free: 11.82 MB / 446.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.0003544/0.4322, allocations: 313.3 kB / 0.6091 GB, free: 11.57 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000125/0.4324, allocations: 73.23 kB / 0.6092 GB, free: 11.54 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001566/0.4325, allocations: 79.58 kB / 0.6093 GB, free: 11.48 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.171e-06/0.4326, allocations: 5.266 kB / 0.6093 GB, free: 11.48 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.309e-05/0.4326, allocations: 1.406 kB / 0.6093 GB, free: 11.48 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.393e-06/0.4326, allocations: 3 kB / 0.6093 GB, free: 11.48 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007903/0.4334, allocations: 0.6489 MB / 0.6099 GB, free: 11.12 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.4334, allocations: 7.75 kB / 0.6099 GB, free: 11.12 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004935/0.4339, allocations: 97.36 kB / 0.61 GB, free: 11.12 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009406/0.4348, allocations: 262.4 kB / 0.6103 GB, free: 11.02 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.443e-05/0.4349, allocations: 15.08 kB / 0.6103 GB, free: 11.01 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004723/0.4396, allocations: 8.423 MB / 0.6185 GB, free: 2.871 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.4396, allocations: 0.7031 kB / 0.6185 GB, free: 2.871 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002116/0.4418, allocations: 0.9727 MB / 0.6195 GB, free: 2.434 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002275/0.442, allocations: 177.2 kB / 0.6196 GB, free: 2.289 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.964e-05/0.4421, allocations: 9.953 kB / 0.6196 GB, free: 2.281 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004745/0.4426, allocations: 47.77 kB / 0.6197 GB, free: 2.277 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001125/0.4427, allocations: 44.41 kB / 0.6197 GB, free: 2.266 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.968e-05/0.4427, allocations: 19.67 kB / 0.6197 GB, free: 2.254 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004185/0.4431, allocations: 408 kB / 0.6201 GB, free: 2.07 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4431, allocations: 0 / 0.6201 GB, free: 2.07 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001017/0.4442, allocations: 296.3 kB / 0.6204 GB, free: 2.047 MB / 446.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.002233/0.4464, allocations: 1.512 MB / 0.6219 GB, free: 1.086 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003459/0.4499, allocations: 2.407 MB / 0.6242 GB, free: 15.43 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/0.4499, allocations: 5.344 kB / 0.6243 GB, free: 15.43 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001339/0.4512, allocations: 1.038 MB / 0.6253 GB, free: 14.63 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009923/0.4523, allocations: 210.9 kB / 0.6255 GB, free: 14.56 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01051/0.4628, allocations: 6.798 MB / 0.6321 GB, free: 10.62 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005098/0.4633, allocations: 0.981 MB / 0.6331 GB, free: 9.789 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0005936/0.4639, allocations: 153.6 kB / 0.6332 GB, free: 9.715 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002863/0.4642, allocations: 237.4 kB / 0.6334 GB, free: 9.516 MB / 462.1 MB Notification: Performance of SimCode: time 4.61e-07/0.4642, allocations: 0 / 0.6334 GB, free: 9.516 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.524/1.988, allocations: 18.7 MB / 0.6517 GB, free: 10.35 MB / 478.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003095/1.989, allocations: 214.9 kB / 0.6519 GB, free: 10.1 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.099/4.087, allocations: 3.938 kB / 0.6519 GB, free: 10.1 MB / 478.1 MB (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)