Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.OnePhase.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.OnePhase.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_OnePhase_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.001185/0.001185, allocations: 87.11 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.001797/0.001798, 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.587/1.587, allocations: 205.4 MB / 222.1 MB, free: 5.348 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.785/1.785, allocations: 292.7 MB / 0.5499 GB, free: 14.56 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.0004742/0.0004742, allocations: 16.19 kB / 0.6738 GB, free: 26.21 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2381/0.2385, allocations: 116.3 MB / 0.7874 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.007172/0.2458, allocations: 5.959 MB / 0.7932 GB, free: 5.871 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.004711/0.2505, allocations: 2.886 MB / 0.7961 GB, free: 2.973 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006877/0.2512, allocations: 23.81 kB / 0.7961 GB, free: 2.949 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0004829/0.2517, allocations: 138.8 kB / 0.7962 GB, free: 2.812 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001245/0.253, allocations: 413.7 kB / 0.7966 GB, free: 2.406 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009951/0.254, allocations: 325.9 kB / 0.7969 GB, free: 2.09 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001589/0.2556, allocations: 1.322 MB / 0.7982 GB, free: 0.7656 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001736/0.2573, allocations: 0.925 MB / 0.7991 GB, free: 15.81 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007049/0.2581, allocations: 390.4 kB / 0.7995 GB, free: 15.43 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007381/0.2588, allocations: 482.2 kB / 0.7999 GB, free: 14.96 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 7.29e-05/0.2589, allocations: 32 kB / 0.8 GB, free: 14.93 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004627/0.2594, allocations: 191.7 kB / 0.8002 GB, free: 14.74 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0002558/0.2596, allocations: 279.2 kB / 0.8004 GB, free: 14.46 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0001714/0.2598, allocations: 173.3 kB / 0.8006 GB, free: 14.29 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0008085/0.2606, allocations: 0.9041 MB / 0.8015 GB, free: 13.38 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/0.2606, allocations: 0 / 0.8015 GB, free: 13.38 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.563e-06/0.2606, allocations: 0 / 0.8015 GB, free: 13.38 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.097e-05/0.2607, allocations: 0 / 0.8015 GB, free: 13.38 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.001633/0.2623, allocations: 1.013 MB / 0.8025 GB, free: 12.32 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.406e-05/0.2624, allocations: 8.031 kB / 0.8025 GB, free: 12.31 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001496/0.2625, allocations: 126.5 kB / 0.8026 GB, free: 12.18 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001443/0.264, allocations: 234.6 kB / 0.8028 GB, free: 11.95 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007959/0.2648, allocations: 0.5327 MB / 0.8033 GB, free: 11.38 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.342e-05/0.2648, allocations: 49.3 kB / 0.8034 GB, free: 11.33 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001067/0.2649, allocations: 67.89 kB / 0.8034 GB, free: 11.26 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001449/0.2664, allocations: 1.073 MB / 0.8045 GB, free: 10.08 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.709e-05/0.2664, allocations: 7.938 kB / 0.8045 GB, free: 10.07 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.92e-05/0.2665, allocations: 31.98 kB / 0.8045 GB, free: 10.04 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001386/0.2666, allocations: 89.25 kB / 0.8046 GB, free: 9.953 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001116/0.2678, allocations: 0.7426 MB / 0.8053 GB, free: 9.211 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005284/0.2731, allocations: 5.893 MB / 0.8111 GB, free: 2.891 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009639/0.274, allocations: 0.5578 MB / 0.8116 GB, free: 2.32 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004291/0.2745, allocations: 326 kB / 0.8119 GB, free: 2 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 3.668e-05/0.2745, allocations: 8.422 kB / 0.812 GB, free: 1.992 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.933e-05/0.2746, allocations: 35 kB / 0.812 GB, free: 1.949 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=47): time 3.357e-06/0.2746, allocations: 11.94 kB / 0.812 GB, free: 1.938 MB / 0.6231 GB Notification: Performance of matching and sorting (n=48): time 0.003672/0.2783, allocations: 1.986 MB / 0.8139 GB, free: 15.86 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.672e-05/0.2783, allocations: 55.84 kB / 0.814 GB, free: 15.79 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005822/0.2789, allocations: 0.5546 MB / 0.8145 GB, free: 15.23 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 4.389e-05/0.279, allocations: 41.7 kB / 0.8146 GB, free: 15.18 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002572/0.2792, allocations: 410.9 kB / 0.815 GB, free: 14.77 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.000134/0.2794, allocations: 173.6 kB / 0.8151 GB, free: 14.6 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.171e-05/0.2794, allocations: 8 kB / 0.8151 GB, free: 14.59 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.000163/0.2796, allocations: 374.8 kB / 0.8155 GB, free: 14.21 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003884/0.28, allocations: 273.8 kB / 0.8158 GB, free: 13.95 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005094/0.2805, allocations: 496.9 kB / 0.8162 GB, free: 13.37 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004891/0.281, allocations: 350 kB / 0.8166 GB, free: 13.03 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.035e-06/0.281, allocations: 0 / 0.8166 GB, free: 13.03 MB / 0.6387 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001677/0.2827, allocations: 1.079 MB / 0.8176 GB, free: 11.93 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.047e-05/0.2827, allocations: 8 kB / 0.8176 GB, free: 11.92 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.12e-05/0.2827, allocations: 8 kB / 0.8176 GB, free: 11.91 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007824/0.2835, allocations: 279.6 kB / 0.8179 GB, free: 11.63 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004532/0.284, allocations: 127.7 kB / 0.818 GB, free: 11.5 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005767/0.2897, allocations: 6.603 MB / 0.8245 GB, free: 4.359 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005348/0.2903, allocations: 48.02 kB / 0.8245 GB, free: 4.312 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.39e-05/0.2904, allocations: 24 kB / 0.8245 GB, free: 4.289 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.0003392/0.2907, allocations: 249.6 kB / 0.8248 GB, free: 4.035 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000103/0.2908, allocations: 67.25 kB / 0.8248 GB, free: 3.969 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001484/0.2923, allocations: 0.8885 MB / 0.8257 GB, free: 3.062 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.2923, allocations: 4 kB / 0.8257 GB, free: 3.059 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.2923, allocations: 4 kB / 0.8257 GB, free: 3.055 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.704e-06/0.2923, allocations: 3.984 kB / 0.8257 GB, free: 3.051 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002474/0.2948, allocations: 1.713 MB / 0.8274 GB, free: 1.25 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.2948, allocations: 0 / 0.8274 GB, free: 1.25 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002585/0.2951, allocations: 72.02 kB / 0.8275 GB, free: 1.18 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007505/0.2959, allocations: 263.2 kB / 0.8277 GB, free: 0.9102 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.041e-05/0.2959, allocations: 12 kB / 0.8277 GB, free: 0.8984 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006411/0.3023, allocations: 6.58 MB / 0.8341 GB, free: 9.789 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.3024, allocations: 3.938 kB / 0.8342 GB, free: 9.785 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001774/0.3042, allocations: 0.9801 MB / 0.8351 GB, free: 8.758 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003464/0.3045, allocations: 192.2 kB / 0.8353 GB, free: 8.551 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.395e-05/0.3046, allocations: 19.98 kB / 0.8353 GB, free: 8.531 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003513/0.305, allocations: 31.97 kB / 0.8353 GB, free: 8.5 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001124/0.3051, allocations: 43.83 kB / 0.8354 GB, free: 8.457 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.195e-05/0.3051, allocations: 16 kB / 0.8354 GB, free: 8.441 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0004475/0.3056, allocations: 379.1 kB / 0.8358 GB, free: 8.074 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3056, allocations: 0 / 0.8358 GB, free: 8.074 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0008303/0.3064, allocations: 228 kB / 0.836 GB, free: 7.852 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.001855/0.3083, allocations: 1.532 MB / 0.8375 GB, free: 6.262 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.002163/0.3105, allocations: 1.272 MB / 0.8387 GB, free: 4.938 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 7.214e-06/0.3105, allocations: 0 / 0.8387 GB, free: 4.938 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001237/0.3117, allocations: 0.8932 MB / 0.8396 GB, free: 3.992 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001093/0.3128, allocations: 209.2 kB / 0.8398 GB, free: 3.789 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006891/0.3197, allocations: 4.384 MB / 0.8441 GB, free: 15.22 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007093/0.3205, allocations: 1.009 MB / 0.8451 GB, free: 14.18 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0004766/0.321, allocations: 126 kB / 0.8452 GB, free: 14.06 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003209/0.3213, allocations: 247.4 kB / 0.8454 GB, free: 13.82 MB / 0.67 GB Notification: Performance of SimCode: time 6.51e-07/0.3213, allocations: 0 / 0.8454 GB, free: 13.82 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03475/0.3561, allocations: 16.23 MB / 0.8613 GB, free: 13.89 MB / 0.6856 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002121/0.3563, allocations: 204.8 kB / 0.8615 GB, free: 13.66 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.103/2.459, allocations: 0 / 0.8615 GB, free: 13.66 MB / 0.6856 GB (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R.fmu > Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe 2>&1) Environment - environmentSimulation: