Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_8_0_0_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_8_0_0_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 8.0.0/package.mo): time 2.623/2.623, allocations: 287.3 MB / 302.3 MB, free: 8.273 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001645/0.001645, allocations: 177.1 kB / 370.8 MB, free: 10.88 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.204/2.204, allocations: 205.4 MB / 0.6295 GB, free: 10.61 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001147/0.001147, allocations: 86.42 kB / 0.7428 GB, free: 6.621 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007209/0.000721, allocations: 12.59 kB / 0.8657 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2224/0.2232, allocations: 115.3 MB / 0.9783 GB, free: 28.28 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.008217/0.2315, allocations: 5.78 MB / 0.9839 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.005916/0.2374, allocations: 2.914 MB / 0.9868 GB, free: 19.55 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007955/0.2383, allocations: 23.81 kB / 0.9868 GB, free: 19.53 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0004537/0.2388, allocations: 123.1 kB / 0.9869 GB, free: 19.41 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.001535/0.2403, allocations: 418.7 kB / 0.9873 GB, free: 19 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001391/0.2417, allocations: 336.6 kB / 0.9876 GB, free: 18.67 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.001537/0.2433, allocations: 0.7467 MB / 0.9884 GB, free: 17.92 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002197/0.2455, allocations: 0.9257 MB / 0.9893 GB, free: 16.97 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007971/0.2464, allocations: 350.7 kB / 0.9896 GB, free: 16.62 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007223/0.2471, allocations: 394.5 kB / 0.99 GB, free: 16.24 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0001329/0.2472, allocations: 36 kB / 0.99 GB, free: 16.2 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005416/0.2478, allocations: 151.8 kB / 0.9902 GB, free: 16.05 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0002768/0.2481, allocations: 243.3 kB / 0.9904 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.000198/0.2483, allocations: 181.2 kB / 0.9906 GB, free: 15.63 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.001091/0.2494, allocations: 0.869 MB / 0.9914 GB, free: 14.76 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.2494, allocations: 3.938 kB / 0.9914 GB, free: 14.76 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.334e-06/0.2494, allocations: 4 kB / 0.9914 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.38e-05/0.2495, allocations: 0 / 0.9914 GB, free: 14.75 MB / 0.6198 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.002276/0.2518, allocations: 0.997 MB / 0.9924 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.837e-05/0.2518, allocations: 16.02 kB / 0.9924 GB, free: 13.69 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001789/0.252, allocations: 122.5 kB / 0.9925 GB, free: 13.56 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001931/0.254, allocations: 222.7 kB / 0.9927 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001245/0.2552, allocations: 0.5288 MB / 0.9933 GB, free: 12.77 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.877e-05/0.2553, allocations: 53.3 kB / 0.9933 GB, free: 12.72 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001446/0.2555, allocations: 63.98 kB / 0.9934 GB, free: 12.66 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002033/0.2575, allocations: 1.077 MB / 0.9944 GB, free: 11.47 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.092e-05/0.2576, allocations: 11.84 kB / 0.9944 GB, free: 11.46 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001037/0.2577, allocations: 27.98 kB / 0.9945 GB, free: 11.43 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002292/0.2579, allocations: 85.25 kB / 0.9945 GB, free: 11.35 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001723/0.2597, allocations: 0.7503 MB / 0.9953 GB, free: 10.6 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006827/0.2665, allocations: 5.897 MB / 1.001 GB, free: 4.273 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001444/0.268, allocations: 0.5553 MB / 1.002 GB, free: 3.703 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 4.983e-05/0.2681, allocations: 4.438 kB / 1.002 GB, free: 3.699 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.592e-05/0.2681, allocations: 39 kB / 1.002 GB, free: 3.652 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=47): time 4.008e-06/0.2681, allocations: 0 / 1.002 GB, free: 3.652 MB / 0.6198 GB Notification: Performance of matching and sorting (n=48): time 0.005723/0.2739, allocations: 1.984 MB / 1.004 GB, free: 1.574 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.134e-05/0.2739, allocations: 59.84 kB / 1.004 GB, free: 1.504 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007713/0.2747, allocations: 0.5547 MB / 1.004 GB, free: 0.9414 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 6.44e-05/0.2748, allocations: 41.64 kB / 1.004 GB, free: 0.8945 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002604/0.2751, allocations: 418.9 kB / 1.005 GB, free: 492 kB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001524/0.2752, allocations: 173.6 kB / 1.005 GB, free: 316 kB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.972e-05/0.2753, allocations: 12 kB / 1.005 GB, free: 304 kB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001568/0.2755, allocations: 374.8 kB / 1.005 GB, free: 15.92 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000709/0.2762, allocations: 273.8 kB / 1.005 GB, free: 15.66 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008943/0.2771, allocations: 493 kB / 1.006 GB, free: 15.08 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009131/0.278, allocations: 346 kB / 1.006 GB, free: 14.75 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.654e-06/0.278, allocations: 8 kB / 1.006 GB, free: 14.74 MB / 0.6355 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.003157/0.2812, allocations: 1.075 MB / 1.007 GB, free: 13.64 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.127e-05/0.2813, allocations: 8.875 kB / 1.007 GB, free: 13.63 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.001e-05/0.2813, allocations: 8 kB / 1.007 GB, free: 13.62 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001468/0.2828, allocations: 283.2 kB / 1.008 GB, free: 13.34 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009661/0.2838, allocations: 127.7 kB / 1.008 GB, free: 13.21 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01009/0.2939, allocations: 6.697 MB / 1.014 GB, free: 5.98 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009964/0.2949, allocations: 31.97 kB / 1.014 GB, free: 5.949 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.297e-05/0.295, allocations: 32 kB / 1.014 GB, free: 5.918 MB / 0.6355 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.0005435/0.2956, allocations: 257.6 kB / 1.015 GB, free: 5.656 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001792/0.2958, allocations: 83.02 kB / 1.015 GB, free: 5.574 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002672/0.2985, allocations: 0.8848 MB / 1.015 GB, free: 4.66 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.225e-05/0.2985, allocations: 4 kB / 1.015 GB, free: 4.656 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.868e-06/0.2985, allocations: 8 kB / 1.015 GB, free: 4.648 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.236e-06/0.2985, allocations: 0 / 1.015 GB, free: 4.648 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004511/0.3031, allocations: 1.72 MB / 1.017 GB, free: 2.84 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.14e-05/0.3031, allocations: 3.953 kB / 1.017 GB, free: 2.836 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000552/0.3037, allocations: 59.89 kB / 1.017 GB, free: 2.777 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001421/0.3051, allocations: 267.3 kB / 1.017 GB, free: 2.504 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.194e-05/0.3052, allocations: 12 kB / 1.017 GB, free: 2.492 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01011/0.3154, allocations: 6.681 MB / 1.024 GB, free: 11.27 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.213e-06/0.3154, allocations: 11.98 kB / 1.024 GB, free: 11.26 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002788/0.3182, allocations: 1.052 MB / 1.025 GB, free: 10.12 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005308/0.3188, allocations: 192.2 kB / 1.025 GB, free: 9.918 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001336/0.3189, allocations: 8 kB / 1.025 GB, free: 9.91 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006563/0.3196, allocations: 35.91 kB / 1.025 GB, free: 9.875 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001965/0.3198, allocations: 43.89 kB / 1.025 GB, free: 9.832 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.172e-05/0.3199, allocations: 12 kB / 1.025 GB, free: 9.82 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.000713/0.3206, allocations: 387.1 kB / 1.026 GB, free: 9.449 MB / 0.6511 GB Notification: Performance of sort global known variables: time 3.81e-07/0.3206, allocations: 4 kB / 1.026 GB, free: 9.445 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001302/0.3219, allocations: 227.9 kB / 1.026 GB, free: 9.223 MB / 0.6511 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.003734/0.3257, allocations: 2.014 MB / 1.028 GB, free: 7.129 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.003308/0.329, allocations: 1.275 MB / 1.029 GB, free: 5.805 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-05/0.3291, allocations: 4 kB / 1.029 GB, free: 5.801 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.002217/0.3313, allocations: 0.8893 MB / 1.03 GB, free: 4.859 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001554/0.3329, allocations: 192.8 kB / 1.03 GB, free: 4.672 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01285/0.3458, allocations: 8.927 MB / 1.039 GB, free: 11.53 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009248/0.3468, allocations: 1.032 MB / 1.04 GB, free: 10.46 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0008111/0.3476, allocations: 118 kB / 1.04 GB, free: 10.35 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000524/0.3482, allocations: 256.5 kB / 1.04 GB, free: 10.1 MB / 0.6667 GB Notification: Performance of SimCode: time 1.012e-06/0.3482, allocations: 0 / 1.04 GB, free: 10.1 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07069/0.4189, allocations: 16.32 MB / 1.056 GB, free: 10.11 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003443/0.4193, allocations: 232.2 kB / 1.056 GB, free: 9.855 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.126/3.546, allocations: 3.375 kB / 1.056 GB, free: 9.855 MB / 0.6823 GB (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R.fmu > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1)