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.577/2.577, allocations: 287.5 MB / 302.4 MB, free: 8.258 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.001382/0.001381, allocations: 182.5 kB / 371 MB, free: 10.86 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.282/2.282, allocations: 205.4 MB / 0.6297 GB, free: 10.51 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.0009888/0.0009886, allocations: 86.38 kB / 0.743 GB, free: 6.512 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004844/0.0004845, allocations: 15.75 kB / 0.8659 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2083/0.2088, allocations: 115.3 MB / 0.9785 GB, free: 28.27 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.008579/0.2174, allocations: 6.025 MB / 0.9843 GB, free: 22.22 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.006017/0.2235, allocations: 2.917 MB / 0.9872 GB, free: 19.29 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008371/0.2244, allocations: 23.81 kB / 0.9872 GB, free: 19.27 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0005996/0.225, allocations: 134.8 kB / 0.9873 GB, free: 19.13 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.001723/0.2268, allocations: 421.7 kB / 0.9877 GB, free: 18.72 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001492/0.2283, allocations: 336.3 kB / 0.9881 GB, free: 18.39 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.002048/0.2304, allocations: 1.322 MB / 0.9894 GB, free: 17.06 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002365/0.2328, allocations: 0.9383 MB / 0.9903 GB, free: 16.1 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008841/0.2337, allocations: 390.4 kB / 0.9906 GB, free: 15.72 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008602/0.2346, allocations: 486.2 kB / 0.9911 GB, free: 15.24 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0001678/0.2348, allocations: 36 kB / 0.9911 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008363/0.2356, allocations: 187.8 kB / 0.9913 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0003589/0.236, allocations: 267.2 kB / 0.9916 GB, free: 14.76 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0002631/0.2363, allocations: 181.3 kB / 0.9917 GB, free: 14.58 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.001298/0.2376, allocations: 0.9118 MB / 0.9926 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.803e-06/0.2376, allocations: 0 / 0.9926 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.114e-06/0.2376, allocations: 4 kB / 0.9926 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 2.035e-05/0.2377, allocations: 0 / 0.9926 GB, free: 13.66 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.002376/0.2401, allocations: 1.009 MB / 0.9936 GB, free: 12.6 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.428e-05/0.2401, allocations: 12.02 kB / 0.9936 GB, free: 12.59 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000246/0.2404, allocations: 130.5 kB / 0.9938 GB, free: 12.45 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002328/0.2427, allocations: 238.6 kB / 0.994 GB, free: 12.22 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001324/0.2441, allocations: 0.5327 MB / 0.9945 GB, free: 11.64 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.03e-05/0.2442, allocations: 57.23 kB / 0.9946 GB, free: 11.59 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001476/0.2443, allocations: 67.88 kB / 0.9946 GB, free: 11.52 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00206/0.2464, allocations: 1.073 MB / 0.9957 GB, free: 10.34 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.093e-05/0.2465, allocations: 7.938 kB / 0.9957 GB, free: 10.33 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001082/0.2466, allocations: 31.98 kB / 0.9957 GB, free: 10.3 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000229/0.2469, allocations: 85.25 kB / 0.9958 GB, free: 10.22 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001836/0.2487, allocations: 0.7542 MB / 0.9965 GB, free: 9.461 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006985/0.2557, allocations: 5.894 MB / 1.002 GB, free: 3.141 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001483/0.2573, allocations: 0.5514 MB / 1.003 GB, free: 2.574 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006478/0.2579, allocations: 330 kB / 1.003 GB, free: 2.25 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 6.083e-05/0.258, allocations: 4.438 kB / 1.003 GB, free: 2.246 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.551e-05/0.2581, allocations: 42.94 kB / 1.003 GB, free: 2.195 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=47): time 3.437e-06/0.2581, allocations: 0 / 1.003 GB, free: 2.195 MB / 0.6198 GB Notification: Performance of matching and sorting (n=48): time 0.005893/0.264, allocations: 1.99 MB / 1.005 GB, free: 116 kB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.351e-05/0.264, allocations: 55.84 kB / 1.005 GB, free: 48 kB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001034/0.2651, allocations: 0.5587 MB / 1.006 GB, free: 15.48 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0001164/0.2652, allocations: 41.69 kB / 1.006 GB, free: 15.43 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003952/0.2656, allocations: 410.9 kB / 1.006 GB, free: 15.02 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002318/0.2659, allocations: 173.5 kB / 1.006 GB, free: 14.86 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.742e-05/0.266, allocations: 15.94 kB / 1.006 GB, free: 14.84 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0002049/0.2662, allocations: 374.8 kB / 1.007 GB, free: 14.46 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007426/0.2669, allocations: 277.8 kB / 1.007 GB, free: 14.2 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009402/0.2679, allocations: 485 kB / 1.007 GB, free: 13.62 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009228/0.2688, allocations: 354 kB / 1.008 GB, free: 13.29 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.326e-06/0.2689, allocations: 0 / 1.008 GB, free: 13.29 MB / 0.6355 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.003291/0.2722, allocations: 1.083 MB / 1.009 GB, free: 12.18 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.507e-05/0.2722, allocations: 8.125 kB / 1.009 GB, free: 12.17 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.947e-05/0.2723, allocations: 11.98 kB / 1.009 GB, free: 12.16 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001484/0.2738, allocations: 287.1 kB / 1.009 GB, free: 11.87 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009705/0.2748, allocations: 119.8 kB / 1.009 GB, free: 11.75 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01005/0.2849, allocations: 6.583 MB / 1.016 GB, free: 4.629 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00101/0.2859, allocations: 47.95 kB / 1.016 GB, free: 4.582 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.977e-05/0.286, allocations: 28 kB / 1.016 GB, free: 4.555 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.0005558/0.2866, allocations: 249.7 kB / 1.016 GB, free: 4.301 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000199/0.2868, allocations: 71.16 kB / 1.016 GB, free: 4.23 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002759/0.2896, allocations: 0.8964 MB / 1.017 GB, free: 3.305 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.657e-05/0.2896, allocations: 12 kB / 1.017 GB, free: 3.293 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.216e-05/0.2897, allocations: 4 kB / 1.017 GB, free: 3.289 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.347e-05/0.2897, allocations: 3.984 kB / 1.017 GB, free: 3.285 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004647/0.2943, allocations: 1.713 MB / 1.019 GB, free: 1.484 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-05/0.2944, allocations: 4 kB / 1.019 GB, free: 1.48 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005351/0.295, allocations: 63.88 kB / 1.019 GB, free: 1.418 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001404/0.2964, allocations: 263.6 kB / 1.019 GB, free: 1.148 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.676e-05/0.2965, allocations: 8 kB / 1.019 GB, free: 1.141 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009967/0.3065, allocations: 6.587 MB / 1.025 GB, free: 10.02 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.172e-06/0.3065, allocations: 4.031 kB / 1.025 GB, free: 10.01 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002741/0.3093, allocations: 0.9834 MB / 1.026 GB, free: 8.98 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005051/0.3098, allocations: 192.1 kB / 1.027 GB, free: 8.773 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001419/0.31, allocations: 15.98 kB / 1.027 GB, free: 8.758 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006196/0.3106, allocations: 31.92 kB / 1.027 GB, free: 8.727 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001644/0.3108, allocations: 43.94 kB / 1.027 GB, free: 8.684 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.854e-05/0.3109, allocations: 16.19 kB / 1.027 GB, free: 8.668 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0007197/0.3116, allocations: 383.1 kB / 1.027 GB, free: 8.301 MB / 0.6511 GB Notification: Performance of sort global known variables: time 5.51e-07/0.3116, allocations: 0 / 1.027 GB, free: 8.301 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001232/0.3128, allocations: 220 kB / 1.027 GB, free: 8.086 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.003096/0.316, allocations: 1.54 MB / 1.029 GB, free: 6.488 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.003333/0.3193, allocations: 1.275 MB / 1.03 GB, free: 5.168 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 8.025e-06/0.3194, allocations: 0 / 1.03 GB, free: 5.168 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.002124/0.3215, allocations: 0.8855 MB / 1.031 GB, free: 4.23 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001848/0.3234, allocations: 206.2 kB / 1.031 GB, free: 4.031 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01119/0.3347, allocations: 4.432 MB / 1.035 GB, free: 15.41 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009581/0.3357, allocations: 1.009 MB / 1.036 GB, free: 14.38 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0007931/0.3365, allocations: 126 kB / 1.036 GB, free: 14.25 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005133/0.337, allocations: 251.9 kB / 1.037 GB, free: 14.01 MB / 0.6667 GB Notification: Performance of SimCode: time 9.21e-07/0.337, allocations: 0 / 1.037 GB, free: 14.01 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06009/0.3971, allocations: 16.35 MB / 1.053 GB, free: 13.99 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002652/0.3975, allocations: 226 kB / 1.053 GB, free: 13.75 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.151/3.549, allocations: 0 / 1.053 GB, free: 13.75 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)