Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.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.AC.OnePhase.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R",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.001014/0.001014, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001046/0.001046, allocations: 192.9 kB / 16.14 MB, free: 6.715 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.23/1.23, allocations: 205.1 MB / 222 MB, free: 4.988 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.534/1.534, allocations: 292.3 MB / 0.5484 GB, free: 13.69 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.00132/0.00132, allocations: 65.28 kB / 0.6709 GB, free: 26.22 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1706/0.172, allocations: 114.5 MB / 0.7828 GB, free: 13.94 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.006926/0.1789, allocations: 6.711 MB / 0.7894 GB, free: 7.195 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003559/0.1825, allocations: 3.06 MB / 0.7923 GB, free: 4.121 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002095/0.1827, allocations: 27.81 kB / 0.7924 GB, free: 4.094 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001803/0.1845, allocations: 0.8935 MB / 0.7932 GB, free: 3.199 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0006567/0.1852, allocations: 477.7 kB / 0.7937 GB, free: 2.73 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006592/0.1859, allocations: 390.1 kB / 0.7941 GB, free: 2.352 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001085/0.187, allocations: 1.579 MB / 0.7956 GB, free: 0.7695 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000738/0.1877, allocations: 0.6445 MB / 0.7962 GB, free: 120 kB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003754/0.1881, allocations: 418.5 kB / 0.7966 GB, free: 15.7 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004809/0.1886, allocations: 0.5331 MB / 0.7972 GB, free: 15.17 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 7.849e-05/0.1887, allocations: 48 kB / 0.7972 GB, free: 15.12 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005538/0.1892, allocations: 455 kB / 0.7976 GB, free: 14.68 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0002313/0.1895, allocations: 291.2 kB / 0.7979 GB, free: 14.39 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0003356/0.1898, allocations: 425.8 kB / 0.7983 GB, free: 13.98 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0009028/0.1907, allocations: 1.195 MB / 0.7995 GB, free: 12.78 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.1907, allocations: 0 / 0.7995 GB, free: 12.78 MB / 0.6231 GB Notification: Performance of FrontEnd: time 7.22e-07/0.1907, allocations: 0 / 0.7995 GB, free: 12.78 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 8.155e-06/0.1907, allocations: 4 kB / 0.7995 GB, free: 12.77 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: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.001505/0.1923, allocations: 1.161 MB / 0.8006 GB, free: 11.56 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.238e-05/0.1923, allocations: 16.03 kB / 0.8006 GB, free: 11.54 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001142/0.1924, allocations: 114.7 kB / 0.8008 GB, free: 11.42 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001402/0.1938, allocations: 239.6 kB / 0.801 GB, free: 11.19 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006303/0.1945, allocations: 0.5452 MB / 0.8015 GB, free: 10.61 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.127e-05/0.1945, allocations: 49.67 kB / 0.8016 GB, free: 10.56 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.7e-05/0.1946, allocations: 64.31 kB / 0.8016 GB, free: 10.5 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001254/0.1959, allocations: 1.097 MB / 0.8027 GB, free: 9.293 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.064e-05/0.1959, allocations: 3.938 kB / 0.8027 GB, free: 9.289 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.381e-05/0.196, allocations: 32 kB / 0.8027 GB, free: 9.258 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001307/0.1961, allocations: 85.25 kB / 0.8028 GB, free: 9.172 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009917/0.1971, allocations: 0.7504 MB / 0.8035 GB, free: 8.422 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004281/0.2014, allocations: 5.889 MB / 0.8093 GB, free: 2.105 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008448/0.2022, allocations: 0.5585 MB / 0.8098 GB, free: 1.535 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003877/0.2026, allocations: 326 kB / 0.8101 GB, free: 1.215 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 3.126e-05/0.2027, allocations: 8.422 kB / 0.8102 GB, free: 1.207 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.14e-05/0.2027, allocations: 38.94 kB / 0.8102 GB, free: 1.16 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=47): time 1.874e-06/0.2027, allocations: 4 kB / 0.8102 GB, free: 1.156 MB / 0.6231 GB Notification: Performance of matching and sorting (n=48): time 0.003273/0.206, allocations: 1.982 MB / 0.8121 GB, free: 15.07 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.947e-05/0.206, allocations: 59.84 kB / 0.8122 GB, free: 15 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005006/0.2065, allocations: 0.5547 MB / 0.8127 GB, free: 14.44 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 3.132e-05/0.2066, allocations: 33.7 kB / 0.8128 GB, free: 14.4 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002185/0.2068, allocations: 414.9 kB / 0.8132 GB, free: 13.99 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001078/0.2069, allocations: 177.5 kB / 0.8133 GB, free: 13.81 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001627/0.2071, allocations: 126.5 kB / 0.8134 GB, free: 13.68 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001251/0.2072, allocations: 378.7 kB / 0.8138 GB, free: 13.3 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003621/0.2076, allocations: 277.8 kB / 0.8141 GB, free: 13.04 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004708/0.208, allocations: 485 kB / 0.8145 GB, free: 12.46 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008721/0.2089, allocations: 0.8171 MB / 0.8153 GB, free: 11.55 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.895e-06/0.2089, allocations: 3.984 kB / 0.8153 GB, free: 11.55 MB / 0.6387 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001566/0.2105, allocations: 1.082 MB / 0.8164 GB, free: 10.45 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.2105, allocations: 8 kB / 0.8164 GB, free: 10.44 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.2106, allocations: 8.875 kB / 0.8164 GB, free: 10.43 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007543/0.2113, allocations: 283.1 kB / 0.8167 GB, free: 10.14 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004174/0.2117, allocations: 127.8 kB / 0.8168 GB, free: 10.02 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005185/0.2169, allocations: 6.595 MB / 0.8232 GB, free: 2.883 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004225/0.2174, allocations: 39.97 kB / 0.8233 GB, free: 2.844 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.582e-05/0.2174, allocations: 28 kB / 0.8233 GB, free: 2.816 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (67): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,6,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002483/0.2177, allocations: 249.5 kB / 0.8235 GB, free: 2.562 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.489e-05/0.2178, allocations: 75.27 kB / 0.8236 GB, free: 2.488 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001358/0.2191, allocations: 0.8885 MB / 0.8245 GB, free: 1.582 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.15e-06/0.2192, allocations: 4 kB / 0.8245 GB, free: 1.578 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.2192, allocations: 4 kB / 0.8245 GB, free: 1.574 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.2192, allocations: 3.984 kB / 0.8245 GB, free: 1.57 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00222/0.2214, allocations: 1.732 MB / 0.8262 GB, free: 15.74 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.2214, allocations: 3.938 kB / 0.8262 GB, free: 15.74 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000241/0.2217, allocations: 59.89 kB / 0.8263 GB, free: 15.68 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006701/0.2223, allocations: 267.2 kB / 0.8265 GB, free: 15.41 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.948e-05/0.2224, allocations: 8 kB / 0.8265 GB, free: 15.4 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005082/0.2275, allocations: 6.591 MB / 0.8329 GB, free: 8.277 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.2275, allocations: 0 / 0.8329 GB, free: 8.277 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001292/0.2288, allocations: 0.9915 MB / 0.8339 GB, free: 7.242 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002057/0.229, allocations: 200.2 kB / 0.8341 GB, free: 7.027 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.759e-05/0.2291, allocations: 15.88 kB / 0.8341 GB, free: 7.012 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003324/0.2294, allocations: 31.97 kB / 0.8342 GB, free: 6.98 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.08e-05/0.2295, allocations: 35.94 kB / 0.8342 GB, free: 6.945 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.815e-05/0.2295, allocations: 16 kB / 0.8342 GB, free: 6.93 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0003444/0.2299, allocations: 387.1 kB / 0.8346 GB, free: 6.555 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2299, allocations: 0 / 0.8346 GB, free: 6.555 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0006155/0.2305, allocations: 228 kB / 0.8348 GB, free: 6.332 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001531/0.2321, allocations: 1.544 MB / 0.8363 GB, free: 4.727 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001605/0.2337, allocations: 1.268 MB / 0.8375 GB, free: 3.406 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.2337, allocations: 0 / 0.8375 GB, free: 3.406 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001039/0.2347, allocations: 0.8854 MB / 0.8384 GB, free: 2.469 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008628/0.2356, allocations: 196.5 kB / 0.8386 GB, free: 2.281 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007382/0.243, allocations: 6.804 MB / 0.8452 GB, free: 11.14 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004777/0.2435, allocations: 1.013 MB / 0.8462 GB, free: 10.11 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0003548/0.2438, allocations: 122 kB / 0.8463 GB, free: 9.984 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002717/0.2441, allocations: 251.4 kB / 0.8466 GB, free: 9.738 MB / 0.67 GB Notification: Performance of SimCode: time 3.91e-07/0.2441, allocations: 0 / 0.8466 GB, free: 9.738 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.274/3.519, allocations: 16.6 MB / 0.8628 GB, free: 9.414 MB / 0.6856 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001863/3.519, allocations: 228.4 kB / 0.863 GB, free: 9.16 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.13/5.649, allocations: 0 / 0.863 GB, free: 9.16 MB / 0.6856 GB (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R.fmu > Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe 2>&1)