Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Electrical.DC.Lines.Examples.DCLine,fileNamePrefix="Buildings_8_Buildings_Electrical_DC_Lines_Examples_DCLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Lines.Examples.DCLine,fileNamePrefix="Buildings_8_Buildings_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.00106/0.00106, allocations: 92.23 kB / 15.36 MB, free: 0.7383 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.004685/0.004685, allocations: 169.8 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.155/1.155, allocations: 205.4 MB / 222.4 MB, free: 5.551 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.495/1.495, allocations: 292.7 MB / 0.5502 GB, free: 14.46 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004444/0.0004444, allocations: 21.42 kB / 0.6744 GB, free: 25.73 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1695/0.1699, allocations: 116.3 MB / 0.788 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLine): time 0.006191/0.1761, allocations: 5.835 MB / 0.7937 GB, free: 5.621 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00521/0.1814, allocations: 4.493 MB / 0.7981 GB, free: 1.113 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002354/0.1816, allocations: 23.88 kB / 0.7981 GB, free: 1.09 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0003606/0.182, allocations: 142.9 kB / 0.7982 GB, free: 0.9492 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.00124/0.1832, allocations: 0.7113 MB / 0.7989 GB, free: 244 kB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005101/0.1838, allocations: 287.6 kB / 0.7992 GB, free: 15.96 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.001273/0.1851, allocations: 1.445 MB / 0.8006 GB, free: 14.51 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005752/0.1856, allocations: 0.538 MB / 0.8011 GB, free: 13.95 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004276/0.1861, allocations: 394.4 kB / 0.8015 GB, free: 13.56 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000552/0.1866, allocations: 474 kB / 0.802 GB, free: 13.09 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 6.2e-05/0.1867, allocations: 32 kB / 0.802 GB, free: 13.06 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004481/0.1872, allocations: 311.4 kB / 0.8023 GB, free: 12.76 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.000168/0.1873, allocations: 211.3 kB / 0.8025 GB, free: 12.55 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0003077/0.1877, allocations: 395.6 kB / 0.8029 GB, free: 12.16 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0009184/0.1886, allocations: 1.024 MB / 0.8039 GB, free: 11.13 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.1886, allocations: 0 / 0.8039 GB, free: 11.13 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.513e-06/0.1886, allocations: 0 / 0.8039 GB, free: 11.13 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 8.947e-06/0.1886, allocations: 0 / 0.8039 GB, free: 11.13 MB / 0.6231 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.001425/0.19, allocations: 0.966 MB / 0.8048 GB, free: 10.11 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.548e-05/0.1901, allocations: 16.03 kB / 0.8048 GB, free: 10.1 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001246/0.1902, allocations: 98.69 kB / 0.8049 GB, free: 9.992 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003107/0.1933, allocations: 0.6476 MB / 0.8056 GB, free: 9.344 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006658/0.194, allocations: 0.5462 MB / 0.8061 GB, free: 8.754 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.033e-05/0.194, allocations: 37.69 kB / 0.8061 GB, free: 8.715 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.655e-05/0.1941, allocations: 51.94 kB / 0.8062 GB, free: 8.664 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001862/0.196, allocations: 1.029 MB / 0.8072 GB, free: 7.594 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.511e-05/0.196, allocations: 3.984 kB / 0.8072 GB, free: 7.59 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.544e-05/0.1961, allocations: 24 kB / 0.8072 GB, free: 7.566 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-05/0.1962, allocations: 45.3 kB / 0.8073 GB, free: 7.523 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00232/0.1985, allocations: 1.02 MB / 0.8082 GB, free: 6.504 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003747/0.2022, allocations: 3.521 MB / 0.8117 GB, free: 2.672 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001397/0.2037, allocations: 0.5358 MB / 0.8122 GB, free: 2.129 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005601/0.2042, allocations: 244.6 kB / 0.8124 GB, free: 1.887 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 2.892e-05/0.2043, allocations: 7.984 kB / 0.8124 GB, free: 1.879 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.469e-05/0.2043, allocations: 38.56 kB / 0.8125 GB, free: 1.832 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=31): time 1.453e-06/0.2043, allocations: 0 / 0.8125 GB, free: 1.832 MB / 0.6231 GB Notification: Performance of matching and sorting (n=43): time 0.006708/0.211, allocations: 2.236 MB / 0.8147 GB, free: 15.55 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.382e-05/0.2111, allocations: 59.41 kB / 0.8147 GB, free: 15.48 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000597/0.2117, allocations: 0.5549 MB / 0.8153 GB, free: 14.92 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 3.8e-05/0.2117, allocations: 33.7 kB / 0.8153 GB, free: 14.88 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.000226/0.2119, allocations: 360.2 kB / 0.8156 GB, free: 14.52 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001135/0.2121, allocations: 145.8 kB / 0.8158 GB, free: 14.38 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.565e-05/0.2121, allocations: 45.69 kB / 0.8158 GB, free: 14.33 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001375/0.2123, allocations: 374.7 kB / 0.8162 GB, free: 13.95 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006746/0.213, allocations: 284.9 kB / 0.8165 GB, free: 13.68 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007186/0.2137, allocations: 381.8 kB / 0.8168 GB, free: 13.26 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001388/0.2151, allocations: 0.6733 MB / 0.8175 GB, free: 12.55 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.2151, allocations: 0 / 0.8175 GB, free: 12.55 MB / 0.6387 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.002342/0.2174, allocations: 0.9778 MB / 0.8184 GB, free: 11.54 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 9.389e-05/0.2176, allocations: 180.5 kB / 0.8186 GB, free: 11.32 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.225e-06/0.2176, allocations: 7.984 kB / 0.8186 GB, free: 11.31 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001097/0.2187, allocations: 272.8 kB / 0.8189 GB, free: 11.03 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000571/0.2193, allocations: 127.8 kB / 0.819 GB, free: 10.9 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006898/0.2262, allocations: 8.475 MB / 0.8273 GB, free: 1.637 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005499/0.2267, allocations: 56.05 kB / 0.8273 GB, free: 1.582 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.782e-05/0.2268, allocations: 23.98 kB / 0.8273 GB, free: 1.559 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 6.182e-06/0.2268, allocations: 4 kB / 0.8274 GB, free: 1.555 MB / 0.6387 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002313/0.2291, allocations: 1.089 MB / 0.8284 GB, free: 400 kB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-06/0.2291, allocations: 4 kB / 0.8284 GB, free: 396 kB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007241/0.2299, allocations: 221.2 kB / 0.8286 GB, free: 156 kB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005665/0.2304, allocations: 131.8 kB / 0.8288 GB, free: 24 kB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005523/0.236, allocations: 8.173 MB / 0.8367 GB, free: 7.051 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005155/0.2365, allocations: 55.94 kB / 0.8368 GB, free: 6.996 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.534e-05/0.2365, allocations: 20.06 kB / 0.8368 GB, free: 6.977 MB / 0.6544 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.0003325/0.2369, allocations: 312.2 kB / 0.8371 GB, free: 6.664 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.89e-05/0.237, allocations: 67.25 kB / 0.8372 GB, free: 6.598 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001528/0.2371, allocations: 86.3 kB / 0.8373 GB, free: 6.508 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.2372, allocations: 4 kB / 0.8373 GB, free: 6.504 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.967e-06/0.2372, allocations: 8 kB / 0.8373 GB, free: 6.496 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.2372, allocations: 0 / 0.8373 GB, free: 6.496 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007499/0.2379, allocations: 0.6494 MB / 0.8379 GB, free: 5.797 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.816e-06/0.2379, allocations: 0 / 0.8379 GB, free: 5.797 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004884/0.2384, allocations: 99.86 kB / 0.838 GB, free: 5.699 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000918/0.2394, allocations: 264.8 kB / 0.8382 GB, free: 5.422 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.873e-05/0.2394, allocations: 8 kB / 0.8383 GB, free: 5.414 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006201/0.2456, allocations: 8.428 MB / 0.8465 GB, free: 12.19 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.2456, allocations: 0 / 0.8465 GB, free: 12.19 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002211/0.2478, allocations: 0.9638 MB / 0.8474 GB, free: 11.19 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001994/0.2481, allocations: 180.3 kB / 0.8476 GB, free: 10.99 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.113e-05/0.2481, allocations: 15.94 kB / 0.8476 GB, free: 10.98 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004699/0.2486, allocations: 47.95 kB / 0.8477 GB, free: 10.93 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001064/0.2487, allocations: 43.88 kB / 0.8477 GB, free: 10.89 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.727e-05/0.2488, allocations: 12 kB / 0.8477 GB, free: 10.88 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0004028/0.2492, allocations: 407 kB / 0.8481 GB, free: 10.48 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.7e-07/0.2492, allocations: 0 / 0.8481 GB, free: 10.48 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0008654/0.25, allocations: 300 kB / 0.8484 GB, free: 10.19 MB / 0.67 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.002463/0.2525, allocations: 1.517 MB / 0.8499 GB, free: 8.629 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.003563/0.2561, allocations: 2.419 MB / 0.8522 GB, free: 6.055 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.2561, allocations: 0 / 0.8522 GB, free: 6.055 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.001279/0.2574, allocations: 1.027 MB / 0.8532 GB, free: 4.949 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009182/0.2583, allocations: 217.2 kB / 0.8534 GB, free: 4.738 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01027/0.2686, allocations: 6.79 MB / 0.8601 GB, free: 13.75 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005237/0.2691, allocations: 0.9858 MB / 0.861 GB, free: 12.74 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0005118/0.2697, allocations: 153.4 kB / 0.8612 GB, free: 12.59 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002933/0.27, allocations: 239.3 kB / 0.8614 GB, free: 12.35 MB / 0.6856 GB Notification: Performance of SimCode: time 3.91e-07/0.27, allocations: 0 / 0.8614 GB, free: 12.35 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.829/2.099, allocations: 18.7 MB / 0.8797 GB, free: 9.941 MB / 0.7012 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002566/2.1, allocations: 230.1 kB / 0.8799 GB, free: 9.684 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.193/4.292, allocations: 0 / 0.8799 GB, free: 9.684 MB / 0.7012 GB (rm -f Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe ; mkfifo Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe >> ../files/Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_DC_Lines_Examples_DCLine_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_DC_Lines_Examples_DCLine.fmu > Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe 2>&1)