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.001065/0.001065, allocations: 87.03 kB / 15.06 MB, free: 1.09 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.001429/0.001429, allocations: 168.7 kB / 15.95 MB, free: 204 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.755/1.755, allocations: 205.4 MB / 222.1 MB, free: 5.641 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.826/1.826, allocations: 292.7 MB / 0.5499 GB, free: 14.54 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.0008111/0.0008112, allocations: 14.91 kB / 0.6738 GB, free: 26.3 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2824/0.2832, allocations: 116.3 MB / 0.7874 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.006787/0.29, allocations: 6.033 MB / 0.7933 GB, free: 5.785 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.004857/0.2949, allocations: 2.906 MB / 0.7961 GB, free: 2.867 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006957/0.2957, allocations: 23.88 kB / 0.7962 GB, free: 2.844 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0004655/0.2962, allocations: 134.8 kB / 0.7963 GB, free: 2.711 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001265/0.2974, allocations: 421.7 kB / 0.7967 GB, free: 2.297 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001235/0.2987, allocations: 331.3 kB / 0.797 GB, free: 1.973 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001506/0.3002, allocations: 1.322 MB / 0.7983 GB, free: 0.6484 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001802/0.302, allocations: 0.9432 MB / 0.7992 GB, free: 15.68 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006328/0.3027, allocations: 394.4 kB / 0.7996 GB, free: 15.29 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000664/0.3033, allocations: 482.2 kB / 0.8001 GB, free: 14.82 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 7.506e-05/0.3034, allocations: 40 kB / 0.8001 GB, free: 14.78 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005845/0.304, allocations: 191.6 kB / 0.8003 GB, free: 14.59 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0002822/0.3043, allocations: 267.2 kB / 0.8005 GB, free: 14.33 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.000188/0.3045, allocations: 181.3 kB / 0.8007 GB, free: 14.15 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0009502/0.3055, allocations: 0.9041 MB / 0.8016 GB, free: 13.24 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 7.224e-06/0.3055, allocations: 0 / 0.8016 GB, free: 13.24 MB / 0.6231 GB Notification: Performance of FrontEnd: time 3.166e-06/0.3055, allocations: 0 / 0.8016 GB, free: 13.24 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.046e-05/0.3055, allocations: 0 / 0.8016 GB, free: 13.24 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.001776/0.3073, allocations: 1.016 MB / 0.8026 GB, free: 12.17 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 5.628e-05/0.3074, allocations: 8.031 kB / 0.8026 GB, free: 12.16 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001622/0.3075, allocations: 122.5 kB / 0.8027 GB, free: 12.04 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001436/0.309, allocations: 242.6 kB / 0.8029 GB, free: 11.8 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008598/0.3098, allocations: 0.5404 MB / 0.8035 GB, free: 11.22 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.296e-05/0.3099, allocations: 45.3 kB / 0.8035 GB, free: 11.18 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001078/0.31, allocations: 71.89 kB / 0.8036 GB, free: 11.11 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001595/0.3116, allocations: 1.069 MB / 0.8046 GB, free: 9.926 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.804e-05/0.3116, allocations: 7.938 kB / 0.8046 GB, free: 9.918 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.511e-05/0.3117, allocations: 35.98 kB / 0.8047 GB, free: 9.883 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000141/0.3119, allocations: 85.25 kB / 0.8047 GB, free: 9.797 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001097/0.313, allocations: 0.7426 MB / 0.8055 GB, free: 9.055 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005111/0.3181, allocations: 5.901 MB / 0.8112 GB, free: 2.727 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009551/0.3191, allocations: 0.5631 MB / 0.8118 GB, free: 2.148 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004234/0.3195, allocations: 326 kB / 0.8121 GB, free: 1.828 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 3.813e-05/0.3196, allocations: 8.438 kB / 0.8121 GB, free: 1.82 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.591e-05/0.3196, allocations: 43 kB / 0.8121 GB, free: 1.77 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=47): time 2.896e-06/0.3196, allocations: 0 / 0.8121 GB, free: 1.77 MB / 0.6231 GB Notification: Performance of matching and sorting (n=48): time 0.003618/0.3232, allocations: 1.986 MB / 0.8141 GB, free: 15.69 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.678e-05/0.3233, allocations: 59.78 kB / 0.8141 GB, free: 15.62 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006351/0.324, allocations: 0.5625 MB / 0.8147 GB, free: 15.05 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 3.821e-05/0.324, allocations: 33.7 kB / 0.8147 GB, free: 15.01 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002905/0.3243, allocations: 418.9 kB / 0.8151 GB, free: 14.59 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.000156/0.3245, allocations: 169.6 kB / 0.8153 GB, free: 14.43 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.295e-05/0.3245, allocations: 12 kB / 0.8153 GB, free: 14.41 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001988/0.3247, allocations: 378.7 kB / 0.8157 GB, free: 14.04 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003868/0.3251, allocations: 273.8 kB / 0.8159 GB, free: 13.77 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005384/0.3256, allocations: 496.9 kB / 0.8164 GB, free: 13.19 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004921/0.3261, allocations: 342 kB / 0.8167 GB, free: 12.86 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.3262, allocations: 4 kB / 0.8167 GB, free: 12.85 MB / 0.6387 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001711/0.3279, allocations: 1.083 MB / 0.8178 GB, free: 11.75 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.333e-05/0.3279, allocations: 8 kB / 0.8178 GB, free: 11.74 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.111e-05/0.3279, allocations: 4 kB / 0.8178 GB, free: 11.74 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007793/0.3287, allocations: 287.7 kB / 0.8181 GB, free: 11.45 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004321/0.3292, allocations: 119.8 kB / 0.8182 GB, free: 11.33 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00591/0.3351, allocations: 6.599 MB / 0.8246 GB, free: 4.188 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005838/0.3357, allocations: 47.94 kB / 0.8247 GB, free: 4.141 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.717e-05/0.3357, allocations: 28 kB / 0.8247 GB, free: 4.113 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 (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.0003959/0.3362, allocations: 250.2 kB / 0.8249 GB, free: 3.859 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001015/0.3363, allocations: 71.16 kB / 0.825 GB, free: 3.789 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001475/0.3377, allocations: 0.8848 MB / 0.8259 GB, free: 2.879 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.84e-06/0.3378, allocations: 4 kB / 0.8259 GB, free: 2.875 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.3378, allocations: 4 kB / 0.8259 GB, free: 2.871 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.094e-06/0.3378, allocations: 3.984 kB / 0.8259 GB, free: 2.867 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00242/0.3402, allocations: 1.713 MB / 0.8276 GB, free: 1.066 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.821e-06/0.3402, allocations: 8.031 kB / 0.8276 GB, free: 1.059 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002495/0.3405, allocations: 67.83 kB / 0.8276 GB, free: 0.9922 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006909/0.3412, allocations: 271.3 kB / 0.8279 GB, free: 0.7148 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.268e-05/0.3412, allocations: 8 kB / 0.8279 GB, free: 0.707 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006066/0.3473, allocations: 6.576 MB / 0.8343 GB, free: 9.602 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.509e-06/0.3473, allocations: 4.031 kB / 0.8343 GB, free: 9.598 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001582/0.3489, allocations: 0.9915 MB / 0.8353 GB, free: 8.559 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000288/0.3492, allocations: 192.2 kB / 0.8355 GB, free: 8.352 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.5e-05/0.3493, allocations: 11.98 kB / 0.8355 GB, free: 8.34 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003256/0.3496, allocations: 31.97 kB / 0.8355 GB, free: 8.309 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001003/0.3497, allocations: 39.91 kB / 0.8355 GB, free: 8.27 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.471e-05/0.3498, allocations: 19.98 kB / 0.8356 GB, free: 8.25 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0005031/0.3503, allocations: 387.1 kB / 0.8359 GB, free: 7.879 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.402e-06/0.3503, allocations: 0 / 0.8359 GB, free: 7.879 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0008493/0.3511, allocations: 223.9 kB / 0.8361 GB, free: 7.66 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 (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.001802/0.353, allocations: 1.536 MB / 0.8376 GB, free: 6.062 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.002041/0.355, allocations: 1.275 MB / 0.8389 GB, free: 4.734 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 5.27e-06/0.355, allocations: 4.125 kB / 0.8389 GB, free: 4.73 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001178/0.3562, allocations: 0.8815 MB / 0.8398 GB, free: 3.797 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001001/0.3572, allocations: 209.2 kB / 0.84 GB, free: 3.59 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006757/0.364, allocations: 4.416 MB / 0.8443 GB, free: 14.99 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007064/0.3647, allocations: 1.009 MB / 0.8453 GB, free: 13.95 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0004884/0.3652, allocations: 126 kB / 0.8454 GB, free: 13.83 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003081/0.3655, allocations: 251.4 kB / 0.8456 GB, free: 13.59 MB / 0.67 GB Notification: Performance of SimCode: time 1.562e-06/0.3655, allocations: 0 / 0.8456 GB, free: 13.59 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03154/0.3971, allocations: 16.34 MB / 0.8616 GB, free: 13.6 MB / 0.6856 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001769/0.3973, allocations: 234 kB / 0.8618 GB, free: 13.35 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.111/2.508, allocations: 0 / 0.8618 GB, free: 13.35 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/linux/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) Environment - environmentSimulation: