Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.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,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine",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.001614/0.001619, allocations: 105.4 kB / 15.7 MB, free: 24 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.002268/0.002268, allocations: 198.8 kB / 16.64 MB, free: 6.453 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.432/1.432, allocations: 205.1 MB / 222.5 MB, free: 4.539 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.779/1.779, allocations: 292.3 MB / 0.549 GB, free: 12.76 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.002691/0.002691, allocations: 68.7 kB / 0.6718 GB, free: 26.32 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3093/0.312, allocations: 114.5 MB / 0.7836 GB, free: 13.29 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.01667/0.3288, allocations: 13.92 MB / 0.7972 GB, free: 15.3 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01501/0.3438, allocations: 9.486 MB / 0.8065 GB, free: 5.789 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002222/0.3461, allocations: 59.62 kB / 0.8066 GB, free: 5.73 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.004474/0.3507, allocations: 1.671 MB / 0.8082 GB, free: 4.055 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.004963/0.3556, allocations: 1.539 MB / 0.8097 GB, free: 2.516 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002081/0.3577, allocations: 0.7596 MB / 0.8104 GB, free: 1.758 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.003791/0.3615, allocations: 2.516 MB / 0.8129 GB, free: 15.23 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001944/0.3635, allocations: 1.407 MB / 0.8143 GB, free: 13.79 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001718/0.3652, allocations: 1.043 MB / 0.8153 GB, free: 12.75 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001585/0.3668, allocations: 1.148 MB / 0.8164 GB, free: 11.59 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0002363/0.3671, allocations: 168 kB / 0.8166 GB, free: 11.43 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001537/0.3686, allocations: 0.7877 MB / 0.8173 GB, free: 10.64 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0005837/0.3692, allocations: 0.6194 MB / 0.8179 GB, free: 10.02 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001024/0.3702, allocations: 0.9407 MB / 0.8189 GB, free: 9.074 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.003227/0.3735, allocations: 2.757 MB / 0.8216 GB, free: 6.309 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.3735, allocations: 0 / 0.8216 GB, free: 6.309 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.923e-06/0.3735, allocations: 0 / 0.8216 GB, free: 6.309 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 2.665e-05/0.3735, allocations: 4 kB / 0.8216 GB, free: 6.305 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.003834/0.3774, allocations: 2.135 MB / 0.8236 GB, free: 4.113 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.912e-05/0.3774, allocations: 12.03 kB / 0.8237 GB, free: 4.102 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002382/0.3777, allocations: 198.3 kB / 0.8238 GB, free: 3.898 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01123/0.3889, allocations: 2.081 MB / 0.8259 GB, free: 1.812 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003011/0.392, allocations: 1.294 MB / 0.8271 GB, free: 472 kB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.659e-05/0.3921, allocations: 86.73 kB / 0.8272 GB, free: 384 kB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002587/0.3923, allocations: 119.9 kB / 0.8273 GB, free: 264 kB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005942/0.3983, allocations: 2.675 MB / 0.83 GB, free: 13.43 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.454e-05/0.3984, allocations: 11.92 kB / 0.83 GB, free: 13.42 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001635/0.3985, allocations: 59.92 kB / 0.83 GB, free: 13.36 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006522/0.3992, allocations: 182.1 kB / 0.8302 GB, free: 13.18 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007764/0.407, allocations: 2.795 MB / 0.8329 GB, free: 10.38 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01616/0.4232, allocations: 10.47 MB / 0.8431 GB, free: 15.32 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006945/0.4302, allocations: 2.528 MB / 0.8456 GB, free: 12.73 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003216/0.4334, allocations: 1.28 MB / 0.8469 GB, free: 11.45 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001029/0.4335, allocations: 16.98 kB / 0.8469 GB, free: 11.43 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.667e-05/0.4336, allocations: 39.56 kB / 0.8469 GB, free: 11.38 MB / 0.67 GB Notification: Performance of pre-optimization done (n=89): time 2.725e-06/0.4336, allocations: 4 kB / 0.8469 GB, free: 11.38 MB / 0.67 GB Notification: Performance of matching and sorting (n=131): time 0.047/0.4806, allocations: 13.35 MB / 0.86 GB, free: 13.8 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.187e-05/0.4807, allocations: 68.7 kB / 0.86 GB, free: 13.73 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002153/0.4829, allocations: 1.113 MB / 0.8611 GB, free: 12.6 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0003528/0.4833, allocations: 57.64 kB / 0.8612 GB, free: 12.54 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007999/0.4841, allocations: 0.7154 MB / 0.8619 GB, free: 11.82 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006256/0.4847, allocations: 449.5 kB / 0.8623 GB, free: 11.37 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006977/0.4854, allocations: 259.4 kB / 0.8625 GB, free: 11.11 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0002417/0.4857, allocations: 369.8 kB / 0.8629 GB, free: 10.75 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003616/0.4893, allocations: 1.343 MB / 0.8642 GB, free: 9.402 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00372/0.493, allocations: 1.6 MB / 0.8658 GB, free: 7.703 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007237/0.5003, allocations: 2.991 MB / 0.8687 GB, free: 4.617 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.624e-06/0.5003, allocations: 0 / 0.8687 GB, free: 4.617 MB / 0.6856 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.01169/0.512, allocations: 4.446 MB / 0.873 GB, free: 120 kB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.874e-05/0.5121, allocations: 8 kB / 0.873 GB, free: 112 kB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.777e-05/0.5121, allocations: 8 kB / 0.873 GB, free: 104 kB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005215/0.5174, allocations: 1.428 MB / 0.8744 GB, free: 14.63 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00202/0.5194, allocations: 439.2 kB / 0.8749 GB, free: 14.2 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0323/0.5517, allocations: 26.68 MB / 0.9009 GB, free: 1.688 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002688/0.5544, allocations: 311.5 kB / 0.9012 GB, free: 1.383 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003057/0.5548, allocations: 67.84 kB / 0.9013 GB, free: 1.316 MB / 0.7169 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 (99): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(2,4,100.0%), (1,1,100.0%), (2,4,100.0%), (3,9,100.0%), (1,1,100.0%), (1,1,100.0%), (3,9,100.0%), (3,9,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00116/0.5559, allocations: 436.4 kB / 0.9017 GB, free: 0.8828 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004733/0.5564, allocations: 162.1 kB / 0.9019 GB, free: 0.7227 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01193/0.5684, allocations: 4.449 MB / 0.9062 GB, free: 12.21 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.495e-05/0.5684, allocations: 12 kB / 0.9062 GB, free: 12.2 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.527e-05/0.5685, allocations: 16 kB / 0.9062 GB, free: 12.19 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.791e-05/0.5685, allocations: 7.969 kB / 0.9062 GB, free: 12.18 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01625/0.5848, allocations: 6.763 MB / 0.9128 GB, free: 5.25 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.852e-05/0.5848, allocations: 3.984 kB / 0.9128 GB, free: 5.246 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00204/0.5869, allocations: 383.7 kB / 0.9132 GB, free: 4.871 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004941/0.5918, allocations: 1.299 MB / 0.9145 GB, free: 3.531 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002916/0.5922, allocations: 51.89 kB / 0.9145 GB, free: 3.48 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4499/1.042, allocations: 25.47 MB / 0.9394 GB, free: 111.4 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.422e-06/1.042, allocations: 10.38 kB / 0.9394 GB, free: 111.4 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01064/1.053, allocations: 4.201 MB / 0.9435 GB, free: 110 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001027/1.054, allocations: 457 kB / 0.9439 GB, free: 109.8 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002716/1.054, allocations: 32.2 kB / 0.944 GB, free: 109.8 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002199/1.056, allocations: 310.4 kB / 0.9443 GB, free: 109.7 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005207/1.057, allocations: 122.8 kB / 0.9444 GB, free: 109.7 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001389/1.057, allocations: 48.53 kB / 0.9444 GB, free: 109.7 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0009676/1.058, allocations: 0.754 MB / 0.9452 GB, free: 109.4 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/1.058, allocations: 0 / 0.9452 GB, free: 109.4 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001971/1.06, allocations: 0.5749 MB / 0.9457 GB, free: 109.4 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (67): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (1,1,100.0%), (3,7,100.0%), (2,4,100.0%), (3,9,100.0%), (2,4,100.0%), (3,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01188/1.072, allocations: 4.791 MB / 0.9504 GB, free: 107.3 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0112/1.083, allocations: 5.141 MB / 0.9554 GB, free: 104.8 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 9.218e-06/1.083, allocations: 1.219 kB / 0.9554 GB, free: 104.8 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.006932/1.09, allocations: 3.485 MB / 0.9588 GB, free: 102.8 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00348/1.094, allocations: 0.5605 MB / 0.9594 GB, free: 102.6 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04445/1.138, allocations: 19.36 MB / 0.9783 GB, free: 92.92 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001471/1.14, allocations: 1.475 MB / 0.9797 GB, free: 91.86 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001719/1.141, allocations: 429.1 kB / 0.9801 GB, free: 91.65 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008578/1.142, allocations: 0.6311 MB / 0.9808 GB, free: 91.1 MB / 0.7325 GB Notification: Performance of SimCode: time 1.903e-06/1.142, allocations: 0 / 0.9808 GB, free: 91.1 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1277/1.27, allocations: 51.32 MB / 1.031 GB, free: 41.05 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.89/19.16, allocations: 6.875 kB / 1.031 GB, free: 41.05 MB / 0.7325 GB (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1)