Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.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.ThreePhasesBalanced.Lines.Examples.ACLine_L,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L",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.00165/0.001651, allocations: 109.4 kB / 15.69 MB, free: 128 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.001807/0.001807, allocations: 187.3 kB / 16.62 MB, free: 6.582 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.429/1.429, allocations: 205.1 MB / 222.5 MB, free: 4.535 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.657/1.657, allocations: 292.3 MB / 0.549 GB, free: 12.74 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.001372/0.001372, allocations: 72.09 kB / 0.6718 GB, free: 26.06 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2034/0.2048, allocations: 114.5 MB / 0.7836 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L): time 0.007479/0.2123, allocations: 6.134 MB / 0.7896 GB, free: 7.109 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.005354/0.2177, allocations: 3.232 MB / 0.7928 GB, free: 3.863 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005611/0.2183, allocations: 27.81 kB / 0.7928 GB, free: 3.836 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.002324/0.2207, allocations: 0.9369 MB / 0.7937 GB, free: 2.898 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001192/0.2219, allocations: 477.5 kB / 0.7942 GB, free: 2.43 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001122/0.2231, allocations: 0.4949 MB / 0.7947 GB, free: 1.934 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0011/0.2242, allocations: 1.088 MB / 0.7957 GB, free: 0.8438 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007581/0.2249, allocations: 0.6391 MB / 0.7963 GB, free: 204 kB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004647/0.2254, allocations: 446.4 kB / 0.7968 GB, free: 15.76 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004886/0.2259, allocations: 474.2 kB / 0.7972 GB, free: 15.29 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 7.112e-05/0.226, allocations: 56 kB / 0.7973 GB, free: 15.24 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007393/0.2267, allocations: 486.9 kB / 0.7977 GB, free: 14.77 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0002251/0.227, allocations: 287.2 kB / 0.798 GB, free: 14.48 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.000315/0.2273, allocations: 401.9 kB / 0.7984 GB, free: 14.09 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.001007/0.2283, allocations: 1.18 MB / 0.7995 GB, free: 12.91 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.2283, allocations: 0 / 0.7995 GB, free: 12.91 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.082e-06/0.2283, allocations: 0 / 0.7995 GB, free: 12.91 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.107e-05/0.2284, allocations: 4 kB / 0.7995 GB, free: 12.9 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001393/0.2298, allocations: 1.056 MB / 0.8006 GB, free: 11.79 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.782e-05/0.2298, allocations: 12.03 kB / 0.8006 GB, free: 11.78 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001083/0.2299, allocations: 114.7 kB / 0.8007 GB, free: 11.66 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00139/0.2313, allocations: 235.6 kB / 0.8009 GB, free: 11.43 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007627/0.2321, allocations: 0.5844 MB / 0.8015 GB, free: 10.81 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.212e-05/0.2321, allocations: 49.67 kB / 0.8015 GB, free: 10.76 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001006/0.2322, allocations: 68.27 kB / 0.8016 GB, free: 10.7 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001216/0.2335, allocations: 1.037 MB / 0.8026 GB, free: 9.547 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.787e-05/0.2335, allocations: 11.94 kB / 0.8026 GB, free: 9.535 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.857e-05/0.2336, allocations: 27.98 kB / 0.8027 GB, free: 9.508 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.023e-05/0.2336, allocations: 65.27 kB / 0.8027 GB, free: 9.445 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009065/0.2346, allocations: 0.6918 MB / 0.8034 GB, free: 8.75 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004311/0.2389, allocations: 5.741 MB / 0.809 GB, free: 2.582 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007829/0.2397, allocations: 0.5988 MB / 0.8096 GB, free: 1.938 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007293/0.2404, allocations: 416.6 kB / 0.81 GB, free: 1.527 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 3.572e-05/0.2405, allocations: 8 kB / 0.81 GB, free: 1.52 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.852e-05/0.2405, allocations: 34.56 kB / 0.81 GB, free: 1.477 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=41): time 1.974e-06/0.2405, allocations: 0 / 0.81 GB, free: 1.477 MB / 0.6231 GB Notification: Performance of matching and sorting (n=42): time 0.004195/0.2447, allocations: 2.057 MB / 0.812 GB, free: 15.32 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.766e-05/0.2448, allocations: 55.41 kB / 0.8121 GB, free: 15.26 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004701/0.2453, allocations: 466.8 kB / 0.8125 GB, free: 14.8 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 3.287e-05/0.2453, allocations: 29.7 kB / 0.8126 GB, free: 14.76 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002255/0.2455, allocations: 395 kB / 0.8129 GB, free: 14.37 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001062/0.2456, allocations: 145.9 kB / 0.8131 GB, free: 14.22 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001486/0.2458, allocations: 110.2 kB / 0.8132 GB, free: 14.11 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001397/0.2459, allocations: 370.8 kB / 0.8135 GB, free: 13.74 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003309/0.2463, allocations: 249.1 kB / 0.8138 GB, free: 13.49 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004556/0.2467, allocations: 464.9 kB / 0.8142 GB, free: 12.95 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008309/0.2476, allocations: 0.752 MB / 0.8149 GB, free: 12.1 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.2476, allocations: 4 kB / 0.815 GB, free: 12.09 MB / 0.6387 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001786/0.2494, allocations: 1.07 MB / 0.816 GB, free: 11 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.345e-05/0.2494, allocations: 8 kB / 0.816 GB, free: 11 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.201e-05/0.2494, allocations: 8 kB / 0.816 GB, free: 10.99 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001024/0.2505, allocations: 331.3 kB / 0.8163 GB, free: 10.65 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000298/0.2508, allocations: 95.83 kB / 0.8164 GB, free: 10.56 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006694/0.2575, allocations: 7.516 MB / 0.8238 GB, free: 2.473 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004879/0.258, allocations: 32.02 kB / 0.8238 GB, free: 2.441 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.082e-05/0.2581, allocations: 28 kB / 0.8238 GB, free: 2.414 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 (53): * Single equations (assignments): 49 * 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 {(3,7,88.9%), (1,5,100.0%), (1,3,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003514/0.2584, allocations: 255.2 kB / 0.8241 GB, free: 2.16 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.775e-05/0.2585, allocations: 55.34 kB / 0.8241 GB, free: 2.105 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001554/0.2601, allocations: 0.9082 MB / 0.825 GB, free: 1.18 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.2601, allocations: 8 kB / 0.825 GB, free: 1.172 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-06/0.2601, allocations: 4 kB / 0.825 GB, free: 1.168 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.72e-06/0.2601, allocations: 3.984 kB / 0.825 GB, free: 1.164 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002432/0.2625, allocations: 1.704 MB / 0.8267 GB, free: 15.37 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/0.2626, allocations: 4 kB / 0.8267 GB, free: 15.36 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001616/0.2627, allocations: 44.09 kB / 0.8267 GB, free: 15.32 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008919/0.2636, allocations: 331.2 kB / 0.827 GB, free: 14.98 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.764e-05/0.2637, allocations: 4 kB / 0.827 GB, free: 14.98 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006425/0.2701, allocations: 7.522 MB / 0.8344 GB, free: 6.902 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/0.2701, allocations: 4 kB / 0.8344 GB, free: 6.898 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001557/0.2717, allocations: 1.01 MB / 0.8354 GB, free: 5.84 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002239/0.2719, allocations: 180.3 kB / 0.8356 GB, free: 5.645 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.005e-05/0.272, allocations: 8 kB / 0.8356 GB, free: 5.637 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002633/0.2723, allocations: 19.98 kB / 0.8356 GB, free: 5.617 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.915e-05/0.2724, allocations: 39.94 kB / 0.8356 GB, free: 5.578 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.538e-05/0.2724, allocations: 8 kB / 0.8356 GB, free: 5.57 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0003375/0.2728, allocations: 326.8 kB / 0.8359 GB, free: 5.254 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.61e-07/0.2728, allocations: 3.938 kB / 0.8359 GB, free: 5.25 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0007729/0.2735, allocations: 192 kB / 0.8361 GB, free: 5.062 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 (23): * Single equations (assignments): 19 * 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 {(3,7,88.9%), (2,2,100.0%), (1,3,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001806/0.2754, allocations: 1.559 MB / 0.8376 GB, free: 3.445 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001846/0.2772, allocations: 1.222 MB / 0.8388 GB, free: 2.172 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.2772, allocations: 0 / 0.8388 GB, free: 2.172 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001096/0.2783, allocations: 0.8542 MB / 0.8397 GB, free: 1.266 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009364/0.2793, allocations: 217.7 kB / 0.8399 GB, free: 1.062 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007586/0.2869, allocations: 5.899 MB / 0.8456 GB, free: 10.84 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006633/0.2876, allocations: 0.9921 MB / 0.8466 GB, free: 9.812 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0003516/0.2879, allocations: 101.2 kB / 0.8467 GB, free: 9.715 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002637/0.2882, allocations: 231.4 kB / 0.8469 GB, free: 9.488 MB / 0.67 GB Notification: Performance of SimCode: time 3.507e-06/0.2882, allocations: 0 / 0.8469 GB, free: 9.488 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04053/0.3288, allocations: 15.34 MB / 0.8619 GB, free: 10.44 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.869/10.2, allocations: 5.891 kB / 0.8619 GB, free: 10.44 MB / 0.6856 GB (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe 2>&1)