Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.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_L,fileNamePrefix="Buildings_8_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_8_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001323/0.001323, allocations: 99.55 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001504/0.001504, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.579/1.579, allocations: 205.4 MB / 222.1 MB, free: 5.672 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 2.073/2.073, allocations: 292.6 MB / 0.5497 GB, free: 14.62 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.0007934/0.0007936, allocations: 11.25 kB / 0.6737 GB, free: 26.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2877/0.2885, allocations: 116.3 MB / 0.7872 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L): time 0.01057/0.2992, allocations: 5.274 MB / 0.7924 GB, free: 6.574 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.005426/0.3047, allocations: 3.019 MB / 0.7953 GB, free: 3.543 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008437/0.3056, allocations: 27.75 kB / 0.7954 GB, free: 3.516 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0004955/0.3061, allocations: 115.2 kB / 0.7955 GB, free: 3.402 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001246/0.3074, allocations: 350.9 kB / 0.7958 GB, free: 3.059 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001261/0.3087, allocations: 373.8 kB / 0.7962 GB, free: 2.695 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0009307/0.3096, allocations: 0.6492 MB / 0.7968 GB, free: 2.047 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001832/0.3115, allocations: 0.9065 MB / 0.7977 GB, free: 1.113 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005554/0.312, allocations: 326.8 kB / 0.798 GB, free: 0.793 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005177/0.3125, allocations: 354.6 kB / 0.7983 GB, free: 456 kB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 5.461e-05/0.3126, allocations: 32 kB / 0.7984 GB, free: 424 kB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004789/0.3131, allocations: 199.7 kB / 0.7986 GB, free: 224 kB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002156/0.3133, allocations: 235.3 kB / 0.7988 GB, free: 15.99 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0001403/0.3135, allocations: 157.3 kB / 0.7989 GB, free: 15.83 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0007774/0.3143, allocations: 0.8456 MB / 0.7998 GB, free: 14.98 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.3143, allocations: 0 / 0.7998 GB, free: 14.98 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.202e-06/0.3143, allocations: 4 kB / 0.7998 GB, free: 14.98 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.26e-05/0.3143, allocations: 0 / 0.7998 GB, free: 14.98 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001579/0.3159, allocations: 0.9114 MB / 0.8007 GB, free: 14.01 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 5.31e-05/0.3159, allocations: 8.031 kB / 0.8007 GB, free: 14 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001738/0.3161, allocations: 118.5 kB / 0.8008 GB, free: 13.88 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001255/0.3174, allocations: 210.7 kB / 0.801 GB, free: 13.67 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008811/0.3183, allocations: 0.521 MB / 0.8015 GB, free: 13.11 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.882e-05/0.3183, allocations: 45.31 kB / 0.8015 GB, free: 13.07 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000106/0.3184, allocations: 63.98 kB / 0.8016 GB, free: 13.01 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001397/0.3198, allocations: 1.026 MB / 0.8026 GB, free: 11.87 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.812e-05/0.3199, allocations: 11.84 kB / 0.8026 GB, free: 11.86 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.274e-05/0.32, allocations: 24 kB / 0.8026 GB, free: 11.84 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.681e-05/0.3201, allocations: 73.27 kB / 0.8027 GB, free: 11.77 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009549/0.321, allocations: 0.684 MB / 0.8034 GB, free: 11.08 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004975/0.326, allocations: 5.764 MB / 0.809 GB, free: 4.891 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008319/0.3269, allocations: 0.6152 MB / 0.8096 GB, free: 4.234 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 2.803e-05/0.3269, allocations: 4 kB / 0.8096 GB, free: 4.23 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.531e-05/0.3269, allocations: 34.56 kB / 0.8096 GB, free: 4.188 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=41): time 2.495e-06/0.3269, allocations: 0 / 0.8096 GB, free: 4.188 MB / 0.6231 GB Notification: Performance of matching and sorting (n=42): time 0.003745/0.3307, allocations: 1.894 MB / 0.8115 GB, free: 2.199 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.427e-05/0.3307, allocations: 59.41 kB / 0.8115 GB, free: 2.129 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004384/0.3312, allocations: 462.8 kB / 0.812 GB, free: 1.668 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.755e-05/0.3312, allocations: 37.64 kB / 0.812 GB, free: 1.625 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.000232/0.3315, allocations: 387 kB / 0.8124 GB, free: 1.242 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001049/0.3316, allocations: 153.8 kB / 0.8125 GB, free: 1.09 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.629e-05/0.3316, allocations: 16 kB / 0.8125 GB, free: 1.074 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001532/0.3318, allocations: 358.8 kB / 0.8129 GB, free: 0.7148 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000323/0.3321, allocations: 233.2 kB / 0.8131 GB, free: 500 kB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005349/0.3326, allocations: 449 kB / 0.8135 GB, free: 15.95 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000407/0.3331, allocations: 291.8 kB / 0.8138 GB, free: 15.67 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.3331, allocations: 0 / 0.8138 GB, free: 15.67 MB / 0.6387 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001721/0.3348, allocations: 0.9803 MB / 0.8148 GB, free: 14.67 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.243e-05/0.3348, allocations: 8 kB / 0.8148 GB, free: 14.66 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.611e-05/0.3349, allocations: 16.05 kB / 0.8148 GB, free: 14.64 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008748/0.3357, allocations: 267.1 kB / 0.815 GB, free: 14.37 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003805/0.3361, allocations: 103.8 kB / 0.8151 GB, free: 14.27 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007116/0.3433, allocations: 6.736 MB / 0.8217 GB, free: 6.992 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006421/0.344, allocations: 39.91 kB / 0.8218 GB, free: 6.953 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.982e-05/0.344, allocations: 28.08 kB / 0.8218 GB, free: 6.926 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 (55): * Single equations (assignments): 51 * 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,(1,100.0%) 5,(1,100.0%) 3,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004142/0.3444, allocations: 250.3 kB / 0.822 GB, free: 6.672 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.289e-05/0.3445, allocations: 63.2 kB / 0.8221 GB, free: 6.609 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001518/0.3461, allocations: 0.8222 MB / 0.8229 GB, free: 5.766 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.942e-06/0.3461, allocations: 4 kB / 0.8229 GB, free: 5.762 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/0.3461, allocations: 4 kB / 0.8229 GB, free: 5.758 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.3461, allocations: 0 / 0.8229 GB, free: 5.758 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002714/0.3488, allocations: 1.734 MB / 0.8246 GB, free: 3.91 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.958e-06/0.3488, allocations: 0 / 0.8246 GB, free: 3.91 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002286/0.3491, allocations: 47.91 kB / 0.8246 GB, free: 3.863 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000751/0.3498, allocations: 251.3 kB / 0.8249 GB, free: 3.605 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.818e-05/0.3499, allocations: 8 kB / 0.8249 GB, free: 3.598 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005705/0.3556, allocations: 6.448 MB / 0.8312 GB, free: 12.62 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/0.3556, allocations: 4.406 kB / 0.8312 GB, free: 12.61 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001503/0.3571, allocations: 0.9781 MB / 0.8321 GB, free: 11.55 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002474/0.3574, allocations: 172.3 kB / 0.8323 GB, free: 11.36 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.856e-05/0.3575, allocations: 12 kB / 0.8323 GB, free: 11.35 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002608/0.3577, allocations: 23.97 kB / 0.8323 GB, free: 11.33 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.514e-05/0.3578, allocations: 43.89 kB / 0.8324 GB, free: 11.29 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.596e-05/0.3579, allocations: 12 kB / 0.8324 GB, free: 11.27 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0003291/0.3582, allocations: 306.9 kB / 0.8327 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3582, allocations: 0 / 0.8327 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0007965/0.359, allocations: 188 kB / 0.8329 GB, free: 10.79 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 (27): * Single equations (assignments): 23 * 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,(1,100.0%) 3,(1,100.0%) 5,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001884/0.3609, allocations: 1.936 MB / 0.8348 GB, free: 8.773 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.00178/0.3627, allocations: 1.145 MB / 0.8359 GB, free: 7.578 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.3627, allocations: 0 / 0.8359 GB, free: 7.578 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0009826/0.3637, allocations: 0.788 MB / 0.8366 GB, free: 6.738 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008094/0.3645, allocations: 180.2 kB / 0.8368 GB, free: 6.57 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007486/0.372, allocations: 8.441 MB / 0.8451 GB, free: 13.92 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006264/0.3727, allocations: 1.004 MB / 0.846 GB, free: 12.89 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0003498/0.3731, allocations: 105.2 kB / 0.8461 GB, free: 12.79 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002696/0.3733, allocations: 227.4 kB / 0.8464 GB, free: 12.56 MB / 0.67 GB Notification: Performance of SimCode: time 9.51e-07/0.3733, allocations: 0 / 0.8464 GB, free: 12.56 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02813/0.4015, allocations: 14 MB / 0.86 GB, free: 14.86 MB / 0.6856 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002218/0.4017, allocations: 232.5 kB / 0.8603 GB, free: 14.61 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.092/2.494, allocations: 0 / 0.8603 GB, free: 14.61 MB / 0.6856 GB (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe 2>&1) Environment - environmentSimulation: