Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.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,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"})
"" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine",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.001924/0.001924, allocations: 108 kB / 15.61 MB, free: 148 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.001301/0.001301, allocations: 195.2 kB / 16.53 MB, free: 6.664 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.405/1.405, allocations: 205.1 MB / 222.4 MB, free: 4.566 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.684/1.684, allocations: 292.3 MB / 0.5489 GB, free: 12.84 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.002639/0.00264, allocations: 71.92 kB / 0.6716 GB, free: 26.36 MB / 0.5294 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2044/0.207, allocations: 114.6 MB / 0.7835 GB, free: 13.38 MB / 0.6075 GB
Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.01482/0.2219, allocations: 13.92 MB / 0.7971 GB, free: 15.4 MB / 0.6231 GB
Notification: Performance of NFInst.instExpressions: time 0.0136/0.2355, allocations: 9.482 MB / 0.8063 GB, free: 5.887 MB / 0.6231 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.001411/0.237, allocations: 59.56 kB / 0.8064 GB, free: 5.828 MB / 0.6231 GB
Notification: Performance of NFTyping.typeComponents: time 0.00414/0.2412, allocations: 1.672 MB / 0.808 GB, free: 4.152 MB / 0.6231 GB
Notification: Performance of NFTyping.typeBindings: time 0.004333/0.2455, allocations: 1.531 MB / 0.8095 GB, free: 2.617 MB / 0.6231 GB
Notification: Performance of NFTyping.typeClassSections: time 0.002174/0.2477, allocations: 0.767 MB / 0.8103 GB, free: 1.852 MB / 0.6231 GB
Notification: Performance of NFFlatten.flatten: time 0.003365/0.2511, allocations: 2.509 MB / 0.8127 GB, free: 15.34 MB / 0.6387 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.00197/0.2531, allocations: 1.415 MB / 0.8141 GB, free: 13.89 MB / 0.6387 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.001536/0.2547, allocations: 1.036 MB / 0.8151 GB, free: 12.85 MB / 0.6387 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0015/0.2562, allocations: 1.144 MB / 0.8162 GB, free: 11.7 MB / 0.6387 GB
Notification: Performance of NFPackage.collectConstants: time 0.0002734/0.2565, allocations: 168 kB / 0.8164 GB, free: 11.54 MB / 0.6387 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.001464/0.2579, allocations: 0.7877 MB / 0.8172 GB, free: 10.75 MB / 0.6387 GB
Notification: Performance of NFScalarize.scalarize: time 0.0005423/0.2585, allocations: 0.6232 MB / 0.8178 GB, free: 10.12 MB / 0.6387 GB
Notification: Performance of NFVerifyModel.verify: time 0.0009058/0.2594, allocations: 0.9406 MB / 0.8187 GB, free: 9.176 MB / 0.6387 GB
Notification: Performance of NFConvertDAE.convert: time 0.002587/0.262, allocations: 2.73 MB / 0.8214 GB, free: 6.438 MB / 0.6387 GB
Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.262, allocations: 0 / 0.8214 GB, free: 6.438 MB / 0.6387 GB
Notification: Performance of FrontEnd: time 1.493e-06/0.262, allocations: 0 / 0.8214 GB, free: 6.438 MB / 0.6387 GB
Notification: Performance of Transformations before backend: time 3.535e-05/0.2621, allocations: 0 / 0.8214 GB, free: 6.438 MB / 0.6387 GB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 327
 * Number of variables: 327
