Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.612/1.612, allocations: 252 MB / 267 MB, free: 10.97 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001158/0.001158, allocations: 180.3 kB / 326.6 MB, free: 2.223 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.958/1.958, allocations: 205.4 MB / 0.5776 GB, free: 20.51 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007575/0.0007576, allocations: 90 kB / 0.6823 GB, free: 13.34 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003486/0.0003487, allocations: 8.75 kB / 0.7965 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2621/0.2625, allocations: 106.3 MB / 0.9003 GB, free: 64.2 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.005732/0.2683, allocations: 6.025 MB / 0.9062 GB, free: 58.15 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.004219/0.2726, allocations: 2.925 MB / 0.9091 GB, free: 55.21 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006106/0.2732, allocations: 23.81 kB / 0.9091 GB, free: 55.19 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0003792/0.2736, allocations: 138.8 kB / 0.9092 GB, free: 55.05 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.001007/0.2747, allocations: 417.7 kB / 0.9096 GB, free: 54.64 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009034/0.2756, allocations: 331.3 kB / 0.9099 GB, free: 54.32 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.001062/0.2766, allocations: 1.326 MB / 0.9112 GB, free: 52.99 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001392/0.278, allocations: 0.9239 MB / 0.9121 GB, free: 52.05 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005172/0.2786, allocations: 398.4 kB / 0.9125 GB, free: 51.66 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005154/0.2791, allocations: 486.2 kB / 0.913 GB, free: 51.18 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 7.025e-05/0.2792, allocations: 36 kB / 0.913 GB, free: 51.14 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005052/0.2797, allocations: 191.8 kB / 0.9132 GB, free: 50.96 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001877/0.2799, allocations: 271.2 kB / 0.9134 GB, free: 50.69 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001308/0.28, allocations: 177.3 kB / 0.9136 GB, free: 50.51 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0006471/0.2807, allocations: 0.9003 MB / 0.9145 GB, free: 49.61 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.2807, allocations: 4 kB / 0.9145 GB, free: 49.61 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.394e-06/0.2807, allocations: 0 / 0.9145 GB, free: 49.61 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.157e-05/0.2807, allocations: 0 / 0.9145 GB, free: 49.61 MB / 0.6042 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.001485/0.2822, allocations: 1.016 MB / 0.9155 GB, free: 48.54 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.767e-05/0.2823, allocations: 16.03 kB / 0.9155 GB, free: 48.52 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001289/0.2824, allocations: 118.5 kB / 0.9156 GB, free: 48.39 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001395/0.2838, allocations: 238.6 kB / 0.9158 GB, free: 48.16 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006786/0.2845, allocations: 0.5365 MB / 0.9164 GB, free: 47.58 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.967e-05/0.2845, allocations: 57.3 kB / 0.9164 GB, free: 47.53 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.485e-05/0.2846, allocations: 59.98 kB / 0.9165 GB, free: 47.47 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001219/0.2859, allocations: 1.081 MB / 0.9175 GB, free: 46.28 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.345e-05/0.2859, allocations: 3.938 kB / 0.9175 GB, free: 46.28 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.459e-05/0.286, allocations: 35.98 kB / 0.9176 GB, free: 46.24 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001306/0.2861, allocations: 85.25 kB / 0.9177 GB, free: 46.16 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000909/0.287, allocations: 0.7503 MB / 0.9184 GB, free: 45.4 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004274/0.2913, allocations: 5.901 MB / 0.9241 GB, free: 39.08 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008597/0.2922, allocations: 0.5477 MB / 0.9247 GB, free: 38.52 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003676/0.2926, allocations: 326 kB / 0.925 GB, free: 38.2 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.909e-05/0.2926, allocations: 8.438 kB / 0.925 GB, free: 38.19 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.588e-05/0.2927, allocations: 42.88 kB / 0.925 GB, free: 38.14 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=47): time 3.046e-06/0.2927, allocations: 0 / 0.925 GB, free: 38.14 MB / 0.6042 GB Notification: Performance of matching and sorting (n=48): time 0.003479/0.2961, allocations: 1.994 MB / 0.927 GB, free: 36.05 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.286e-05/0.2962, allocations: 59.84 kB / 0.927 GB, free: 35.98 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004955/0.2967, allocations: 0.547 MB / 0.9276 GB, free: 35.42 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.156e-05/0.2967, allocations: 37.7 kB / 0.9276 GB, free: 35.38 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001692/0.2969, allocations: 414.9 kB / 0.928 GB, free: 34.96 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 9.062e-05/0.297, allocations: 177.5 kB / 0.9282 GB, free: 34.79 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.896e-05/0.2971, allocations: 16 kB / 0.9282 GB, free: 34.77 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.684e-05/0.2971, allocations: 370.8 kB / 0.9286 GB, free: 34.4 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003255/0.2975, allocations: 273.8 kB / 0.9288 GB, free: 34.13 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003956/0.2979, allocations: 493 kB / 0.9293 GB, free: 33.55 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003982/0.2983, allocations: 350 kB / 0.9296 GB, free: 33.21 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.407e-06/0.2983, allocations: 4 kB / 0.9296 GB, free: 33.21 MB / 0.6042 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001525/0.2998, allocations: 1.072 MB / 0.9307 GB, free: 32.12 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.419e-05/0.2999, allocations: 12.03 kB / 0.9307 GB, free: 32.11 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.263e-05/0.2999, allocations: 8 kB / 0.9307 GB, free: 32.1 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007713/0.3007, allocations: 275.2 kB / 0.9309 GB, free: 31.82 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004363/0.3011, allocations: 131.7 kB / 0.9311 GB, free: 31.69 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004785/0.3059, allocations: 6.595 MB / 0.9375 GB, free: 24.55 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007437/0.3067, allocations: 39.95 kB / 0.9376 GB, free: 24.52 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.804e-05/0.3068, allocations: 28 kB / 0.9376 GB, free: 24.49 MB / 0.6042 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 6,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004152/0.3072, allocations: 253.7 kB / 0.9378 GB, free: 24.23 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001081/0.3073, allocations: 75.16 kB / 0.9379 GB, free: 24.16 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00139/0.3087, allocations: 0.8887 MB / 0.9388 GB, free: 23.25 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.031e-06/0.3087, allocations: 4 kB / 0.9388 GB, free: 23.24 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.3087, allocations: 11.88 kB / 0.9388 GB, free: 23.23 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/0.3087, allocations: 0 / 0.9388 GB, free: 23.23 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002168/0.3109, allocations: 1.728 MB / 0.9405 GB, free: 21.41 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.67e-06/0.3109, allocations: 4 kB / 0.9405 GB, free: 21.41 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002401/0.3112, allocations: 59.89 kB / 0.9405 GB, free: 21.35 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007081/0.3119, allocations: 267.4 kB / 0.9408 GB, free: 21.08 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.182e-05/0.3119, allocations: 11.98 kB / 0.9408 GB, free: 21.07 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004422/0.3164, allocations: 6.588 MB / 0.9472 GB, free: 13.95 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.3164, allocations: 0 / 0.9472 GB, free: 13.95 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00134/0.3177, allocations: 0.9718 MB / 0.9482 GB, free: 12.92 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002495/0.318, allocations: 196.2 kB / 0.9484 GB, free: 12.71 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.979e-05/0.3181, allocations: 15.94 kB / 0.9484 GB, free: 12.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003423/0.3184, allocations: 35.84 kB / 0.9484 GB, free: 12.66 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001062/0.3185, allocations: 47.91 kB / 0.9485 GB, free: 12.61 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.897e-05/0.3186, allocations: 16 kB / 0.9485 GB, free: 12.6 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0003528/0.3189, allocations: 383.1 kB / 0.9488 GB, free: 12.23 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.71e-07/0.3189, allocations: 4 kB / 0.9488 GB, free: 12.23 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0007372/0.3197, allocations: 220 kB / 0.949 GB, free: 12.01 MB / 0.6042 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001398/0.3211, allocations: 1.536 MB / 0.9505 GB, free: 10.41 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001618/0.3227, allocations: 1.272 MB / 0.9518 GB, free: 9.094 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.3227, allocations: 4 kB / 0.9518 GB, free: 9.09 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0009933/0.3237, allocations: 0.8932 MB / 0.9527 GB, free: 8.145 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009588/0.3247, allocations: 198.8 kB / 0.9529 GB, free: 7.949 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00517/0.3299, allocations: 4.427 MB / 0.9572 GB, free: 3.344 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003875/0.3303, allocations: 1.009 MB / 0.9582 GB, free: 2.309 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.000436/0.3308, allocations: 126 kB / 0.9583 GB, free: 2.184 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002609/0.331, allocations: 251.4 kB / 0.9585 GB, free: 1.941 MB / 0.6042 GB Notification: Performance of SimCode: time 1.693e-06/0.331, allocations: 0 / 0.9585 GB, free: 1.941 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03435/0.3654, allocations: 16.34 MB / 0.9745 GB, free: 1.91 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002074/0.3657, allocations: 236 kB / 0.9747 GB, free: 1.672 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.442/2.808, allocations: 4 kB / 0.9747 GB, free: 1.668 MB / 0.6198 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1)