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_L.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_L,fileNamePrefix="Buildings_maint_7_0_x_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_maint_7_0_x_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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.502/1.502, 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.001197/0.001197, allocations: 182.4 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.942/1.942, allocations: 205.4 MB / 0.5777 GB, free: 20.24 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.0008612/0.0008611, allocations: 84.08 kB / 0.6823 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003604/0.0003605, allocations: 8.562 kB / 0.7965 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2502/0.2506, allocations: 106.3 MB / 0.9003 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L): time 0.005135/0.2558, allocations: 5.448 MB / 0.9056 GB, free: 58.33 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.004059/0.2599, allocations: 3.042 MB / 0.9086 GB, free: 55.28 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005103/0.2604, allocations: 27.75 kB / 0.9086 GB, free: 55.25 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0003508/0.2608, allocations: 119 kB / 0.9087 GB, free: 55.13 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0008813/0.2617, allocations: 382 kB / 0.9091 GB, free: 54.76 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001022/0.2627, allocations: 369.5 kB / 0.9095 GB, free: 54.4 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.001102/0.2638, allocations: 1.217 MB / 0.9106 GB, free: 53.18 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001462/0.2653, allocations: 0.9015 MB / 0.9115 GB, free: 52.25 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005408/0.2659, allocations: 366.4 kB / 0.9119 GB, free: 51.89 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004526/0.2663, allocations: 438.3 kB / 0.9123 GB, free: 51.46 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 6.25e-05/0.2664, allocations: 32 kB / 0.9123 GB, free: 51.43 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000595/0.267, allocations: 255.6 kB / 0.9126 GB, free: 51.18 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001694/0.2672, allocations: 255.3 kB / 0.9128 GB, free: 50.93 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001234/0.2673, allocations: 165.3 kB / 0.913 GB, free: 50.77 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0006795/0.268, allocations: 0.8729 MB / 0.9138 GB, free: 49.89 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.268, allocations: 4 kB / 0.9138 GB, free: 49.89 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.734e-06/0.268, allocations: 0 / 0.9138 GB, free: 49.89 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.216e-05/0.268, allocations: 4 kB / 0.9138 GB, free: 49.88 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001211/0.2692, allocations: 0.9154 MB / 0.9147 GB, free: 48.91 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.86e-05/0.2693, allocations: 8.031 kB / 0.9147 GB, free: 48.91 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001158/0.2694, allocations: 118.5 kB / 0.9148 GB, free: 48.78 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001323/0.2708, allocations: 230.6 kB / 0.9151 GB, free: 48.55 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006701/0.2714, allocations: 0.521 MB / 0.9156 GB, free: 47.99 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.117e-05/0.2715, allocations: 45.3 kB / 0.9156 GB, free: 47.95 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.196e-05/0.2716, allocations: 71.88 kB / 0.9157 GB, free: 47.88 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001204/0.2728, allocations: 1.014 MB / 0.9167 GB, free: 46.76 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.018e-05/0.2728, allocations: 15.94 kB / 0.9167 GB, free: 46.75 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.271e-05/0.2729, allocations: 27.98 kB / 0.9167 GB, free: 46.72 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.95e-05/0.273, allocations: 69.27 kB / 0.9168 GB, free: 46.65 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008435/0.2738, allocations: 0.6918 MB / 0.9175 GB, free: 45.96 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003705/0.2775, allocations: 5.76 MB / 0.9231 GB, free: 39.77 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006849/0.2783, allocations: 0.595 MB / 0.9237 GB, free: 39.12 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006797/0.279, allocations: 424.6 kB / 0.9241 GB, free: 38.71 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.3e-05/0.279, allocations: 4 kB / 0.9241 GB, free: 38.7 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.21e-05/0.279, allocations: 34.56 kB / 0.9241 GB, free: 38.66 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=41): time 4.479e-06/0.279, allocations: 0 / 0.9241 GB, free: 38.66 MB / 0.6042 GB Notification: Performance of matching and sorting (n=42): time 0.004012/0.2831, allocations: 2.054 MB / 0.9261 GB, free: 36.51 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.452e-05/0.2831, allocations: 63.3 kB / 0.9262 GB, free: 36.44 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004335/0.2836, allocations: 466.7 kB / 0.9266 GB, free: 35.97 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.047e-05/0.2836, allocations: 29.7 kB / 0.9266 GB, free: 35.94 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002376/0.2839, allocations: 391.1 kB / 0.927 GB, free: 35.55 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 9.516e-05/0.284, allocations: 153.8 kB / 0.9272 GB, free: 35.4 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.911e-05/0.284, allocations: 16 kB / 0.9272 GB, free: 35.38 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 9.73e-05/0.2841, allocations: 358.8 kB / 0.9275 GB, free: 35.02 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002917/0.2844, allocations: 245.2 kB / 0.9278 GB, free: 34.79 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000379/0.2848, allocations: 457 kB / 0.9282 GB, free: 34.25 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003578/0.2852, allocations: 311.7 kB / 0.9285 GB, free: 33.94 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.2852, allocations: 4 kB / 0.9285 GB, free: 33.94 MB / 0.6042 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001609/0.2868, allocations: 1.062 MB / 0.9295 GB, free: 32.86 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.584e-05/0.2868, allocations: 15.97 kB / 0.9295 GB, free: 32.84 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.224e-05/0.2868, allocations: 4 kB / 0.9295 GB, free: 32.84 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009938/0.2878, allocations: 331.1 kB / 0.9299 GB, free: 32.5 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003154/0.2882, allocations: 95.81 kB / 0.93 GB, free: 32.41 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005177/0.2934, allocations: 6.943 MB / 0.9367 GB, free: 24.93 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00051/0.2939, allocations: 32.02 kB / 0.9368 GB, free: 24.89 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.66e-05/0.2939, allocations: 24 kB / 0.9368 GB, free: 24.87 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 (53): * Single equations (assignments): 49 * 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 {(3,88.9%) 7,(1,100.0%) 5,(1,100.0%) 3,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000322/0.2943, allocations: 241.6 kB / 0.937 GB, free: 24.62 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.134e-05/0.2944, allocations: 63.34 kB / 0.9371 GB, free: 24.56 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001507/0.2959, allocations: 0.9159 MB / 0.938 GB, free: 23.62 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.2959, allocations: 4 kB / 0.938 GB, free: 23.62 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.2959, allocations: 4 kB / 0.938 GB, free: 23.61 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.245e-06/0.2959, allocations: 7.938 kB / 0.938 GB, free: 23.61 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002354/0.2983, allocations: 1.696 MB / 0.9396 GB, free: 21.82 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/0.2983, allocations: 288 / 0.9396 GB, free: 21.82 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001616/0.2985, allocations: 43.97 kB / 0.9397 GB, free: 21.78 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009113/0.2994, allocations: 331.3 kB / 0.94 GB, free: 21.44 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.126e-05/0.2994, allocations: 15.95 kB / 0.94 GB, free: 21.43 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005378/0.3048, allocations: 6.924 MB / 0.9468 GB, free: 13.96 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.458e-06/0.3049, allocations: 8 kB / 0.9468 GB, free: 13.96 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001547/0.3064, allocations: 1.003 MB / 0.9478 GB, free: 12.91 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000221/0.3067, allocations: 184.2 kB / 0.9479 GB, free: 12.71 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.006e-05/0.3067, allocations: 8 kB / 0.948 GB, free: 12.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002725/0.307, allocations: 23.97 kB / 0.948 GB, free: 12.68 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.958e-05/0.3071, allocations: 39.89 kB / 0.948 GB, free: 12.64 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.446e-05/0.3072, allocations: 16 kB / 0.948 GB, free: 12.62 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002971/0.3075, allocations: 310.9 kB / 0.9483 GB, free: 12.32 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3075, allocations: 0 / 0.9483 GB, free: 12.32 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0007817/0.3083, allocations: 192 kB / 0.9485 GB, free: 12.13 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 (23): * Single equations (assignments): 19 * 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 {(3,88.9%) 7,(2,100.0%) 2,(1,100.0%) 3,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001589/0.3098, allocations: 1.564 MB / 0.95 GB, free: 10.51 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001606/0.3115, allocations: 1.192 MB / 0.9512 GB, free: 9.266 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.3115, allocations: 0 / 0.9512 GB, free: 9.266 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.001016/0.3125, allocations: 0.87 MB / 0.952 GB, free: 8.344 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009702/0.3135, allocations: 186.8 kB / 0.9522 GB, free: 8.168 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005375/0.3189, allocations: 4.034 MB / 0.9562 GB, free: 3.973 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004742/0.3194, allocations: 0.9921 MB / 0.9571 GB, free: 2.953 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0003453/0.3198, allocations: 101.2 kB / 0.9572 GB, free: 2.855 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002197/0.32, allocations: 223.4 kB / 0.9574 GB, free: 2.637 MB / 0.6042 GB Notification: Performance of SimCode: time 1.462e-06/0.32, allocations: 0 / 0.9574 GB, free: 2.637 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0324/0.3524, allocations: 14.59 MB / 0.9717 GB, free: 4.328 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001958/0.3527, allocations: 244.5 kB / 0.9719 GB, free: 4.082 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.437/2.789, allocations: 0 / 0.9719 GB, free: 4.082 MB / 0.6198 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe 2>&1)