Notification: Performance of Generate backend data structure: time 0.003694/0.2658, allocations: 2.139 MB / 0.8234 GB, free: 4.242 MB / 0.6387 GB
Notification: Performance of prepare preOptimizeDAE: time 4.628e-05/0.2658, allocations: 12.03 kB / 0.8235 GB, free: 4.23 MB / 0.6387 GB
Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002284/0.2661, allocations: 198.3 kB / 0.8236 GB, free: 4.027 MB / 0.6387 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01161/0.2777, allocations: 2.077 MB / 0.8257 GB, free: 1.945 MB / 0.6387 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.002456/0.2802, allocations: 1.208 MB / 0.8269 GB, free: 0.6797 MB / 0.6387 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.38e-05/0.2802, allocations: 86.73 kB / 0.8269 GB, free: 0.5938 MB / 0.6387 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002532/0.2805, allocations: 119.9 kB / 0.827 GB, free: 488 kB / 0.6387 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.005549/0.2861, allocations: 2.674 MB / 0.8297 GB, free: 13.65 MB / 0.6544 GB
Notification: Performance of preOpt findStateOrder (simulation): time 3.695e-05/0.2861, allocations: 7.938 kB / 0.8297 GB, free: 13.64 MB / 0.6544 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001635/0.2863, allocations: 55.98 kB / 0.8297 GB, free: 13.59 MB / 0.6544 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006456/0.2869, allocations: 182.1 kB / 0.8299 GB, free: 13.41 MB / 0.6544 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007399/0.2943, allocations: 2.795 MB / 0.8326 GB, free: 10.61 MB / 0.6544 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01342/0.3078, allocations: 10.52 MB / 0.8429 GB, free: 15.5 MB / 0.67 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.006816/0.3146, allocations: 2.532 MB / 0.8454 GB, free: 12.91 MB / 0.67 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.003141/0.3178, allocations: 1.284 MB / 0.8466 GB, free: 11.62 MB / 0.67 GB
Notification: Performance of preOpt evalFunc (simulation): time 7.208e-05/0.3179, allocations: 13 kB / 0.8466 GB, free: 11.61 MB / 0.67 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.844e-05/0.3179, allocations: 47.5 kB / 0.8467 GB, free: 11.55 MB / 0.67 GB
Notification: Performance of pre-optimization done (n=89): time 2.705e-06/0.318, allocations: 3.938 kB / 0.8467 GB, free: 11.55 MB / 0.67 GB
Notification: Performance of matching and sorting (n=131): time 0.04578/0.3637, allocations: 13.35 MB / 0.8597 GB, free: 13.98 MB / 0.6856 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.795e-05/0.3638, allocations: 64.72 kB / 0.8598 GB, free: 13.91 MB / 0.6856 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001446/0.3653, allocations: 1.117 MB / 0.8609 GB, free: 12.77 MB / 0.6856 GB
Notification: Performance of collectPreVariables (initialization): time 0.0001917/0.3655, allocations: 53.69 kB / 0.8609 GB, free: 12.71 MB / 0.6856 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0005429/0.366, allocations: 0.7193 MB / 0.8616 GB, free: 11.99 MB / 0.6856 GB
Notification: Performance of collectInitialBindings (initialization): time 0.0004339/0.3665, allocations: 449.5 kB / 0.862 GB, free: 11.55 MB / 0.6856 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004815/0.367, allocations: 263.4 kB / 0.8623 GB, free: 11.29 MB / 0.6856 GB
Notification: Performance of setup shared object (initialization): time 0.0001266/0.3671, allocations: 357.9 kB / 0.8626 GB, free: 10.93 MB / 0.6856 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.003262/0.3704, allocations: 1.339 MB / 0.8639 GB, free: 9.59 MB / 0.6856 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.003357/0.3737, allocations: 1.608 MB / 0.8655 GB, free: 7.883 MB / 0.6856 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.006786/0.3805, allocations: 2.994 MB / 0.8684 GB, free: 4.793 MB / 0.6856 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.376e-06/0.3806, allocations: 4 kB / 0.8684 GB, free: 4.789 MB / 0.6856 GB
Notification: Performance of matching and sorting (n=168) (initialization): time 0.01144/0.392, allocations: 4.438 MB / 0.8728 GB, free: 304 kB / 0.6856 GB
Notification: Performance of prepare postOptimizeDAE: time 2.838e-05/0.3921, allocations: 10.66 kB / 0.8728 GB, free: 296 kB / 0.6856 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.439e-05/0.3921, allocations: 8.875 kB / 0.8728 GB, free: 288 kB / 0.6856 GB
Notification: Performance of postOpt tearingSystem (initialization): time 0.005096/0.3972, allocations: 1.447 MB / 0.8742 GB, free: 14.79 MB / 0.7012 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00209/0.3993, allocations: 435.2 kB / 0.8746 GB, free: 14.37 MB / 0.7012 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02593/0.4253, allocations: 26.7 MB / 0.9007 GB, free: 1.836 MB / 0.7169 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002675/0.428, allocations: 307.5 kB / 0.901 GB, free: 1.535 MB / 0.7169 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001518/0.4282, allocations: 63.95 kB / 0.9011 GB, free: 1.473 MB / 0.7169 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 (99):
 * Single equations (assignments): 86
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 13
 * Mixed (continuous/discrete) equation systems: 0
