Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.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_R,fileNamePrefix="Buildings_8_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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001123/0.001123, allocations: 108 kB / 15.6 MB, free: 132 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.001126/0.001126, allocations: 195.2 kB / 16.53 MB, free: 6.391 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.386/1.386, allocations: 205.1 MB / 222.4 MB, free: 4.574 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.724/1.724, allocations: 292.3 MB / 0.5489 GB, free: 12.82 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.001561/0.001561, allocations: 65.97 kB / 0.6716 GB, free: 26.29 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.24/0.2416, allocations: 114.5 MB / 0.7835 GB, free: 13.36 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.009504/0.2511, allocations: 6.751 MB / 0.7901 GB, free: 6.57 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.006055/0.2572, allocations: 3.087 MB / 0.7931 GB, free: 3.469 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008083/0.2581, allocations: 27.81 kB / 0.7931 GB, free: 3.441 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.002832/0.2609, allocations: 0.9413 MB / 0.794 GB, free: 2.496 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.00161/0.2625, allocations: 0.5129 MB / 0.7945 GB, free: 1.98 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001488/0.2641, allocations: 450.6 kB / 0.795 GB, free: 1.543 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.002143/0.2662, allocations: 1.224 MB / 0.7962 GB, free: 324 kB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001475/0.2677, allocations: 0.6625 MB / 0.7968 GB, free: 15.64 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00109/0.2688, allocations: 466.4 kB / 0.7973 GB, free: 15.19 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001142/0.27, allocations: 0.5214 MB / 0.7978 GB, free: 14.66 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0002526/0.2702, allocations: 71.94 kB / 0.7978 GB, free: 14.59 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001093/0.2714, allocations: 379.3 kB / 0.7982 GB, free: 14.22 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0005434/0.2719, allocations: 311.2 kB / 0.7985 GB, free: 13.92 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0009443/0.2729, allocations: 453.7 kB / 0.7989 GB, free: 13.47 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.00195/0.2748, allocations: 1.203 MB / 0.8001 GB, free: 12.27 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 7.845e-06/0.2748, allocations: 0 / 0.8001 GB, free: 12.27 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.665e-06/0.2749, allocations: 0 / 0.8001 GB, free: 12.27 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 5.313e-05/0.2749, allocations: 4 kB / 0.8001 GB, free: 12.26 MB / 0.6231 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.002843/0.2778, allocations: 1.165 MB / 0.8012 GB, free: 11.04 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.424e-05/0.2778, allocations: 8.031 kB / 0.8013 GB, free: 11.04 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001542/0.278, allocations: 126.6 kB / 0.8014 GB, free: 10.9 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001688/0.2797, allocations: 239.6 kB / 0.8016 GB, free: 10.67 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001075/0.2808, allocations: 0.5569 MB / 0.8021 GB, free: 10.07 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.472e-05/0.2809, allocations: 45.67 kB / 0.8022 GB, free: 10.03 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001409/0.281, allocations: 68.36 kB / 0.8023 GB, free: 9.965 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001797/0.2828, allocations: 1.085 MB / 0.8033 GB, free: 8.777 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.593e-05/0.2829, allocations: 7.938 kB / 0.8033 GB, free: 8.77 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.656e-05/0.2829, allocations: 31.98 kB / 0.8034 GB, free: 8.738 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001636/0.2831, allocations: 85.25 kB / 0.8034 GB, free: 8.652 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001103/0.2842, allocations: 0.7542 MB / 0.8042 GB, free: 7.895 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005371/0.2896, allocations: 5.889 MB / 0.8099 GB, free: 1.578 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009562/0.2906, allocations: 0.5661 MB / 0.8105 GB, free: 1 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004239/0.291, allocations: 326 kB / 0.8108 GB, free: 0.6797 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 3.131e-05/0.2911, allocations: 8.422 kB / 0.8108 GB, free: 0.6719 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.999e-05/0.2911, allocations: 47 kB / 0.8108 GB, free: 0.6172 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=47): time 2.385e-06/0.2911, allocations: 0 / 0.8108 GB, free: 0.6172 MB / 0.6231 GB Notification: Performance of matching and sorting (n=48): time 0.003867/0.295, allocations: 1.982 MB / 0.8128 GB, free: 14.54 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.921e-05/0.295, allocations: 59.84 kB / 0.8128 GB, free: 14.47 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006199/0.2957, allocations: 0.5626 MB / 0.8134 GB, free: 13.9 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 3.973e-05/0.2957, allocations: 37.7 kB / 0.8134 GB, free: 13.86 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002789/0.296, allocations: 410.9 kB / 0.8138 GB, free: 13.45 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001311/0.2961, allocations: 173.6 kB / 0.814 GB, free: 13.27 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001843/0.2963, allocations: 122.5 kB / 0.8141 GB, free: 13.15 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001592/0.2965, allocations: 378.7 kB / 0.8145 GB, free: 12.77 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003877/0.2969, allocations: 273.8 kB / 0.8147 GB, free: 12.5 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005488/0.2975, allocations: 0.4931 MB / 0.8152 GB, free: 11.91 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009833/0.2984, allocations: 0.8093 MB / 0.816 GB, free: 11.01 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.731e-06/0.2985, allocations: 4 kB / 0.816 GB, free: 11.01 MB / 0.6387 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001916/0.3004, allocations: 1.091 MB / 0.8171 GB, free: 9.895 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.42e-05/0.3004, allocations: 8 kB / 0.8171 GB, free: 9.887 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.574e-05/0.3004, allocations: 11.98 kB / 0.8171 GB, free: 9.875 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008902/0.3013, allocations: 279.6 kB / 0.8173 GB, free: 9.59 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005054/0.3019, allocations: 127.8 kB / 0.8175 GB, free: 9.465 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007189/0.3091, allocations: 7.133 MB / 0.8244 GB, free: 1.766 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000668/0.3098, allocations: 39.97 kB / 0.8245 GB, free: 1.727 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.701e-05/0.3098, allocations: 28 kB / 0.8245 GB, free: 1.699 MB / 0.6387 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 (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,6,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003478/0.3102, allocations: 260.6 kB / 0.8247 GB, free: 1.438 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001108/0.3103, allocations: 75.16 kB / 0.8248 GB, free: 1.363 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001542/0.3118, allocations: 0.8886 MB / 0.8257 GB, free: 464 kB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.323e-06/0.3119, allocations: 8 kB / 0.8257 GB, free: 456 kB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.3119, allocations: 7.938 kB / 0.8257 GB, free: 448 kB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.803e-06/0.3119, allocations: 3.984 kB / 0.8257 GB, free: 444 kB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002609/0.3145, allocations: 1.721 MB / 0.8274 GB, free: 14.62 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.247e-06/0.3145, allocations: 11.94 kB / 0.8274 GB, free: 14.61 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002669/0.3148, allocations: 59.89 kB / 0.8274 GB, free: 14.55 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007703/0.3156, allocations: 267.4 kB / 0.8277 GB, free: 14.27 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.204e-05/0.3156, allocations: 8 kB / 0.8277 GB, free: 14.27 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006907/0.3225, allocations: 7.127 MB / 0.8347 GB, free: 6.582 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.3226, allocations: 0 / 0.8347 GB, free: 6.582 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001847/0.3244, allocations: 0.9954 MB / 0.8356 GB, free: 5.543 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003813/0.3248, allocations: 196.1 kB / 0.8358 GB, free: 5.332 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.851e-05/0.3249, allocations: 15.92 kB / 0.8358 GB, free: 5.316 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003713/0.3253, allocations: 31.97 kB / 0.8359 GB, free: 5.285 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001586/0.3255, allocations: 35.95 kB / 0.8359 GB, free: 5.25 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.075e-05/0.3255, allocations: 19.98 kB / 0.8359 GB, free: 5.23 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0004325/0.3259, allocations: 395.1 kB / 0.8363 GB, free: 4.848 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.326, allocations: 0 / 0.8363 GB, free: 4.848 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0007814/0.3267, allocations: 220 kB / 0.8365 GB, free: 4.633 MB / 0.6544 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 (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001784/0.3285, allocations: 1.54 MB / 0.838 GB, free: 3.031 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.002156/0.3307, allocations: 1.338 MB / 0.8393 GB, free: 1.641 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.629e-06/0.3307, allocations: 4.062 kB / 0.8393 GB, free: 1.637 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.00131/0.332, allocations: 0.8815 MB / 0.8402 GB, free: 0.7031 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001162/0.3332, allocations: 226.6 kB / 0.8404 GB, free: 500 kB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008983/0.3422, allocations: 6.565 MB / 0.8468 GB, free: 9.59 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006913/0.3429, allocations: 1.013 MB / 0.8478 GB, free: 8.551 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0004811/0.3434, allocations: 122 kB / 0.8479 GB, free: 8.43 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003016/0.3437, allocations: 251.3 kB / 0.8482 GB, free: 8.184 MB / 0.67 GB Notification: Performance of SimCode: time 1.773e-06/0.3438, allocations: 0 / 0.8482 GB, free: 8.184 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6161/0.9599, allocations: 17.26 MB / 0.865 GB, free: 7.238 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.18/11.14, allocations: 3.75 kB / 0.865 GB, free: 7.234 MB / 0.6856 GB (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1)