Notification: Torn system details for strict tearing set:
 * Linear torn systems (#iteration vars, #inner vars, density): 13 systems
   {(2,4,100.0%), (1,1,100.0%), (2,4,100.0%), (3,9,100.0%), (1,1,100.0%), (1,1,100.0%), (3,9,100.0%), (3,9,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (2,4,100.0%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 0 systems
Notification: Performance of prepare postOptimizeDAE: time 0.0007902/0.429, allocations: 432.6 kB / 0.9015 GB, free: 1.043 MB / 0.7169 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002967/0.4293, allocations: 166.1 kB / 0.9016 GB, free: 0.8789 MB / 0.7169 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01135/0.4406, allocations: 4.461 MB / 0.906 GB, free: 12.36 MB / 0.7325 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-05/0.4407, allocations: 12 kB / 0.906 GB, free: 12.35 MB / 0.7325 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 2.511e-05/0.4407, allocations: 12 kB / 0.906 GB, free: 12.34 MB / 0.7325 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.751e-05/0.4407, allocations: 7.969 kB / 0.906 GB, free: 12.33 MB / 0.7325 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01564/0.4564, allocations: 6.763 MB / 0.9126 GB, free: 5.402 MB / 0.7325 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.418e-05/0.4564, allocations: 4 kB / 0.9126 GB, free: 5.398 MB / 0.7325 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001928/0.4583, allocations: 379.4 kB / 0.913 GB, free: 5.027 MB / 0.7325 GB
Notification: Performance of postOpt tearingSystem (simulation): time 0.004759/0.4631, allocations: 1.314 MB / 0.9143 GB, free: 3.672 MB / 0.7325 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002379/0.4634, allocations: 43.97 kB / 0.9143 GB, free: 3.629 MB / 0.7325 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3899/0.8533, allocations: 25.49 MB / 0.9392 GB, free: 111.5 MB / 0.7325 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.793e-06/0.8533, allocations: 7.469 kB / 0.9392 GB, free: 111.5 MB / 0.7325 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01136/0.8647, allocations: 4.2 MB / 0.9433 GB, free: 110.2 MB / 0.7325 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.001321/0.8661, allocations: 458.1 kB / 0.9437 GB, free: 110 MB / 0.7325 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003763/0.8665, allocations: 33.23 kB / 0.9438 GB, free: 109.9 MB / 0.7325 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002304/0.8688, allocations: 307.2 kB / 0.9441 GB, free: 109.9 MB / 0.7325 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005755/0.8694, allocations: 124.3 kB / 0.9442 GB, free: 109.9 MB / 0.7325 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001219/0.8695, allocations: 53.09 kB / 0.9442 GB, free: 109.9 MB / 0.7325 GB
Notification: Performance of sorting global known variables: time 0.001048/0.8706, allocations: 0.7554 MB / 0.945 GB, free: 109.6 MB / 0.7325 GB
Notification: Performance of sort global known variables: time 1.6e-07/0.8706, allocations: 0 / 0.945 GB, free: 109.6 MB / 0.7325 GB
Notification: Performance of remove unused functions: time 0.002212/0.8728, allocations: 0.5676 MB / 0.9455 GB, free: 109.5 MB / 0.7325 GB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 12
 * 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 (67):
 * Single equations (assignments): 54
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 13
 * Mixed (continuous/discrete) equation systems: 0
Notification: Torn system details for strict tearing set:
 * Linear torn systems (#iteration vars, #inner vars, density): 13 systems
   {(1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (1,1,100.0%), (3,7,100.0%), (2,4,100.0%), (3,9,100.0%), (2,4,100.0%), (3,7,100.0%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 0 systems
Notification: Performance of Backend phase and start with SimCode phase: time 0.01122/0.884, allocations: 4.791 MB / 0.9502 GB, free: 107.5 MB / 0.7325 GB
Notification: Performance of simCode: created initialization part: time 0.01131/0.8954, allocations: 5.526 MB / 0.9556 GB, free: 105 MB / 0.7325 GB
Notification: Performance of simCode: created event and clocks part: time 9.147e-06/0.8954, allocations: 1.094 kB / 0.9556 GB, free: 105 MB / 0.7325 GB
Notification: Performance of simCode: created simulation system equations: time 0.006399/0.9018, allocations: 3.478 MB / 0.959 GB, free: 102.9 MB / 0.7325 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002494/0.9043, allocations: 0.5623 MB / 0.9596 GB, free: 102.8 MB / 0.7325 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0409/0.9452, allocations: 20.34 MB / 0.9794 GB, free: 91.81 MB / 0.7325 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008835/0.9462, allocations: 1.478 MB / 0.9809 GB, free: 90.74 MB / 0.7325 GB
Notification: Performance of simCode: alias equations: time 0.001686/0.9479, allocations: 430.7 kB / 0.9813 GB, free: 90.53 MB / 0.7325 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007165/0.9486, allocations: 0.6273 MB / 0.9819 GB, free: 89.99 MB / 0.7325 GB
Notification: Performance of SimCode: time 9.12e-07/0.9486, allocations: 0 / 0.9819 GB, free: 89.99 MB / 0.7325 GB
Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1044/1.053, allocations: 51.27 MB / 1.032 GB, free: 39.61 MB / 0.7325 GB
Notification: Performance of buildModelFMU: Generate platform static: time 10.86/11.91, allocations: 23.25 kB / 1.032 GB, free: 39.59 MB / 0.7325 GB
(rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & python3 -m fmpy simulate  --output-file Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1)